Technical Reference > Graphics Builder Automation Interface > Dynamic Properties Functions > PropertiesButtonPut

PropertiesButtonPut

Sets the values on the Appearance | General tab of the Object Properties dialog for a button object.

Syntax

PropertiesButtonPut(Type, Text, TextFont, Library, SymbolName)

ButtonType:

Defines the button type:

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

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

PropertiesButtonGet