Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Up/Down arrows in grid
Message
From
09/08/1999 04:11:45
 
 
To
08/08/1999 23:12:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251335
Message ID:
00251365
Views:
9
Hi Mark.

>>I want in a way that if combobox is dropped down at that time only pressing up or down should move between combobox. in normal case it should move in grid.<<

In order to do this, you will have to create your own combo box class with that functionality. Basically, you have to set a flag in the combo's DropDown method so you will know whether or not the combo is dropped down. Then, in the KeyPress of the combo, If the combo is not dropped down, trap for your up and down arrow and take the appropriate action.

I know that I posted the code to do this in response to a similar question here recently, but do not have it at my finger tips right now. You can also download a combo class that does this from library 3 of the CompuServe VFOX forum. The file is called (I think) NewCombo.zip.

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform