hiSetButtonLabel
hiSetButtonLabel(
g_Button
g_Label
)
=> t / nil
Description
Changes a button label text or icon after the button is created. This function updates all instances of the button.
hiSetButtonLabel does not change an instance’s original size.
Arguments
|
g_Button
|
The handle to the button returned by hiCreateButton.
|
|
g_Label
|
The new label text (string) or icon.
If you specify a string, this function always assumes it is the label text and displays it accordingly. If you want to specify an icon as a string (the icon file name), use the function hiSetButtonIcon instead.
|
Values Returned
|
t
|
The button label was changed.
|
|
nil
|
The button label was not changed.
|
Related Topics
Form and Field Functions
hiCreateButton
hiSetButtonIcon
Return to top