Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop Down List order
Message
 
 
To
07/10/1999 19:30:23
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00273997
Message ID:
00274924
Views:
48
There is a problem with setting the ListIndex property: it changes the value of the control. A better way is to set the TopIndex property to 1: this property sets which item in the combo box will be the top item when the combo box is opened.

Rick

>Thanx, it works!
>
>>Hi Ian,
>>
>>>I looked at that option but it (along with LIST) is set to NONE on all my drop downs, and is not editable... any ideas???
>>
>>Yeah, its read-only at desing time. Put this code in the DropDown Event of you Combo:
>>
>>This.ListItem = 1
>>
>>You may need some creative way to reset the ListItem if the a new Item isn't chosen.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform