473,387 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

multi line list box

Hi
I want to make a multi Line List Box. This list box will have multiple
lines for one item and this list box have all other functions like the
single line list box. Can any body help me its urgant

Sep 25 '06 #1
3 2966
Muhammed,

Assuming that you mean a multi column listbox (there is already a multiline
listbox as every listbox is that), I advice you to take a DataGrid or a
DataGridView and remove all the headers from that.

Than you have a very nice multicolumn listbox.

I hope this helps,

Cor

"Muhammad Ahsin Saleem" <ah**********@gmail.comschreef in bericht
news:11**********************@k70g2000cwa.googlegr oups.com...
Hi
I want to make a multi Line List Box. This list box will have multiple
lines for one item and this list box have all other functions like the
single line list box. Can any body help me its urgant

Sep 25 '06 #2
thanks cor but it is still not clear to my what do you mean i need a
multiline listbox not a multi colums. if you could tell me any code
related to it then it will be fine for me.

Cor Ligthert [MVP] wrote:
Muhammed,

Assuming that you mean a multi column listbox (there is already a multiline
listbox as every listbox is that), I advice you to take a DataGrid or a
DataGridView and remove all the headers from that.

Than you have a very nice multicolumn listbox.

I hope this helps,

Cor

"Muhammad Ahsin Saleem" <ah**********@gmail.comschreef in bericht
news:11**********************@k70g2000cwa.googlegr oups.com...
Hi
I want to make a multi Line List Box. This list box will have multiple
lines for one item and this list box have all other functions like the
single line list box. Can any body help me its urgant
Sep 25 '06 #3
"Muhammad Ahsin Saleem" <ah**********@gmail.comschrieb:
I want to make a multi Line List Box. This list box will have multiple
lines for one item and this list box have all other functions like the
single line list box. Can any body help me its urgant
Check out the listbox' 'DrawMode' property and its 'DrawItem' and
'MeasureItem' events.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Sep 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Zaharije Pasalic | last post by:
I tried to implement multi-data list with a reference instead of pointer to data, but code compiled with gcc perform "segmentation fault". Generated code from other compilers: Borland C++ 5.0 and...
3
by: stax | last post by:
Hello, can somebody tell me how to serialize/deserialize a object containing a multi line string using the XmlSerializer class. One of the both windows linefeed chars get dumped somewhere down...
6
by: CindyH | last post by:
Hi Does anyone know how to create a multi column combo box from the same table? Thanks, Cindy
5
by: dkelly925 | last post by:
Is there a way to add an If Statement to the following code so if data in a field equals "x" it will launch one report and if it equals "y" it would open another report. Anyone know how to modify...
23
by: Kaz Kylheku | last post by:
I've been reading the recent cross-posted flamewar, and read Guido's article where he posits that embedding multi-line lambdas in expressions is an unsolvable puzzle. So for the last 15 minutes...
4
by: John | last post by:
Hello All, Can someone help me with a problem I am having? I have a form which has a multi-select list where the user can select more than one company name from a list and I need to pass those...
17
by: trose178 | last post by:
Good day all, I am working on a multi-select list box for a standard question checklist database and I am running into a syntax error in the code that I cannot seem to correct. I will also note...
12
by: micarl | last post by:
How would i print a report based on criteria selected from several Combo Boxes as well as multiple Multi Select List Boxes, that are located on the same form? I can get one Multi List Box, just...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.