O4WButton routine
Description
Generates a pushbutton on the form at the current location
Syntax
O4WButton(text, id, style)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
text | The text to be displayed on the button. | |
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). |
See Also
Example
O4WBUTTON(<text>, <id>, <style>) O4WIMAGEBUTTON(<text>, <url>, <id>, <style>)
Generates a pushbutton on the form at the current location, with the label <text>. If this is an O4WImageButton, then the image located at <url> is used as the button image. <ID> specifies the name of the button, which is used when setting or querying it. This button can also be addressed through style sheets individually by <ID>; 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 O4WInputStyle "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).