![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need some control that basically acts as a listbox, but allows each item to take up more then one line. I've tried adding a new item and putting in a vbCrLf in there, but that just comes out as a box on the same line. Is there some way of making the listbox show multiple lines for each item, or is there another control (3rd party maybe) that will let me do this? |
#3
| |||
| |||
|
|
* Max <maximkh (AT) yahoo (DOT) com> scripsit: I need some control that basically acts as a listbox, but allows each item to take up more then one line. I've tried adding a new item and putting in a vbCrLf in there, but that just comes out as a box on the same line. Is there some way of making the listbox show multiple lines for each item, or is there another control (3rd party maybe) that will let me do this? You will have to draw the items yourself. Have a look at the listbox's 'DrawMode' property. |
#4
| |||
| |||
|
|
I need some control that basically acts as a listbox, but allows each item to take up more then one line. I've tried adding a new item and putting in a vbCrLf in there, but that just comes out as a box on the same line. Is there some way of making the listbox show multiple lines for each item, or is there another control (3rd party maybe) that will let me do this? You will have to draw the items yourself. Have a look at the listbox's 'DrawMode' property. Never used that property before, how does it work? |
#5
| |||
| |||
|
|
I need some control that basically acts as a listbox, but allows each item to take up more then one line. I've tried adding a new item and putting in a vbCrLf in there, but that just comes out as a box on the same line. Is there some way of making the listbox show multiple lines for each item, or is there another control (3rd party maybe) that will let me do this? |
#6
| |||
| |||
|
|
* Max <maximkh (AT) yahoo (DOT) com> scripsit: I need some control that basically acts as a listbox, but allows each item to take up more then one line. I've tried adding a new item and putting in a vbCrLf in there, but that just comes out as a box on the same line. Is there some way of making the listbox show multiple lines for each item, or is there another control (3rd party maybe) that will let me do this? You will have to draw the items yourself. Have a look at the listbox's 'DrawMode' property. Never used that property before, how does it work? There is a basic sample in the documentation for 'ListBox.DrawMode'. |
#7
| |||
| |||
|
|
So I get how that works, I just use listBox1.items.add("Some text") and the first time it paints the text red... But this still doens't help me in making the thing work on multiple lines. Or am I missing something??? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |