TCustomPage.IsControlVisible function
Indicates whether the control is visible.
Declaration
function IsControlVisible: Boolean; overrideFunction result
True when the control is visible.Description
IsControlVisible is an overridden method in
TCustomPage
which indicates whether the control is visible.
If AutoSizingAll is set to True, no actions are performed
in the method and the return values is True. This allows inactive
pages to be considered in the GetPreferredSize method in the parent control.
IsControlVisible calls the inherited method on entry to determine if the
Visible property is set to True, and whether the control is visible at
design-time. When the Parent control is
TCustomTabControl, the value in the PageIndex property
must match the value in the parent control.
The return value is True when all of the conditions are satisfied.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
