Tech Tip: How to programmatically change the title of a button
PRODUCT: 4D | VERSION: 2004.4 | PLATFORM: Mac & Win
Published On: June 16, 2006
The "BUTTON TEXT" command allows you to change the title of the button programmatically:
BUTTON TEXT ({*; }object; newTitle)
The command takes either the object name or variable name of the button and the new title as parameters, for example:
BUTTON TEXT (bDelete;" Delete")
In this example the label on the bDelete button would be set to " Delete".