Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox
Message
De
14/05/1997 11:45:04
Stoyka Kurteva
Busoft Engineering Ltd.
Bourgas, Bulgarie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00031898
Message ID:
00032195
Vues:
63
>>>>>>Hi All,
>>>>>>
>>>>>> I have a Drop-Down List with 2 columns. When I press a key
>>>>>> the marker goes to the next element. How can I forbit this ?
>>>>>>
>>>>>>Thank you.
>>>>>>
>>>>>>Stoyka
>>>>>
>>>>>why do you want to forbid this? pressing the space bar or up/down keys is supposed to move to the next element. to leave the field, press the tab key (or use the mouse)
>>>>
>>>> I will explain in detail.
>>>>I want to dasplay 2 columns from my ComboBox - Combo1, because of that I create TextBox1 and TextBox2 (Read-only).
>>>>I set Combo1.TabStop=.F and in Combo1.Valid I wrote :
>>>>
>>>> ThisForm.TextBox1.Value=ThisForm.Combo1.DisplayValue
>>>> ThisForm.TextBox2.Value=ThisForm.Combo1.Value
>>>>
>>>>When I choose an element from Combo1 and after that press up/down keys TextBox1, TextBox2 receive the next values.
>>>>
>>>>What can I do?
>>>>
>>>>Thank you
>>>
>>>Move your code to DoubleClick event.:-)
>>
>>I moved code to Click event.
>>Thank you.
>>
>>Excuse me for my bad English.
>
>Yes, the click event is a better place. I've red your message to fast and i don't notice that's a 'DropDown' listbox. DoubleClick is not easy to do on this kind of listbox! ;-)
>
>BTW, your english can't be bad as mine!

It's 6:45pm in Bulgaria and my working day finished. I'll continue tomorrow.
Bye
Stoyka
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform