Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop Down List order
Message
 
 
À
07/10/1999 19:30:23
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00273997
Message ID:
00274924
Vues:
47
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform