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

TMUIFamily.Childs

List of Children

Declaration

Source position: MUIClass.Base.pas line 300

public property TMUIFamily.Childs : TChildList;

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)
or := 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: 2024-11-21