Returns or sets the text displayed in an object's title bar or below an object's icon.
Object.Caption [ = sCaption ]
The Caption property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AToolBarButton |
AToolBarButton class |
|
sCaption |
BString |
The text displayed in an object's title bar or below an object's icon. |
The button text appears to the right of the image if the AToolBar's style is set to atbrStyleTextAlignRight.
The following statement sets the text displayed in an object's title bar or below an object's icon:
tbrb1.Caption="SaveAs"