Parent-Child Linking of Controls (Magic xpa 4.x)
The Parent-Child feature lets you define a “parent” control to which “child” controls can be linked.
Linking is done in the Form Designer.
By default, all controls on a form are children of the form.
Each control may be assigned a parent control other than the form.
A control that is a parent for other controls can be a child of another control.
One or more controls may be assigned to the same parent control.
Parent-child relationships cannot be circular.
Controls that are children of a Table control cannot have other controls linked to them as children.
When only the parent control is deleted, all of the linked controls are also deleted. Since version: 3.0
When a parent control becomes invisible, all its children are hidden.
When a parent control is disabled, all its children are disabled.
If an end user invokes Help when parked on a control that does not have a Help property, Magic xpa will search for and display the Help screen associated with the Help property of the current control’s parent. If the parent control also does not have a Help property, Magic xpa will continue to search ancestor controls until an ancestor with a Help property is found. Note that the primary ancestor is the form itself.
Parent-Child Links Using Choice Controls
Control Properties for Multi-Selected Controls