HTBasic Help
×
Menu
Index

Child Widget

 
A child widget is a widget that is one level below its parent in the widget hierarchy. A widget becomes a child widget when you assign it to a parent widget with the PARENT option to the ASSIGN statement. A widget can be both a parent widget and a child widget at the same time.
 
If a parent widget is specified, the new widget will be treated as a "child" widget ofits parent. Child widgets are constrained to be within the parent widget boundaries. If you attempt to move a child widget outside the border of the parent widget, the child widget will be "clipped" at the parent widget's borders.
 
The child widget's X and Y coordinates are relative to the upper-left corner of the parent widget. Since child widgets are contained by their parent widget, child widgets cannot be level-0 widgets.