Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects like combobox's and spinners in grids?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00065344
Message ID:
00065381
Vues:
33
>>>All the values in the grid show fine but when I enter one of
>>>these columns the value appears to 'big' to be seen properly
>>>in the combobox or spinner.
>>
>>combo.BorderStyle = 0
>
>Thanks Garrett. Works great. Maybe you can help with this problem. All the comboboxes are DropDownList. When the user is in a column with a combobox and they press the uparrow or downarrow I want them to step up and down the rows instead of changing the value of the combo. How do I do this?

My solution was to use the keypress event to capture keystrokes and then do the appropriate skip +1 or skip -1. I have found no problems with this approach. Then the user can move 'up' and 'down' in the list using the left and right arrow keys.

Peter
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform