Parent-Child Links Using Choice Controls (Magic xpa 3.x)
All Choice controls enable the selection of a value out of a list of possible values: radio button, tabs, list box, combo box, and check box. The allowed values are based on the Items List property of the control. The possible choice values in the Items List property are comma delimited. The data value that can be assigned to the Data property variable is dependent on the data’s picture. An expression can be given for the Items List property of the control, allowing dynamic creation of allowed choice values.
When the value of the variable assigned to the data property is not in the allowed range, none of the options will be visually selected.
Keyboard shortcuts can be created to browse among choices in all controls.
You can associate child controls with each of the allowed choice values of a Choice control (Radio, Tab, List, or Combo). In this case, the parent shows only the children that are associated with the selected choice. When selected, the parent control is displayed with a purple ruling box (a normal control appears with a blue ruling box).
You can define child controls that are not associated with any choice of a selection control, and are visible regardless of the selected choice.
When you drop a new control on a parent control, the new control automatically becomes a child of the currently displayed layer of the parent Choice control. If the current layer cannot be determined, the new control is linked as a child of all the layers of the parent control.
When you change the displayed layer of a Choice control, the child controls linked to the selected layer are displayed, and the child controls linked to other layers are hidden.