Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box..force to particular item
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00297286
Message ID:
00297806
Views:
31
Hi Nick.

>> Just to add: I always use listbox.DisplayValue for this purpose, because .Value and .DisplayValue may be different, and I want to make sure that I set the property which I actually can see in the listbox. <<


Since, in this case, the listbox has a RowSourceType of either 2-Alias or 6-Fields this is totally unnecessary. Setting the listbox's value will move the record pointer in the underlying data source and take its DisplayValue from whatever has been defined as the first column of the RowSource.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform