Control - Parent Property

Reference to the control in which this control is visually positioned

Member of Control (PRIM_CTRL)

Data Type - PRIM_CPST - Base class for all component types that can be the visual parent of other components

Details

The parent of a control is the component to which the control is visibly attached.
 
If the parent of a control is set to null the control will not be shown on the screen.
 
The parent control provides the outer bounds for the control. The Top and Left properties position the control relative to the position of its parent.
 
A control that extends beyond the bounds of its parent will be clipped and may cause scrollbars to appear on the parent control.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020