469,934 Members | 1,882 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

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 2786
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Zaharije Pasalic | last post: by
6 posts views Thread by CindyH | last post: by
23 posts views Thread by Kaz Kylheku | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.