Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple combobox quest
Message
 
À
11/12/1997 10:57:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00065229
Message ID:
00065262
Vues:
33
>>>>>>>Having not used comboboxes, what is the way to populate it with alpha values you wish to use?
>>>>>>
>>>>>>Thisform.Combo1.Additem("A")
>>>>>>Thisform.Combo1.Additem("B")
>>>>>>etc.
>>>>>
>>>>Actually, is there a way to have the combobox appear with a value intact that is the most widely used value? Right now it comes up blank and you have to click to reveal the ones below.
>>>
>>>**** combo.inti event
>>>This.AddItem("A")
>>>This.AddItem("B")
>>>This.AddItem("C")
>>>This.Value="A"
>>
>>Thnaks Ed. If you could assist on this: a listbox I have; when you arrow down on it thru the items, it acts as if it were the same as clicking. Can this be avoided?
>
>Sorry, it's not very understandable. Normally, when a user press UP/Down Arrow key, having focus on list, another item gets selected. Is it not what you want? What behaviour would you like to have?

check your keypress event (if it is 'selecting' the next/prev item and changing focus to next field.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform