Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box in grid
Message
 
À
03/10/1997 22:44:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00053230
Message ID:
00053456
Vues:
26
>I am using a combobox in a grid as Drop-down List. When the combo box is
>selected, pressing UP and DOWN keystrokes just changing list selection.
>My users don't like this feature. They would like to go to the next/prior
>record in a grid in case of UP or DOWN keystrokes being pressed.
>If the SPACEBAR is pressed, UP and DOWN keystrokes should be used to make
>a selection.
>
>May be there is some work around.
>
>Thanks.
>
>By the way, VFP Web Site was not updated after September 17, which is
>very strange.

Use the KeyPress event to trap the key strokes to create the behavior you want. It's a bit tricky with combo boxes as you have to know whether the pop-up list is displayed or not. For example, if the list is "popped" a down arrow should move to the next selection in the list, whereas if it isn't popped, you want to move to the next record in the grid. But it can be done. HTH.

- Mark
----------
Mark Bucciarelli
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform