Method SelectStart()
Syntax
:SelectStart( cName, [lMulti], [nSize], [cnTabIndex], [lBR], [lWrite])
Parameters
|
|
cName |
Name of Variable for the Variable/Data pair to be processed by the Form Action. |
|
|
lMultiple |
Allow multiple selection. |
|
|
nSize |
Specifies the number of visible items (lines). A value of one causes the control to be displayed as a Drop-Down List. If this is greater than one, then the control will be scrollable a list. |
|
|
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 beginning of <SELECT ...> Tag.
Description
This Method opens the <SELECT> tag which displays a Drop-Down list or a Scrollable Listbox on the Web Page.
Individual options are added with the :SelectOption() Method.
When all options are added, close it with a :SelectEnd() Method call.
See Also:
:Button(), :Checkbox(), :FormStart(), :GetVar(), :MLE(), :RadioButton(), :SelectStart(), :SelectOption(), :SetVar(), :SLE(), :aVars
![]() |