Sign in Join
FPDoc Onlineexperiment

TControl.IsVisible function

Member of TControlpublicIn unit Controls

Gets the effective visibility for the control and all of its Parent controls.

Declaration

pascal
function IsVisible: Boolean; virtual

Description

IsVisible calls IsControlVisible to determine if the control has its Visible property set to True. At design-time, ControlStyle is also checked to ensure that csNoDesignVisible is not used in the style flags. Each of the Parent controls in the hierarchy call their IsVisible method to determine the return value for the method.

Use IsEnabled to get the effective enabled state for the control and all of its Parent controls.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.