O4WIconButton routine
Description
Creates a new button with the specified buttonText (if any), using the icon specified in iconName.
Syntax
O4WIconButton(buttonText, iconName, iconLocation, id, styleInfo)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
buttonText | The text of the button. | |
iconName | The name of the icon file | |
iconLocation | The location of the icon in relation to the buttonText. When "RIGHT" or 2, the icon is placed to the right of the text. Otherwise, the icon is placed to the left of the text. | |
id | The id of the button created. | |
styleInfo | Style information. |