Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomForm.ActiveMDIChild

Returns the currently active MDI child form.

Declaration

Source position: forms.pp line 685

public function TCustomForm.ActiveMDIChild: TCustomForm; virtual;

Function result

Nil if the form is neither an MDI host nor child.

Description

A non-Nil result is returned only when FormStyle contains fsMDIForm or fsMDIChild; otherwise Result is nil.