Returns or sets a value that determines whether an object is visible or hidden.
[ 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. |
bVisible can be one of the following:
|
Value |
Description |
|
True * |
The button is visible. |
|
False |
The button is not visible. |
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.
The following statement changes the AToolBarButton to be invisible:
tbrb1.Visible=False