List of Children
Source position: MUIClass.Base.pas line 300
public property TMUIFamily.Childs : TChildList; |
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;