IFormControl.MDIMaximize

Syntax

MDIMaximize(Child: IFormControl);

Parameters

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

Description

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

Comments

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