General information
Category:
Coding, syntax & commands
Steve,
As I read this it sounds like you have 5 rows, not 5 columns.
...because you say "On line 2..." and then you say you only see" "This ID" in column 1...".
This being the case you would need to set the column width [Width property of ListBox] to the width of the widest "message" you would store in column 1.
For what it's worth, this looks like a poor use for the ListBox.
Good Luck,
Jim N
>I have a listbox with 5 columns. They work fine, but sometimes I want to display an error in the listbox that spans all 5 columns. Is there a way to do that?
>
>I use AddListItem(somethin,pnCount,1) for column 1 for instance.
>
>The 1st column might hold an ID number. On line 2 of the listbox I might show an error message. Such as
>"This ID number is not valid. Please check the ID number and try again." But I only see "This ID" in column 1 because the rest is not in view. If I could span all the columns of the listbox I could see the whole error message.
>
>Help please. Thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only