>Am I going crazy here.
>
>If you put a THIS.setfocus() call in the lost focus event of a dropdown/combobox, should that not force the combobox to keep regain focus ?
>
>At the moment it is not ... and I'm sure I have tried this before.
>
>Any comments or suggestions?
Don't know where you are doing this. I went crazy with the same problem as soon as I moved my save button off my form onto a toolbar. (The toolbar never gains focus, so you leave the control without ever activating the valid or lostfocust event.)
The solution for toolbars was actually given to me on this board. The control is still active. So put a statement in your save (or whatever) button. PseudoCode is as follows:
IF the current ACTIVECONTROL IS A TEXTBOX, EDIT OR COMBO CONTRO
REPLACE (_SCREEN.ACTIVEFORM.ACTIVECONTROL.CONTROLSOURCE);
WITH _SCREEN.ACTIVEFORM.ACTIVECONTROL.VALUE
END IF
If you are not using a toolbar, then the above just wasted your time <g> -- and you may want to provide a little more detail.
Thanks
Thanks
Gar W. Lipow