when the button is clicked it selects the data closes the window
Fills the textbox with the data selected and i Senkey.Send{"{TAB") to leave
the text box
this works.....what does not work is when the User Presses the Alt+s key
while in the Datagridview window
it enters the button click event as if the button was pressed...but never
leaves the Text box
Thanks
DP
Can't you just have the button take the focus in the button click event via
button.focus?
-Scott
and yes i can set the next control focus in the application code, but when u
getnextcontrol() and set focus to the next control the current control wont
exec a leave event
I have it working..i just dont know why in the inherted control...it is not
working correctly...
Thanks alot
DP
"Scott M." <s-...@nospam.nospam> wrote in message
news:%23QY%23ZaiZK...@TK2MSFTNGP05.phx.gbl...