IFormControl.MDIRestore

Syntax

MDIRestore(Child: IFormControl);

Parameters

Child. The MDI child form, which window should be returned to the initial state.

Description

The MDIRestore method restores the initial sizes of the window of the specified MDI child form.

NOTE. To restore the parent form window, pass the parent form itself as a parameter.
Sub
Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin

  Self.MDIRestore(Self);
End Sub
Button1OnClick;

See also:

IFormControl