guides:o4w:o4w_api:o4wimagebutton

O4WImageButton routine

Generates a pushbutton on the form at the current location

O4WImageButton(text, url, id, style)

The function has the following parameters:

ParameterDescription
textThe text to be displayed on the button.
urlThe image located at <url> is used as the button image.
idThe name of the button.
styleWhen 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).
  • guides/o4w/o4w_api/o4wimagebutton.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1