WebButton.Caption
From Xojo Documentation
Property (As String )
This property is only available for Web applications. |
aWebButton.Caption = newStringValue
or
StringValue = aWebButton.Caption
New in 2010r5
Supported for all project types and targets.
or
StringValue = aWebButton.Caption
New in 2010r5
Supported for all project types and targets.
Gets or sets the text of the button.
Notes
Buttons can only have a single-line caption.
Sample Code
This code in the Action event handler changes the text of the button each time it is clicked: