Unit 'MUIClass.Base' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIFamily.Childs

List of Children

Declaration

Source position: MUIClass.Base.pas line 258

public property TMUIFamily.Childs : TFPGObjectList;

Description

When a family is disposed, all of its children will also get deleted. But you should not directly write Childs here but assign this object to the Childobject as Parent. It will automatically add it to this list.

Example:

// Disable all the Buttons in this Group, and only the Buttons (not recursively)
for i := 0 to Group.Childs.Count - 1 do
begin
  if Group.Childs[i] is TMUIButton then
    TMUIButton(Group.Childs[i]).Disabled := True;
end;

Documentation generated on: 2022-12-09