RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.ActiveMDIChild Property

Specifies the MDI child that has focus.

Pascal
property ActiveMDIChild: TForm;
C++
__property TForm * ActiveMDIChild;

Use ActiveMDIChild to get the MDI child that has focus. 

If the form is not an MDI parent (that is, if the FormStyle property of the form is not fsMDIForm), ActiveMDIChild returns nil (Delphi) or NULL (C++). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!