【发布时间】:2016-07-17 13:36:29
【问题描述】:
德尔福 XE-6
我正在尝试创建我自己的从 TGroupBox 派生的自定义 Firemonkey 控件,在这里我在 groupbox 上创建了一个 TGridPanelLayout 控件。
constructor TMyRadioGroup.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
FLayout:= TGridPanelLayout.Create(self);
FLayout.Parent:= self;
end;
如何防止用户选择和/或删除 TGridPanelLayout 控件?在设计时,我只希望我的父控件(从 TGroupbox 派生)可以从表单中选择和删除。
【问题讨论】:
标签: delphi firemonkey