Vcl.Forms.TCustomForm.MDIChildren

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MDIChildren[I: Integer]: TForm read get_MDIChildren;

C++

__property TForm* MDIChildren[int I] = {read=get_MDIChildren};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Provides indexed access to all MDI child forms.

Use MDIChildren to access a child form.

I is the index of the child form to access. The order of MDI children changes as different MDI forms are activated. Initially, forms are listed in creation order, with new forms being added to the end of the array. Whenever an MDI child is activated, however, it moves to the front of the list. Thus, use I to index over all forms in the array, but not to refer to a specific form.

MDIChildren is meaningful only if the form is an MDI frame (that is, if the form's FormStyle property is set to fsMDIForm).

See Also

Code Examples