IFormControl.MDIRestore

Syntax

MDIRestore(Child: IFormControl);

Parameters

Child. The MDI child form, the window of which 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. The parent form itself should be passed as a parameter to restore the parent form window.
Sub
Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin

  Self.MDIRestore(Self);
End Sub
Button1OnClick;

See also:

IFormControl