Hi!
There is a DropDown event. You can set to .T. some flag property for combobox class, then drop that flag to .F. in the Valid event (Valid is fired EACH time list is closed for combobox).
HTH.
>Hi! Everybody
>
>I am using combobox in Grid, but I wants that when user press up/down arrow, Combobox's value shouldn't be changed. Instead it should navigate in Grid for next/previous record.
>
>I tried it with locking Up/Down Arrow key and moved to record pointer by changing Activecell of grid. But when I am opening the combobox by mouse or by keyboard, it also stops up/down arrow key there. Hence I am able to change the value in Combobox by mouse only.
>
>Is there any way by which I can come to know that whether combobox is open or closed?
>
>Regards
>
>Anil Lakhani
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.