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:
00065397
Vues:
44
>>>>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

There must be more to it than just the appropriate SKIP. Can you please elaborate? Thanks.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform