PropertiesButtonGet
- Last UpdatedJul 13, 2023
- 1 minute read
Reads the values for a button object from the Appearance | General tab of the Object Properties dialog.
Syntax
PropertiesButtonGet(ButtonType, Text, TextFont, Library, SymbolName)
ButtonType:
Defines the button type:
0 = Text
1 = Border 3D Target
2 = Border Target
3 = Target
4 = Symbol
5 = XP Style button with text
6 = XP Style Button with Symbol
Text:
Button text. This argument is only valid for ButtonType = 0 and 5 (text).
TextFont:
The font use for the button text. This argument is only valid for ButtonType = 0 and 5 (text).
Library:
Library where the button symbol can be found. This argument is only valid for ButtonType = 4 and 6 (symbol).
SymbolName:
Name of the symbol to be displayed for a button. This argument is only valid for ButtonType = 4 and 6 (symbol).
Return Value
The requested values, as a string.
Note: For details on handling return and error values, see Error Handling.