Thank you.
Can I somehow get from the control, the form, on which it is situated? The
control is incapsulated and I have no pointer there.I would have to pass one
more parameter if it is not possible to get parent form from the control.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> schrieb im Newsbeitrag
news:O7*************@TK2MSFTNGP14.phx.gbl...
"Boni" <oilia@nospam> schrieb: if I have a Form and some controls on it, how can I get a pointer to the
focused control. I what to remember focused control, do some operations
and then restore focus
The form's 'ActiveControl' property returns the currently focused control.
You can set the focus to a control by calling its 'Focus' method.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>