Table of Contents

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:

ParameterDescription
buttonTextThe text of the button.
iconNameThe name of the icon file
iconLocationThe 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.
idThe id of the button created.
styleInfoStyle information.