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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only