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

TCoolBand.Visible

Indicates whether the band is visible on the parent control.

Declaration

Source position: comctrls.pp line 2524

published property TCoolBand.Visible : Boolean
  read GetVisible
  write SetVisible
  default True;

Description

Visible is a Boolean property which controls whether the band is displayed on the parent control (TCoolBar) when its Paint method is called. The default value for the property is True.

Changing the value for the property causes the Visible property for the associated Control to be updated with the new value. The Changed method is also called to update all of the items in the bands collection for the parent control.

Remark: Visible always contains False when HorizontalOnly is enabled in the band and the parent control has its Vertical property set to True.

See also

TCoolBand.Control

  

Control displayed on the band.

TCoolBand.HorizontalOnly

  

Indicates if the band is limited to the horizontal orientation.

TCustomCoolBar.Vertical

  

Indicates if the control is displayed vertically instead of horizontally.

TCustomCoolBar.Paint

  

Draws the visible bands for the control on its Canvas.


Version 4.0 Generated 2025-05-03 Home