Method SLE()


 

Syntax

:SLE([cType], cName, [xValue], [cnSize], [nMaxLength], [cnTabIndex], [lReadOnly], [lDisabled], [cID], lBR, lWrite)

 

Parameters

 

cType

Type of variable. default "TEXT"

 

cName

Variable Name.

 

xValue

Initial value for the variable.

 

cnSize

Display Size, in characters.

 

nMaxLength

Maximum size, in characters, of the Variable.

 

cnTabIndex

The Tab-Order of this control.

 

lReadOnly

Sets value as ReadOnly or not.

 

lDisabled

Sets the SLE as DISABLED causing it to be grayed out.

 

cID

This attribute is used to reference a style sheet element or to provide a unique name used during script manipulation of data.

 

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 type="TEXT" ...> Tag.

 

Description

Creates an input area (SLE) on the Form on the Web Page.

The differences between READONLY and DISABLED is a matter of allowing User focus during [TAB] navigation of the page.

Read Only still allows the User's focus. Disabled does not.

 

See Also:

:Button(), :Checkbox(), :FormStart(), :GetVar(), :MLE(), :RadioButton(), :SelectStart(), :SelectOption(), :SetVar(), :aVars

 



Contents