List box column property.

Bosch

Registered User.
Local time
Yesterday, 18:13
Joined
May 13, 2005
Messages
89
Hi all..

I use the following code in my application to select a particular column value in a list box..

myvalue = SearchResults_LB.Column(5, i)

In my computer the column count starts with 0. So, the above statement sets the myvalue to the 6th column. But when I install the same application on an other computer it sets myvalue to 5th column.

Looks like I need to set the base value of the listbox column property somewhere!

I hope it is an easy one for many of you.

Thanks in advance.
 
I looked at my code again; I am using "Option Base 0" in my module.
I believe this will affect only arrays.
I am not sure if this is a cause for the listbox column property misbehaviour.
 

Users who are viewing this thread

Back
Top Bottom