Export (0) Print
Expand All
Expand Minimize

Control.InvokeGotFocus Method

Raises the GotFocus event for the specified control.

[Visual Basic]
Protected Sub InvokeGotFocus( _
   ByVal toInvoke As Control, _
   ByVal e As EventArgs _
)
[C#]
protected void InvokeGotFocus(
 Control toInvoke,
 EventArgs e
);
[C++]
protected: void InvokeGotFocus(
 Control* toInvoke,
 EventArgs* e
);
[JScript]
protected function InvokeGotFocus(
   toInvoke : Control,
 e : EventArgs
);

Parameters

toInvoke
The Control to assign the event to.
e
An EventArgs that contains the event data.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | GotFocus | InvokeLostFocus

Show:
© 2015 Microsoft