From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
Property (As String )
|This property is only available for Web applications.|
Gets or sets the text of the button.
Buttons can only have a single-line caption.
This code in the Pressed event handler changes the text of the button each time it is pressed: