>Is it possible to implement the following ? First click on a combobox in a grid only sets up a current cell and the second click on the same cell shows the list of values.
-------- reply --------
Hello Gennadiy,
Try putting a timeout in the gotfocus() event of the combobox. The combobox is one a timer -- if stall around in gotfocus() until the timer runs out, the list will not drop. I cannot tell you the precise interval -- I found it by accident when I had a lot of code in a gotfocus() event of a combobox and it would not drop until the second click. Actually this is a bug, but one that seem to work to your advantage in this instance. A couple of milleseconds ought to do it.
Another way that sees to work is to put a call to an object outside of the form the control is on i.e. this.backcolor = oApp.backcolor. This seems to create enough delay so the list will not drop.
I cannot guarantee either of these will work -- but these are little bugs that have driven me crazy in the past.
Regards,
JME
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.