Method Button()
Syntax
:Button(cType, cCaption, [cAlign], [cName], [cImage], [cnTabIndex], [lBR], [lWrite] )
Parameters
|
|
cType |
Type of Button: SUBMIT, RESET, IMAGE, PUSHBUTTON | ||||||||||||
|
|
cCaption |
Label for the Button | ||||||||||||
|
|
cAlign |
Vertical alignment of the image for use with IMAGE Button ONLY. Possible values are:
| ||||||||||||
|
|
cName |
Name for this Button element. Primarily used in scripting. | ||||||||||||
|
|
cImage |
Image file name to use for the Button. Works a a FORM Submit button. | ||||||||||||
|
|
cnTabIndex |
The Tab-Order of this control. | ||||||||||||
|
|
lBR |
Logical indicating whether to append a <BR> (Web newline) to Display elements | ||||||||||||
|
|
lWrite |
Logical indicating whether to send results directly to the User's Browser |
Return
If :lWrite, Number of characters written to Browser.
Otherwise, the results is the completed <INPUT ... > (Button) Tag.
Description
Button creates an <INPUT ... > Tag that displays a Button on the User's Web Browser.
For Image, Submit and Reset the Button acts on a <FORM> set up through the :FormStart(...) Method.
See Also:
![]() |