O4WImageButton routine
Description
Generates a pushbutton on the form at the current location
Syntax
O4WImageButton(text, url, id, style)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
text | The text to be displayed on the button. | |
url | The image located at <url> is used as the button image. | |
id | The name of the button. | |
style | When style> is specified, the style is applied to the button that is generated. Note that <style> can be either the name of a style (as created by one of the O4W style functions, or as defined in an included style sheet), or it can be the returned value from one of the O4W style functions. If the O4WMarkedOptions "checked" flag is set to "1" and passed into the O4WBUTTON or O4WIMAGEBUTTON, the button is turned into a "submit" button; if the "checked" flag is set to "0", then the button will not automatically generate a "form" for any input controls in the current section (as it otherwise would). |