Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox invert problem
Message
From
10/01/2005 17:03:20
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
 
 
To
10/01/2005 16:28:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975756
Message ID:
00975856
Views:
14
Something new.

I was using RowSourceType = 2. I decided to change this to RowSourceType = 0 and manually loading the listbox through AddListItem(). Now it works. I decided to try other possible RowSourceTypes. Here are the results:

RowSourceType = 0 (None): Works.
RowSourceType = 1 (Value): Works.
RowSourceType = 2 (Alias): Does not work.
RowSourceType = 3 (SQL): Does not work.
RowSourceType = 4 (Query): Does not work.
RowSourceType = 5 (Array): Works.

RowSourceType 6 - 9 do not apply to this situation.

Bottom line is that the Selected() method in a Listbox does not function properly when using a table/cursor/query. The other three RowSourceTypes (None, Value, Array) do work.

Thanks again for your help.

Todd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform