Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set dropdown row
Message
From
17/12/2002 09:50:09
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
16/12/2002 19:21:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00733494
Message ID:
00733645
Views:
19
>>I have a combolist that I populate with an array property. RowSourceType=5 and rowsoruce = this.iarowsource. I am using this as valid list for data input. The problem is when the value is null or empty, the drop down list goes to the bottom and then the user has to scroll back up the list. I tried setting the listinex to 1 and that worked except it updated the value that is bound to a column. What I want to do is force the selected position to the top without changing the value in the control.
>
>When the value is null or empty, that would mean that your ID would be 0, assuming an Integer. You can create an additional item in your array to hold such a reference having a text label such as "Please, select". So, once you hit a record that has no value, you'll have it selected by default.

That will work.

Thanks for the help.
Previous
Reply
Map
View

Click here to load this message in the networking platform