Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Down arrow key and selecting a ListBox
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00879967
Message ID:
00880103
Vues:
42
>This works better but a single down arrow seems to place the focus in the listbox
>myList1 and the next down arrow has the cursor on the top line of the listBox.
>Thanks
>Steve Elster
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>if nKeyCode = 24
>       wait wind time 2.0 "pressed down arrow key"
>       thisForm.myList1.listIndex= thisForm.mYlist1.Top
>       thisform.myList1.setFocus()
>       wait wind time 2.0 "In List1 having thisForm.mYlist1.Top highlighted"
>       thisform.myList1.click()
>       nodefault  && this helped
>endif
Steve,

Why do you include myList1.click? You can also now eliminate wait windows...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform