canControlHaveChildren(): Boolean;
The canControlHaveChildren method of the Control class returns whether a control is permitted to be the parent of other controls.
The canControlHaveChildren method is defined for the following reasons.
The Painter needs to determine the controls that can be parents.
For subclasses of the BaseControl class, it can be overridden to determine the behavior of the developer-defined subclassed control in regards to being a parent.
The default value returned by the method is determined by the control. The BaseControl, Frame, GroupBox, JadeDockBar, JadeDockContainer, JadeMask, Picture, Sheet, and StatusLine controls return true; all other controls return false.