主题:在MDI窗体打开多个子窗体 如何判断哪个子窗体在最前面?
网络笨笨
[专家分:50] 发布于 2006-06-10 10:35:00
在MDI窗体打开多个子窗体 如何判断哪个子窗体在最前面?
回复列表 (共1个回复)
沙发
xabcxyz [专家分:940] 发布于 2006-06-10 16:35:00
Specifies the MDI child that has focus.
Delphi syntax:
property ActiveMDIChild: TForm;
C++ syntax:
__property TForm* ActiveMDIChild = {read=GetActiveMDIChild};
Description
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++).
我来回复