[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.HandleObjectShouldBeVisible

True if the control should be visible, unless it's being destroyed.

Declaration

Source position: controls.pp line 1751

public function TControl.HandleObjectShouldBeVisible: Boolean; virtual;

Function result

True if the control is visible and needs a handle object.

Description

HandleObjectShouldBeVisible is a Boolean function which indicates if the control requires a valid handle in its widgetset class instance and should be visible. The return value is set to True when the following conditions are satisfied:

HandleObjectShouldBeVisible is used frequently in widgetset class methods, and indicates that actions like allocating or freeing a handle should be performed. It determined the value for the Visible property in the widget. It also indicates whether the actions in the class method can be performed, or should be ignored.

See also

TControl.IsVisible

  

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

TControl.ControlState

  

Contains state flags which indicate whether the control has been clicked, data is being read, or the control is being re-drawn, etc.

TControl.Parent

  

The control within which the control is shown.

TComponent.ComponentState


Version 3.2 Generated 2024-02-25 Home