Export (0) Print
Expand All
Expand Minimize

Form.ActivateMdiChild Method

Activates the MDI child of a form.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

'Declaration
Protected Sub ActivateMdiChild ( _
	form As Form _
)

Parameters

form
Type: System.Windows.Forms.Form

The child form to activate.

If the form parameter is already the active MDI child form, then the ActivateMdiChild method simply returns. If form is not Nothing, then it is set to be the active MDI child form.

Whether the form parameter is Nothing or not, ActivateMdiChild raises the MdiChildActivate event.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft