Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop Down List order
Message
De
13/10/1999 13:01: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:
00275912
Vues:
41
Thanx, I see your point but I have a problem. After playing with this while I found that TOPINDEX is always read only (so I can't use it) but TopIItemID is writable at runtime. My problem is that for some reason when I put This.TopIItemID = 1 in the CLICK event of my dropdown I get, PROPERTY TOPITEMID NOT FOUND. Any idea's???


>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform