IFormControl.MDIMaximize

Syntax

MDIMaximize(Child: IFormControl);

Parameters

Child - MDI child form, which window should be maximized.

Description

The MDIMaximize method maximizes the specified MDI child form within the parent form.

NOTE. The parent form itself should be passed as a parameter to maximize the parent form.
Sub
Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin

Self.MDIMaximize(Self);
End Sub
Button1OnClick;

See also:

IFormControl