Visible Property (AToolBarButton)

Returns or sets a value that determines whether an object is visible or hidden.

Syntax

[ pbVisible = ] Object.Visible

The Visible property syntax has the following parts:

 

Name

Type

Description

Object

AToolBarButton

AToolBarButton class

bVisible

Bool

An integer specifying whether an object is visible or hidden.

Where

bVisible can be one of the following:

 

Value

Description

True *

The button is visible.

False

The button is not visible.

Comments

To hide an object at startup, set the Visible property to False at design time. Setting this property in code enables you to hide and later redisplay a control at run time in response to a particular event.

Example

The following statement changes the AToolBarButton to be invisible:

tbrb1.Visible=False

Applies to

AToolBarButton

See Also

Style