$root.$iremoteforms.REMOTEFORM.$objs.edit

Parent: $root.$iremoteforms.REMOTEFORM.$objs
 
Children 

Class notation

Properties Methods Events 

Properties

Warning: with the exception of $componentctrl,$componentlib,$ident,$name and $objtype, the values of properties can only be read in client methods.

Object specific 
$::contenttipText which is displayed in the field when it is empty,to help the user understand what content should be entered
$autocapitalizeIf set, overrides autocapitalizing behaviour of virtual keyboards
kJSAutoCapitalizeNone kJSAutoCapitalizeSentences kJSAutoCapitalizeWords
$autocompleteMatches HTML5 'autocomplete' attribute. The type specifies what data the browser will provide to fill the field. Setting to 'off' will clear if the client is suspended to cache
$autocorrectIf true, allow the browser to apply auto-correct to, and suggestions for, words typed into this field. Only applies to iOS
$borderradiusRadius for rounded border corners.1 to 4 pixel values separated by -,in order topleft,topright,bottomright,bottomleft.If bottomleft is omitted it is topright.If bottomright is omitted it is topleft.If topright is omitted it is topleft
$contenttiptextcolorThe text color used for the content tip, or the label when displayed as a content tip
$datepickermodeSpecify the mode in which the date picker should be displayed. Only applies if $inputtype = kJSInputTypeDate
kJSDatePickerModeAuto kJSDatePickerModeCalendar kJSDatePickerModePicker
$datepickeroptionsOptions relating to the popup datepicker
$datepickerpopupstyleSpecify the display type of the popup picker. Only applies if $inputtype = kJSInputTypeDate
kJSDatePickerPopupStyleAuto kJSDatePickerPopupStyleInline kJSDatePickerPopupStyleModal
$disabledefaultcontextmenuIf true, the default context menu for the object will not be generated in response to a context click ($clib.$disabledefaultcontextmenu and $cobj.$disabledefaultcontextmenu must both be false for the menu to be generated)
$horzpaddingThe left and right padding of the field
$inputborderstyleA kJSInputBorderStyle... constant that controls the appearance of kJSborderDefault, and which specifies the appearance of the control border when the control has the focus
kJSInputBorderStyleOutlined kJSInputBorderStyleUnderline
$inputmaskThe input mask for the object
$inputmaskguideIf true, mask and placeholder characters are shown before entering text. Only applies when $inputmask is set
$inputtypeThe HTML input type used by the edit field. The browser may give this special handling, e.g. by popping up a specific software keyboard. Does not apply if $ispassword is enabled
kJSInputTypeDate kJSInputTypeDefault kJSInputTypeEmail kJSInputTypeNumber kJSInputTypeTelephone kJSInputTypeUrl
$inputtypetouchonlyIf true, the specified $inputtype is only applied on touch devices
$ispasswordIf true,the edit control displays a place-holder for each character,so that the actual value is not visible. Only applies when $issingleline is kTrue
$issinglelineIf true,the edit control only allows entry of a single line
$keyeventdelayThe minimum number of milliseconds (0-2000) between evKeyPress or evInput events.The first event will also be delayed for this duration
$linkedobjectThe name of a list control on the current remote form used to display suggestions to the user if the edit control enables the evKeyPress event.The edit control automatically controls the visibility of the list
$maskvaluevalidRead-only property that is true if the value is valid against the mask. Only applies when $inputmask is set
$negallowedOnly applies when the dataname is a numeric type.If true,the entry field allows negative values
$systemkeysIf true,evKeyPress events include system keys which do not change the value of the data
$uppercaseIf true, the entry field is upper case only
$vertpaddingThe top and bottom padding of the field
$zeroemptyIf true, the field shows a value of zero as an empty string
Standard$active $align $alpha $ariadescribedby $arialabel $arialabelledby $autoscroll $backalpha $backcolor $bordercolor $componentctrl $componentinfo $componentlib $contextmenu $cssclassname $dataname $dateformat $dateformatcustom $defaultdisabledappearance $defaultinactiveappearance $disablesystemfocus $dragborder $dragmode $dropmode $edgefloat $effect $enabled $errortext $errortextpos $events $fieldstyle $font $fontsize $fontstyle $height $horzscroll $ident $label $labelfontsize $labelhottextcolor $labeliscontenttip $labelposition $labeltextcolor $left $linestyle $name $nexttabobject $numberformat $objtype $order $preventlayoutanimation $removefromtaborder $sidepanel $sidepanelmode $textcolor $tooltip $top $userinfo $vertscroll $visible $visibleinbreakpoint $width

Methods

Warning: with the exception of $redraw(),methods can only be called from client methods.

$setselection$setselection(iFirstSel,iLastSel) Sets the focus on and selection range of the control element. If iLastSel is omitted selection will occur to end of edit field. Returns selected text
$showpanel$showpanel(iAction[,iMode=kSidePanelModeAuto]) executes kSidePanelAction... on a side panel object. iMode only applies to kSidePanelActionShow,and must be kSidePanelModeCover/Push/Auto. For JS client,$showpanel must be executed on the client

Events

Object specific 
evInputThe user has changed the content of the control (not limited to key press actions). Advised to run client-executed.
Parameters
pEventCodeThe event code
evKeyPressThe user has pressed a key or keys. Advised to run client-executed. Make use of $keyeventdelay when executing on the server to reduce network traffic
Parameters
pEventCodeThe event code
pKeyList3 column list with a row for each key pressed in the order the keys were pressed.Col 1:system key value if $systemkeys is kTrue;Col 2 is character value for non-system keys;Col 3 is modifier state when key pressed (sum of kJSMod... constants)
evWillHideSent to a field before it is hidden. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
evWillShowSent to a field before it becomes visible. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
StandardevAfter evBefore evCanDrop evDrag evDragBorder evDragFinished evDrop evExecuteContextMenu evHidden evOpenContextMenu evShown evWillDrop

Children

Top 

$methods