Child pages
  • JSField

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:id=|class=servoy sReturnTypes}{tr:style=height: 30px;}{th}Extends{th}{tr}{tr}{td}{span:class=sWordList}[JSComponent]{span}{td}{tr}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#CALENDAR]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#CHECKS]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#COMBOBOX]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#HTML_AREA]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#IMAGE_MEDIA]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#PASSWORD#LIST_BOX]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#RADIOS#MULTISELECT_LISTBOX]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#RTF_AREA#PASSWORD]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#TEXT_AREA#RADIOS]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#TEXT#RTF_FIELDAREA]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#TYPE_AHEAD#SPINNER]
Constant for specifying the display type of a JSField.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#anchors#TEXT_AREA]
EnablesConstant afor componentspecifying tothe stick to a specific side of form and/or to 
grow or shrink when a window is resizeddisplay type of a JSField.{td}{tr}{tbody}{tbody}{tr}{td}[StringNumber]{td}{td}[#background#TEXT_FIELD]
The background colorConstant for specifying the display type of thea componentJSField.{td}{tr}{tbody}{tbody}{tr}{td}[StringNumber]{td}{td}[#borderType#TYPE_AHEAD]
TheConstant type,for colorspecifying andthe styledisplay of bordertype of thea componentJSField.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[StringNumber]{td}{td}[#dataProviderID]
The dataprovider of the component#anchors]
Enables a component to stick to a specific side of form and/or to 
grow or shrink when a window is resized.{td}{tr}{tbody}{tbody}{tr}{td}[NumberString]{td}{td}[#displayType#background]
The background typecolor of display used by the fieldcomponent.{td}{tr}{tbody}{tbody}{tr}{td}[BooleanString]{td}{td}[#displaysTags#borderType]
The dataprovider type, color and style of border of the component.{td}{tr}{tbody}{tbody}{tr}{td}[BooleanString]{td}{td}[#editable#dataProviderID]
FlagThe that dataprovider of the component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#displayType]
The type of display used by the field.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#displaysTags]
The dataprovider of the component.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#editable]
Flag that tells if the content of the field can be edited or not.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#enabled]
The enable state of the component, default true.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#fontType]
The font type of the component.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#foreground]
The foreground color of the component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#formIndex]
The Z index of this component.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#format]
The format that should be applied when displaying the data in the component.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#groupID]
A String representing a group ID for this component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#height]
The height in pixels of the component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#horizontalAlignment]
Horizontal alignment of the text inside the component.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#margin]
The margins of the component.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#name]
The name of the component.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onAction]
The method that is executed when the component is clicked.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDataChange]
Method that is executed when the data in the component is successfully changed.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onFocusGained]
The method that is executed when the component gains focus.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onFocusLost]
The method that is executed when the component looses focus.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onRender]
The method that is executed when the component is rendered.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onRightClick]
The method that is executed when the component is right clicked.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#printSliding]
Enables an element to resize based on its content and/or move when printing.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#printable]
Flag that tells if the component should be printed or not when the form is printed.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#scrollbars]
Scrollbar options for the vertical and horizontal scrollbars.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#selectOnEnter]
Flag that tells if the content of the field should be automatically selected
when the field receives focus.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#styleClass]
The name of the style class that should be applied to this component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#tabSeq]
An index that specifies the position of the component in the tab sequence.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#titleText]
The text that is displayed in the column header associated with the component when the form
is in table view.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toolTipText]
The text displayed when hovering over the component with a mouse cursor.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#transparent]
Flag that tells if the component is transparent or not.{td}{tr}{tbody}{tbody}{tr}{td}[JSValueList]{td}{td}[#valuelist]
The valuelist that is used by this field when displaying data.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#visible]
The visible property of the component, default true.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#width]
The width in pixels of the component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#x]
The x coordinate of the component on the form.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#y]
The y coordinate of the component on the form.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[UUIDObject]{td}{td}[#getUUID#getDesignTimeProperty]\()
Returns the UUIDGet a design\-time property of thisan componentelement.{td}{tr}{tbody}{tbody}{tr}{td}{table}\\ 

{table:id=constant|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr[UUID]{td}{td}[#getUUID]\()
Returns the UUID of this component.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#putDesignTimeProperty]\()
Set a design\-time property of an element.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#removeDesignTimeProperty]\()
Clear a design\-time property of an element.{td}{tr}{tbody}{table}\\ 

{table:id=constant|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=CALENDAR|class=node}{tr:id=name}{td}h6.CALENDAR{td}{tr}{tr:id=des}{td}{sub-section:CALENDAR_des|text=|trigger=button}{sub-section}{sub-section:CALENDAR_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the 
field to calendar. The field will show a formatted date and will have a button which
pops up a calendar for date selection.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:CALENDAR_snc|text=|trigger=button}{sub-section}{sub-section:CALENDAR_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:CALENDAR_prs|text=|trigger=button}{sub-section}{sub-section:CALENDAR_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:CALENDAR_ret|text=|trigger=button}{sub-section}{sub-section:CALENDAR_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CALENDAR_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CALENDAR_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CALENDAR_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CALENDAR_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CALENDAR_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CALENDAR_sam|trigger=none}{code:language=javascript}
var cal = form.newField('my_table_date', JSField.CALENDAR, 10, 10, 100, 20);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CHECKS|class=node}{tr:id=name}{td}h6.CHECKS{td}{tr}{tr:id=des}{td}{sub-section:CHECKS_des|text=|trigger=button}{sub-section}{sub-section:CHECKS_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to checkbox. The field will show a checkbox, or a list of checkboxes if the valuelist
property is also set.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:CHECKS_snc|text=|trigger=button}{sub-section}{sub-section:CHECKS_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:CHECKS_prs|text=|trigger=button}{sub-section}{sub-section:CHECKS_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:CHECKS_ret|text=|trigger=button}{sub-section}{sub-section:CHECKS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CHECKS_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CHECKS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CHECKS_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CHECKS_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CHECKS_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CHECKS_sam|trigger=none}{code:language=javascript}
var vlist = solutionModel.newValueList('options', JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var chk = form.newField('my_table_options', JSField.CHECKS, 10, 40, 100, 50);
chk.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=COMBOBOX|class=node}{tr:id=name}{td}h6.COMBOBOX{td}{tr}{tr:id=des}{td}{sub-section:COMBOBOX_des|text=|trigger=button}{sub-section}{sub-section:COMBOBOX_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to combobox.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:COMBOBOX_snc|text=|trigger=button}{sub-section}{sub-section:COMBOBOX_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:COMBOBOX_prs|text=|trigger=button}{sub-section}{sub-section:COMBOBOX_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:COMBOBOX_ret|text=|trigger=button}{sub-section}{sub-section:COMBOBOX_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:COMBOBOX_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMBOBOX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:COMBOBOX_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMBOBOX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:COMBOBOX_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:COMBOBOX_sam|trigger=none}{code:language=javascript}
var vlist = solutionModel.newValueList('options', JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var cmb = form.newField('my_table_options', JSField.COMBOBOX, 10, 100, 100, 20);
cmb.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=HTML_AREA|class=node}{tr:id=name}{td}h6.HTML_AREA{td}{tr}{tr:id=des}{td}{sub-section:HTML_AREA_des|text=|trigger=button}{sub-section}{sub-section:HTML_AREA_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to HTML area. The field will display formatted HTML content.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HTML_AREA_snc|text=|trigger=button}{sub-section}{sub-section:HTML_AREA_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:HTML_AREA_prs|text=|trigger=button}{sub-section}{sub-section:HTML_AREA_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:HTML_AREA_ret|text=|trigger=button}{sub-section}{sub-section:HTML_AREA_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:HTML_AREA_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HTML_AREA_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:HTML_AREA_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HTML_AREA_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:HTML_AREA_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HTML_AREA_sam|trigger=none}{code:language=javascript}
var html = form.newField('my_table_html', JSField.HTML_AREA, 10, 130, 100, 50);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=IMAGE_MEDIA|class=node}{tr:id=name}{td}h6.IMAGE_MEDIA{td}{tr}{tr:id=des}{td}{sub-section:IMAGE_MEDIA_des|text=|trigger=button}{sub-section}{sub-section:IMAGE_MEDIA_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to image. The field will display images.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:IMAGE_MEDIA_snc|text=|trigger=button}{sub-section}{sub-section:IMAGE_MEDIA_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:IMAGE_MEDIA_prs|text=|trigger=button}{sub-section}{sub-section:IMAGE_MEDIA_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:IMAGE_MEDIA_ret|text=|trigger=button}{sub-section}{sub-section:IMAGE_MEDIA_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:IMAGE_MEDIA_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:IMAGE_MEDIA_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:IMAGE_MEDIA_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:IMAGE_MEDIA_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:IMAGE_MEDIA_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:IMAGE_MEDIA_sam|trigger=none}{code:language=javascript}
var img = form.newField('my_table_image', JSField.IMAGE_MEDIA, 10, 190, 100, 50);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=PASSWORDLIST_BOX|class=node}{tr:id=name}{td}h6.PASSWORDLIST_BOX{td}{tr}{tr:id=des}{td}{sub-section:PASSWORDLIST_BOX_des|text=|trigger=button}{sub-section}{sub-section:PASSWORDLIST_BOX_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
fielsfield to list passwordbox. The field will allowshow thea userselection tolist enterwith passwords,single masking the typed
characterschoice selection.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:PASSWORDLIST_BOX_snc|text=|trigger=button}{sub-section}{sub-section:PASSWORDLIST_BOX_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:PASSWORDLIST_BOX_prs|text=|trigger=button}{sub-section}{sub-section:PASSWORDLIST_BOX_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:PASSWORDLIST_BOX_ret|text=|trigger=button}{sub-section}{sub-section:PASSWORDLIST_BOX_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:PASSWORDLIST_BOX_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:PASSWORDLIST_BOX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:PASSWORDLIST_BOX_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:PASSWORDLIST_BOX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:PASSWORDLIST_BOX_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:PASSWORDLIST_BOX_sam|trigger=none}{code:language=javascript}
var vlist = solutionModel.newValueList('options', JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var pwdlist = form.newField('my_table_textlist', JSField.PASSWORDLIST_BOX, 10, 250280, 100, 20)50);
list.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RADIOSMULTISELECT_LISTBOX|class=node}{tr:id=name}{td}h6.RADIOSMULTISELECT_LISTBOX{td}{tr}{tr:id=des}{td}{sub-section:RADIOSMULTISELECT_LISTBOX_des|text=|trigger=button}{sub-section}{sub-section:RADIOSMULTISELECT_LISTBOX_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to radiolist buttonsbox. The field will show a radio button, or a selection list ofwith themmultiple if 
the valuelist property is also setchoice selection.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:RADIOSMULTISELECT_LISTBOX_snc|text=|trigger=button}{sub-section}{sub-section:RADIOSMULTISELECT_LISTBOX_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:RADIOSMULTISELECT_LISTBOX_prs|text=|trigger=button}{sub-section}{sub-section:RADIOSMULTISELECT_LISTBOX_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:RADIOSMULTISELECT_LISTBOX_ret|text=|trigger=button}{sub-section}{sub-section:RADIOSMULTISELECT_LISTBOX_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:RADIOSMULTISELECT_LISTBOX_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RADIOSMULTISELECT_LISTBOX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:RADIOSMULTISELECT_LISTBOX_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RADIOSMULTISELECT_LISTBOX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:RADIOSMULTISELECT_LISTBOX_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RADIOSMULTISELECT_LISTBOX_sam|trigger=none}{code:language=javascript}
var vlist = solutionModel.newValueList('options', JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var radiolist = form.newField('my_table_options', JSField.RADIOSMULTISELECT_LISTBOX, 10, 280, 100, 50);
radiolist.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=RTF_AREAPASSWORD|class=node}{tr:id=name}{td}h6.RTF_AREAPASSWORD{td}{tr}{tr:id=des}{td}{sub-section:RTFPASSWORD_AREA_des|text=|trigger=button}{sub-section}{sub-section:RTFPASSWORD_AREA_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the

fieldfiels to RTF areapassword. The field will display formatted RTF content allow the user to enter passwords, masking the typed
characters.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:RTF_AREAPASSWORD_snc|text=|trigger=button}{sub-section}{sub-section:RTFPASSWORD_AREA_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:RTF_AREAPASSWORD_prs|text=|trigger=button}{sub-section}{sub-section:RTF_AREAPASSWORD_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:RTFPASSWORD_AREA_ret|text=|trigger=button}{sub-section}{sub-section:RTFPASSWORD_AREA_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:RTF_AREAPASSWORD_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RTF_AREAPASSWORD_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:RTFPASSWORD_AREA_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RTF_AREAPASSWORD_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:RTF_AREAPASSWORD_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:RTFPASSWORD_AREA_sam|trigger=none}{code:language=javascript}
var rtfpwd = form.newField('my_table_rtftext', JSField.RTF_AREAPASSWORD, 10, 340250, 100, 5020);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TEXT_AREARADIOS|class=node}{tr:id=name}{td}h6.TEXT_AREARADIOS{td}{tr}{tr:id=des}{td}{sub-section:TEXTRADIOS_AREA_des|text=|trigger=button}{sub-section}{sub-section:TEXTRADIOS_AREA_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to textradio areabuttons. The field will show text on multiple lines a radio button, or a list of them if 
the valuelist property is also set.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:TEXT_AREARADIOS_snc|text=|trigger=button}{sub-section}{sub-section:TEXT_AREARADIOS_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:TEXTRADIOS_AREA_prs|text=|trigger=button}{sub-section}{sub-section:TEXTRADIOS_AREA_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:TEXT_AREARADIOS_ret|text=|trigger=button}{sub-section}{sub-section:TEXT_AREARADIOS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:TEXTRADIOS_AREA_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXT_AREARADIOS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:TEXT_AREARADIOS_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXTRADIOS_AREA_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:TEXT_AREARADIOS_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXT_AREARADIOS_sam|trigger=none}{code:language=javascript}
var tareavlist = formsolutionModel.newFieldnewValueList('my_table_textoptions', JSFieldJSValueList.TEXT_AREA, 10, 400CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var radio = form.newField('my_table_options', JSField.RADIOS, 10, 280, 100, 50);
radio.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TEXTRTF_FIELDAREA|class=node}{tr:id=name}{td}h6.TEXTRTF_FIELDAREA{td}{tr}{tr:id=des}{td}{sub-section:TEXTRTF_FIELDAREA_des|text=|trigger=button}{sub-section}{sub-section:TEXTRTF_FIELDAREA_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the 
field to textRTF fieldarea. The field will showdisplay regularformatted text on a single lineRTF content.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:TEXTRTF_FIELDAREA_snc|text=|trigger=button}{sub-section}{sub-section:TEXTRTF_FIELDAREA_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:TEXTRTF_FIELDAREA_prs|text=|trigger=button}{sub-section}{sub-section:TEXTRTF_FIELDAREA_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:TEXTRTF_FIELDAREA_ret|text=|trigger=button}{sub-section}{sub-section:TEXTRTF_FIELDAREA_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:TEXTRTF_FIELDAREA_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXTRTF_FIELDAREA_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:TEXTRTF_FIELDAREA_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXTRTF_FIELDAREA_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:TEXTRTF_FIELDAREA_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXTRTF_FIELDAREA_sam|trigger=none}{code:language=javascript}
var tfieldrtf = form.newField('my_table_textrtf', JSField.TEXTRTF_FIELDAREA, 10, 460340, 100, 2050);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TYPE_AHEADSPINNER|class=node}{tr:id=name}{td}h6.TYPE_AHEADSPINNER{td}{tr}{tr:id=des}{td}{sub-section:TYPE_AHEADSPINNER_des|text=|trigger=button}{sub-section}{sub-section:TYPESPINNER_AHEAD_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to type aheadspinner. The field will show regular text, but will have type ahead 
capabilitiesa spinner.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:TYPESPINNER_AHEAD_snc|text=|trigger=button}{sub-section}{sub-section:TYPE_AHEADSPINNER_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:TYPE_AHEADSPINNER_prs|text=|trigger=button}{sub-section}{sub-section:TYPESPINNER_AHEAD_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:TYPESPINNER_AHEAD_ret|text=|trigger=button}{sub-section}{sub-section:TYPESPINNER_AHEAD_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:TYPE_AHEADSPINNER_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TYPESPINNER_AHEAD_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:TYPE_AHEADSPINNER_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TYPE_AHEADSPINNER_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:TYPESPINNER_AHEAD_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TYPE_AHEADSPINNER_sam|trigger=none}{code:language=javascript}
var vlist = solutionModel.newValueList('options', JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var taheadspinner = form.newField('my_table_textspinner', JSField.TYPE_AHEADSPINNER, 10, 490460, 100, 20);
taheadspinner.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=anchorsTEXT_AREA|class=node}{tr:id=name}{td}h6.anchorsTEXT_AREA{td}{tr}{tr:id=des}{td}{sub-section:anchorsTEXT_AREA_des|text=|trigger=button}{sub-section}{sub-section:anchorsTEXT_AREA_des|trigger=none|class=sIndent}EnablesConstant afor componentspecifying tothe stickdisplay to a specific side of form and/or to 
grow or shrink whentype of a window is resizedJSField. Sets the Ifdisplay oppositetype anchors are activated then of the
componentfield withto grow or 
shrink with the windowtext area. ForThe examplefield ifwill Topshow andtext Bottomon are activated, 
then the component will grow/shrink when the window is vertically 
resized. If Left and Right are activated then the component
will grow/shrink when the window is horizontally resized. 

If opposite anchors are not activated, then the component will 
keep a constant distance from the sides of the window which
correspond to the activated anchorsmultiple lines.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:anchorsTEXT_AREA_snc|text=|trigger=button}{sub-section}{sub-section:anchorsTEXT_AREA_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:anchorsTEXT_AREA_prs|text=|trigger=button}{sub-section}{sub-section:anchorsTEXT_AREA_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:anchorsTEXT_AREA_ret|text=|trigger=button}{sub-section}{sub-section:anchorsTEXT_AREA_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:anchorsTEXT_AREA_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:anchorsTEXT_AREA_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:anchorsTEXT_AREA_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:anchorsTEXT_AREA_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:anchorsTEXT_AREA_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:anchorsTEXT_AREA_sam|trigger=none}{code:language=javascript}
var formtarea = solutionModelform.newFormnewField('mediaForm', 'example_datamy_table_text', 'parent_table'JSField.TEXT_AREA, 'null'10, false400, 400100, 300);
var strechAllDirectionsLabel = form.newLabel('Strech all directions', 10, 10, 380, 280);
strechAllDirectionsLabel.background = 'red';
strechAllDirectionsLabel.anchors = SM_ANCHOR.ALL;	
var strechVerticallyLabel = form.newLabel('Strech vertically', 10, 10, 190, 280);
strechVerticallyLabel.background = 'green';
strechVerticallyLabel.anchors = SM_ANCHOR.WEST | SM_ANCHOR.NORTH | SM_ANCHOR.SOUTH;
var strechHorizontallyLabel = form.newLabel('Strech horizontally', 10, 10, 380, 140);
strechHorizontallyLabel.background = 'blue';
strechHorizontallyLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST | SM_ANCHOR.EAST;
var stickToTopLeftCornerLabel = form.newLabel('Stick to top-left corner', 10, 10, 200, 100);
stickToTopLeftCornerLabel.background = 'orange';
stickToTopLeftCornerLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST; // This is equivalent to SM_ANCHOR.DEFAULT 
var stickToBottomRightCornerLabel = form.newLabel('Stick to bottom-right corner', 190, 190, 200, 100);
stickToBottomRightCornerLabel.background = 'pink';
stickToBottomRightCornerLabel.anchors = SM_ANCHOR.SOUTH | SM_ANCHOR.EAST50);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TEXT_FIELD|class=node}{tr:id=name}{td}h6.TEXT_FIELD{td}{tr}{tr:id=des}{td}{sub-section:TEXT_FIELD_des|text=|trigger=button}{sub-section}{sub-section:TEXT_FIELD_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to text field. The field will show regular text on a single line.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:TEXT_FIELD_snc|text=|trigger=button}{sub-section}{sub-section:TEXT_FIELD_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:TEXT_FIELD_prs|text=|trigger=button}{sub-section}{sub-section:TEXT_FIELD_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:TEXT_FIELD_ret|text=|trigger=button}{sub-section}{sub-section:TEXT_FIELD_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:TEXT_FIELD_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXT_FIELD_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:TEXT_FIELD_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXT_FIELD_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:TEXT_FIELD_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TEXT_FIELD_sam|trigger=none}{code:language=javascript}
var tfield = form.newField('my_table_text', JSField.TEXT_FIELD, 10, 460, 100, 20);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=TYPE_AHEAD|class=node}{tr:id=name}{td}h6.TYPE_AHEAD{td}{tr}{tr:id=des}{td}{sub-section:TYPE_AHEAD_des|text=|trigger=button}{sub-section}{sub-section:TYPE_AHEAD_des|trigger=none|class=sIndent}Constant for specifying the display type of a JSField. Sets the display type of the
field to type ahead. The field will show regular text, but will have type ahead 
capabilities.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:TYPE_AHEAD_snc|text=|trigger=button}{sub-section}{sub-section:TYPE_AHEAD_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:TYPE_AHEAD_prs|text=|trigger=button}{sub-section}{sub-section:TYPE_AHEAD_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:TYPE_AHEAD_ret|text=|trigger=button}{sub-section}{sub-section:TYPE_AHEAD_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:TYPE_AHEAD_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TYPE_AHEAD_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:TYPE_AHEAD_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TYPE_AHEAD_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:TYPE_AHEAD_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:TYPE_AHEAD_sam|trigger=none}{code:language=javascript}
var vlist = solutionModel.newValueList('options', JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var tahead = form.newField('my_table_text', JSField.TYPE_AHEAD, 10, 490, 100, 20);
tahead.valuelist = vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=anchors|class=node}{tr:id=name}{td}h6.anchors{td}{tr}{tr:id=des}{td}{sub-section:anchors_des|text=|trigger=button}{sub-section}{sub-section:anchors_des|trigger=none|class=sIndent}Enables a component to stick to a specific side of form and/or to 
grow or shrink when a window is resized. 

If opposite anchors are activated then the component with grow or 
shrink with the window. For example if Top and Bottom are activated, 
then the component will grow/shrink when the window is vertically 
resized. If Left and Right are activated then the component
will grow/shrink when the window is horizontally resized. 

If opposite anchors are not activated, then the component will 
keep a constant distance from the sides of the window which
correspond to the activated anchors.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:anchors_snc|text=|trigger=button}{sub-section}{sub-section:anchors_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:anchors_prs|text=|trigger=button}{sub-section}{sub-section:anchors_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:anchors_ret|text=|trigger=button}{sub-section}{sub-section:anchors_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:anchors_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:anchors_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:anchors_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:anchors_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:anchors_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:anchors_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('mediaForm', 'db:/example_data/parent_table', null, false, 400, 300);
var strechAllDirectionsLabel = form.newLabel('Strech all directions', 10, 10, 380, 280);
strechAllDirectionsLabel.background = 'red';
strechAllDirectionsLabel.anchors = SM_ANCHOR.ALL;	
var strechVerticallyLabel = form.newLabel('Strech vertically', 10, 10, 190, 280);
strechVerticallyLabel.background = 'green';
strechVerticallyLabel.anchors = SM_ANCHOR.WEST | SM_ANCHOR.NORTH | SM_ANCHOR.SOUTH;
var strechHorizontallyLabel = form.newLabel('Strech horizontally', 10, 10, 380, 140);
strechHorizontallyLabel.background = 'blue';
strechHorizontallyLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST | SM_ANCHOR.EAST;
var stickToTopLeftCornerLabel = form.newLabel('Stick to top-left corner', 10, 10, 200, 100);
stickToTopLeftCornerLabel.background = 'orange';
stickToTopLeftCornerLabel.anchors = SM_ANCHOR.NORTH | SM_ANCHOR.WEST; // This is equivalent to SM_ANCHOR.DEFAULT 
var stickToBottomRightCornerLabel = form.newLabel('Stick to bottom-right corner', 190, 190, 200, 100);
stickToBottomRightCornerLabel.background = 'pink';
stickToBottomRightCornerLabel.anchors = SM_ANCHOR.SOUTH | SM_ANCHOR.EAST;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=background|class=node}{tr:id=name}{td}h6.background{td}{tr}{tr:id=des}{td}{sub-section:background_des|text=|trigger=button}{sub-section}{sub-section:background_des|trigger=none|class=sIndent}The background color of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:background_snc|text=|trigger=button}{sub-section}{sub-section:background_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:background_prs|text=|trigger=button}{sub-section}{sub-section:background_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:background_ret|text=|trigger=button}{sub-section}{sub-section:background_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:background_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:background_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:background_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:background_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:background_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:background_sam|trigger=none}{code:language=javascript}
// This property can be used on all types of components.
// Here it is illustrated only for labels and fields.
var greenLabel = form.newLabel('Green',10,10,100,50);
greenLabel.background = 'green'; // Use generic names for colors.	
var redField = form.newField('parent_table_text',JSField.TEXT_FIELD,10,110,100,30);
redField.background = '#FF0000'; // Use RGB codes for colors.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=borderType|class=node}{tr:id=name}{td}h6.borderType{td}{tr}{tr:id=des}{td}{sub-section:borderType_des|text=|trigger=button}{sub-section}{sub-section:borderType_des|trigger=none|class=sIndent}The type, color and style of border of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:borderType_snc|text=|trigger=button}{sub-section}{sub-section:borderType_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:borderType_prs|text=|trigger=button}{sub-section}{sub-section:borderType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:borderType_ret|text=|trigger=button}{sub-section}{sub-section:borderType_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:borderType_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:borderType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:borderType_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:borderType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:borderType_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:borderType_sam|trigger=none}{code:language=javascript}
//HINT: To know exactly the notation of this property set it in the designer and then read it once out through the solution model.
var field = form.newField('my_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.borderType = solutionModel.createBorder(1,'#ff0000');;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=dataProviderID|class=node}{tr:id=name}{td}h6.dataProviderID{td}{tr}{tr:id=des}{td}{sub-section:dataProviderID_des|text=|trigger=button}{sub-section}{sub-section:dataProviderID_des|trigger=none|class=sIndent}The dataprovider of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:dataProviderID_snc|text=|trigger=button}{sub-section}{sub-section:dataProviderID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:dataProviderID_prs|text=|trigger=button}{sub-section}{sub-section:dataProviderID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:dataProviderID_ret|text=|trigger=button}{sub-section}{sub-section:dataProviderID_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:dataProviderID_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:dataProviderID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:dataProviderID_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:dataProviderID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:dataProviderID_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:dataProviderID_sam|trigger=none}{code:language=javascript}
// Normally the dataprovider is specified when a component is created.
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20);
// But it can be modified later if needed.
field.dataProviderID = 'parent_table_id';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=backgrounddisplayType|class=node}{tr:id=name}{td}h6.backgrounddisplayType{td}{tr}{tr:id=des}{td}{sub-section:backgrounddisplayType_des|text=|trigger=button}{sub-section}{sub-section:backgrounddisplayType_des|trigger=none|class=sIndent}The background color of the component type of display used by the field. Can be one of CALENDAR, CHECKS,
COMBOBOX, HTML\_AREA, IMAGE\_MEDIA, PASSWORD, RADIOS, RTF\_AREA, TEXT\_AREA,
TEXT\_FIELD, TYPE\_AHEAD, LIST\_BOX, MULTISELECT\_LISTBOX or SPINNER.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:backgrounddisplayType_snc|text=|trigger=button}{sub-section}{sub-section:backgrounddisplayType_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:backgrounddisplayType_prs|text=|trigger=button}{sub-section}{sub-section:backgrounddisplayType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:backgrounddisplayType_ret|text=|trigger=button}{sub-section}{sub-section:backgrounddisplayType_ret|trigger=none|class=sIndent}[StringNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:backgrounddisplayType_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:backgrounddisplayType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:backgrounddisplayType_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:backgrounddisplayType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:backgrounddisplayType_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:backgrounddisplayType_sam|trigger=none}{code:language=javascript}
// This property can be used on all types of components.
// Here it is illustrated only for labels and fields.
var greenLabel=none}{code:language=javascript}
// The display type is specified when the field is created.
var cal = form.newLabelnewField('Green',my_table_date', JSField.CALENDAR, 10, 10, 100,50 20);
greenLabel.background = 'green'; // Use generic names for colors.	
var redField = form.newField('parent// But it can be changed if needed.
cal.dataProviderID = 'my_table_text',JSField.TEXT_FIELD,10,110,100,30);
redFieldcal.backgrounddisplayType = '#FF0000'; // Use RGB codes for colors.
JSField.TEXT_FIELD;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=borderTypedisplaysTags|class=node}{tr:id=name}{td}h6.borderTypedisplaysTags{td}{tr}{tr:id=des}{td}{sub-section:borderTypedisplaysTags_des|text=|trigger=button}{sub-section}{sub-section:borderTypedisplaysTags_des|trigger=none|class=sIndent}The type, color and style of borderdataprovider of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:borderTypedisplaysTags_snc|text=|trigger=button}{sub-section}{sub-section:borderTypedisplaysTags_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:borderTypedisplaysTags_prs|text=|trigger=button}{sub-section}{sub-section:borderTypedisplaysTags_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:borderTypedisplaysTags_ret|text=|trigger=button}{sub-section}{sub-section:borderTypedisplaysTags_ret|trigger=none|class=sIndent}[StringBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:borderTypedisplaysTags_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:borderTypedisplaysTags_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:borderTypedisplaysTags_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:borderTypedisplaysTags_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:borderTypedisplaysTags_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:borderTypedisplaysTags_sam|trigger=none}{code:language=javascript}
//HINT: To know exactly the notation of this property set it in}
// Normally the designerdataprovider andis thenspecified readwhen ita oncecomponent out through the solution modelis created.
var field = form.newField('myparent_table_text', JSField.TEXT_FIELD, 10, 1040, 100, 20);
// But it can be modified later if needed.
field.borderTypedataProviderID = solutionModel.createBorder(1,'#ff0000');;'parent_table_id';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=dataProviderIDeditable|class=node}{tr:id=name}{td}h6.dataProviderIDeditable{td}{tr}{tr:id=des}{td}{sub-section:dataProviderIDeditable_des|text=|trigger=button}{sub-section}{sub-section:dataProviderIDeditable_des|trigger=none|class=sIndent}The dataprovider of the componentFlag that tells if the content of the field can be edited or not. 
The default value of this flag is "true", that is the content can be edited.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:dataProviderIDeditable_snc|text=|trigger=button}{sub-section}{sub-section:dataProviderIDeditable_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:dataProviderIDeditable_prs|text=|trigger=button}{sub-section}{sub-section:dataProviderIDeditable_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:dataProviderIDeditable_ret|text=|trigger=button}{sub-section}{sub-section:dataProviderIDeditable_ret|trigger=none|class=sIndent}[StringBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:dataProviderIDeditable_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:dataProviderIDeditable_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:dataProviderIDeditable_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:dataProviderIDeditable_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:dataProviderIDeditable_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:dataProviderIDeditable_sam|trigger=none}{code:language=javascript}
// Normally the dataprovider is specified when a component is created.
var field = form.newField('parentmy_table_text', JSField.TEXT_FIELD, 10, 4010, 100, 20);
// But it can be modified later if needed. 20);
field.dataProviderIDeditable = 'parent_table_id'false;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=displayTypeenabled|class=node}{tr:id=name}{td}h6.displayTypeenabled{td}{tr}{tr:id=des}{td}{sub-section:displayTypeenabled_des|text=|trigger=button}{sub-section}{sub-section:displayTypeenabled_des|trigger=none|class=sIndent}The enable typestate of display used by the field. Can be one of CALENDARcomponent, CHECKS,
COMBOBOX, HTML\_AREA, IMAGE\_MEDIA, PASSWORD, RADIOS, RTF\_AREA, TEXT\_AREA,
TEXT\_FIELD or TYPE\_AHEADdefault true.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:displayTypeenabled_snc|text=|trigger=button}{sub-section}{sub-section:displayTypeenabled_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:displayTypeenabled_prs|text=|trigger=button}{sub-section}{sub-section:displayTypeenabled_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:displayTypeenabled_ret|text=|trigger=button}{sub-section}{sub-section:displayTypeenabled_ret|trigger=none|class=sIndent}[NumberBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:displayTypeenabled_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:displayTypeenabled_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:displayTypeenabled_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:displayTypeenabled_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:displayTypeenabled_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:displayTypeenabled_sam|trigger=none}{code:language=javascript}
//var Theform display type is specified when the field is created.
var cal= solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var field = form.newField('myparent_table_datetext', JSField.CALENDARTEXT_FIELD, 10, 10, 100, 20);
// But it can be changed if needed.
cal.dataProviderID = 'my_table_text';
cal.displayType = JSField.TEXT_FIELD, 100, 20);
field.enabled = false;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=displaysTagsfontType|class=node}{tr:id=name}{td}h6.displaysTagsfontType{td}{tr}{tr:id=des}{td}{sub-section:displaysTagsfontType_des|text=|trigger=button}{sub-section}{sub-section:displaysTagsfontType_des|trigger=none|class=sIndent}The dataproviderfont type of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:displaysTagsfontType_snc|text=|trigger=button}{sub-section}{sub-section:displaysTagsfontType_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:displaysTagsfontType_prs|text=|trigger=button}{sub-section}{sub-section:displaysTagsfontType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:displaysTagsfontType_ret|text=|trigger=button}{sub-section}{sub-section:displaysTagsfontType_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:displaysTagsfontType_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:displaysTagsfontType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:displaysTagsfontType_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:displaysTagsfontType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:displaysTagsfontType_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:displaysTagsfontType_sam|trigger=none}{code:language=javascript}
// Normally the dataprovider is specified when a component
is created.
var fieldlabel = form.newFieldnewLabel('parent_table_text', JSField.TEXT_FIELDText here', 10, 4050, 100, 20);
// But it can be modified later if needed.
field.dataProviderID = 'parent_table_id'label.fontType = solutionModel.createFont('Times New Roman',1,14);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=editableforeground|class=node}{tr:id=name}{td}h6.editableforeground{td}{tr}{tr:id=des}{td}{sub-section:editableforeground_des|text=|trigger=button}{sub-section}{sub-section:editableforeground_des|trigger=none|class=sIndent}Flag that tells if the content of the field can be edited or not. 
The default value of this flag is "true", that is the content can be edited foreground color of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:editableforeground_snc|text=|trigger=button}{sub-section}{sub-section:editableforeground_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:editableforeground_prs|text=|trigger=button}{sub-section}{sub-section:editableforeground_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:editableforeground_ret|text=|trigger=button}{sub-section}{sub-section:editableforeground_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:editableforeground_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:editableforeground_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:editableforeground_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:editableforeground_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:editableforeground_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:editableforeground_sam|trigger=none}{code:language=javascript}
// This property can be used on all types of components.
// Here it is illustrated only for labels and fields.
var labelWithBlueText = form.newLabel('Blue text', 10, 10, 100, 30);
labelWithBlueText.foreground = 'blue'; // Use generic names for colors.
var fieldfieldWithYellowText = form.newField('myparent_table_text', JSField.TEXT_FIELD, 10, 1050, 100, 20);
fieldfieldWithYellowText.editableforeground = false;
'#FFFF00'; // Use RGB codes for colors.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=enabledformIndex|class=node}{tr:id=name}{td}h6.enabledformIndex{td}{tr}{tr:id=des}{td}{sub-section:enabledformIndex_des|text=|trigger=button}{sub-section}{sub-section:enabledformIndex_des|trigger=none|class=sIndent}The enable state of=none|class=sIndent}The Z index of this component. If two components overlap,
then the component with higher Z index is displayed above
the component, default true with lower Z index.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:enabledformIndex_snc|text=|trigger=button}{sub-section}{sub-section:enabledformIndex_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:enabledformIndex_prs|text=|trigger=button}{sub-section}{sub-section:enabledformIndex_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:enabledformIndex_ret|text=|trigger=button}{sub-section}{sub-section:enabledformIndex_ret|trigger=none|class=sIndent}[BooleanNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:enabledformIndex_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enabledformIndex_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:enabledformIndex_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enabledformIndex_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:enabledformIndex_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enabledformIndex_sam|trigger=none}{code:language=javascript}
var formlabelBelow = solutionModelform.newFormnewLabel('printFormGreen', 10, 'example_data'10, 'parent_table'100, 'null', false, 400, 300)50);
labelBelow.background = 'green';	
labelBelow.formIndex = 10;
var fieldfieldAbove = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20)30);
fieldAbove.background = '#FF0000';
fieldfieldAbove.enabledformIndex = false20;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=fontTypeformat|class=node}{tr:id=name}{td}h6.fontTypeformat{td}{tr}{tr:id=des}{td}{sub-section:fontTypeformat_des|text=|trigger=button}{sub-section}{sub-section:fontTypeformat_des|trigger=none|class=sIndent}The font type of the component format that should be applied when displaying the data in the component.
Some examples are "#%", "dd\-MM\-yyyy", "MM\-dd\-yyyy", etc.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:fontTypeformat_snc|text=|trigger=button}{sub-section}{sub-section:fontTypeformat_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:fontTypeformat_prs|text=|trigger=button}{sub-section}{sub-section:fontTypeformat_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:fontTypeformat_ret|text=|trigger=button}{sub-section}{sub-section:fontTypeformat_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:fontTypeformat_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:fontTypeformat_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:fontTypeformat_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:fontTypeformat_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:fontTypeformat_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:fontTypeformat_sam|trigger=none}{code:language=javascript}
var labelfield = form.newLabel('Text here'newField('my_table_number', JSField.TEXT_FIELD, 10, 5010, 100, 20);
labelfield.fontTypeformat = solutionModel.createFont('Times New Roman',1,14)'$#.00';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=foregroundgroupID|class=node}{tr:id=name}{td}h6.foregroundgroupID{td}{tr}{tr:id=des}{td}{sub-section:foregroundgroupID_des|text=|trigger=button}{sub-section}{sub-section:foregroundgroupID_des|trigger=none|class=sIndent}A String representing a group ID for this component. If several
components have the same group ID then they belong to the same
group of components. Using the group itself, all components can
be disabled/enabled or made invisible/visible.
The foreground color group id should be a javascript compatible identifier to allow access of the componentgroup in scripting.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:foregroundgroupID_snc|text=|trigger=button}{sub-section}{sub-section:foregroundgroupID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:foregroundgroupID_prs|text=|trigger=button}{sub-section}{sub-section:foregroundgroupID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:foregroundgroupID_ret|text=|trigger=button}{sub-section}{sub-section:foregroundgroupID_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:foregroundgroupID_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:foregroundgroupID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:foregroundgroupID_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:foregroundgroupID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:foregroundgroupID_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:foregroundgroupID_sam|trigger=none}{code:language=javascript}
// This property can be used on all types of components.
// Here it is illustrated only for labels and fields.
var labelWithBlueTextlanguage=javascript}
var form = solutionModel.newForm('someForm', 'db:/example_data/parent_table', null, false, 400, 300);
var label = form.newLabel('Blue textGreen', 10, 10, 100, 3020);
labelWithBlueText.foreground = 'blue'; // Use
generic names for colors.
var fieldWithYellowTextfield = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 5040, 100, 20);
fieldWithYellowTextlabel.foregroundgroupID = '#FFFF00someGroup';
// Use RGB codes for colors.field.groupID = 'someGroup';	
forms['someForm'].elements.someGroup.enabled = false;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=formIndexheight|class=node}{tr:id=name}{td}h6.formIndexheight{td}{tr}{tr:id=des}{td}{sub-section:formIndexheight_des|text=|trigger=button}{sub-section}{sub-section:formIndexheight_des|trigger=none|class=sIndent}The height Zin indexpixels of this component. If two components overlap,
then the component with higher Z index is displayed above
the component with lower Z index.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:formIndexheight_snc|text=|trigger=button}{sub-section}{sub-section:formIndexheight_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:formIndexheight_prs|text=|trigger=button}{sub-section}{sub-section:formIndexheight_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:formIndexheight_ret|text=|trigger=button}{sub-section}{sub-section:formIndexheight_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:formIndexheight_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formIndexheight_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:formIndexheight_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formIndexheight_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:formIndexheight_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formIndexheight_sam|trigger=none}{code:language=javascript}
var labelBelowfield = form.newLabelnewField('Greenparent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 5020);
labelBelow.background = 'green';	
labelBelow.formIndex = 10;
var fieldAbove = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 30);
fieldAbove.background = '#FF0000';
fieldAbove.formIndex = 20application.output('original width: ' + field.width);
application.output('original height: ' + field.height);
field.width = 200;
field.height = 100;
application.output('modified width: ' + field.width);
application.output('modified height: ' + field.height);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=formathorizontalAlignment|class=node}{tr:id=name}{td}h6.formathorizontalAlignment{td}{tr}{tr:id=des}{td}{sub-section:formathorizontalAlignment_des|text=|trigger=button}{sub-section}{sub-section:formathorizontalAlignment_des|trigger=none|class=sIndent}The format that should be applied when displaying the data in the component.
Some examples are "#%", "dd\-MM\-yyyy", "MM\-dd\-yyyy", etcHorizontal alignment of the text inside the component. Can be one of
LEFT, CENTER or RIGHT.

Note that this property does not refer to the horizontal alignment
of the component inside the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:formathorizontalAlignment_snc|text=|trigger=button}{sub-section}{sub-section:formathorizontalAlignment_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:formathorizontalAlignment_prs|text=|trigger=button}{sub-section}{sub-section:formathorizontalAlignment_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:formathorizontalAlignment_ret|text=|trigger=button}{sub-section}{sub-section:formathorizontalAlignment_ret|trigger=none|class=sIndent}[StringNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:formathorizontalAlignment_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formathorizontalAlignment_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:formathorizontalAlignment_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formathorizontalAlignment_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:formathorizontalAlignment_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formathorizontalAlignment_sam|trigger=none}{code:language=javascript}
var fieldleftAlignedLabel = form.newFieldnewLabel('my_table_number', JSField.TEXT_FIELD'LEFT', 10, 10, 300, 20);
leftAlignedLabel.horizontalAlignment = SM_ALIGNMENT.LEFT;
var hCenteredLabel = form.newLabel('CENTER', 10, 40, 300, 20);
hCenteredLabel.horizontalAlignment = SM_ALIGNMENT.CENTER;
var rightAlignedLabel = form.newLabel('RIGHT', 10, 1070, 100300, 20);
fieldrightAlignedLabel.formathorizontalAlignment = '$#.00'SM_ALIGNMENT.RIGHT;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=groupIDmargin|class=node}{tr:id=name}{td}h6.groupIDmargin{td}{tr}{tr:id=des}{td}{sub-section:groupIDmargin_des|text=|trigger=button}{sub-section}{sub-section:groupIDmargin_des|trigger=none|class=sIndent}A String representing a group ID for this component. If several
components have the same group ID then they belong to the same
group of components. Using the group itself, all components can
be disabled/enabled or made invisible/visible.
The group id should be a javascript compatible identifier to allow access of the group in scriptingThe margins of the component. They are specified in this order, 
separated by commas: top, left, bottom, right.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:groupIDmargin_snc|text=|trigger=button}{sub-section}{sub-section:groupIDmargin_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:groupIDmargin_prs|text=|trigger=button}{sub-section}{sub-section:groupIDmargin_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:groupIDmargin_ret|text=|trigger=button}{sub-section}{sub-section:groupIDmargin_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:groupIDmargin_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:groupIDmargin_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:groupIDmargin_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:groupIDmargin_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:groupIDmargin_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:groupIDmargin_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someForm', 'example_data', 'parent_table', 'null', false,
400, 300);
var label = form.newLabel('GreenLabel', 10, 10, 100, 20);
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20150, 150);
label.groupIDbackground = 'someGroup';
field.groupID = 'someGroupyellow';	
forms['someForm'].elements.someGroup.enabled
label.margin = false'10,20,30,40';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=heightname|class=node}{tr:id=name}{td}h6.heightname{td}{tr}{tr:id=des}{td}{sub-section:heightname_des|text=|trigger=button}{sub-section}{sub-section:heightname_des|trigger=none|class=sIndent}The height in pixelsname of the component. Through this name it can also accessed in methods.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:heightname_snc|text=|trigger=button}{sub-section}{sub-section:heightname_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:heightname_prs|text=|trigger=button}{sub-section}{sub-section:heightname_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:heightname_ret|text=|trigger=button}{sub-section}{sub-section:heightname_ret|trigger=none|class=sIndent}[NumberString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:heightname_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:heightname_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:heightname_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:heightname_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:heightname_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:heightname_sam|trigger=none}{code:language=javascript}
var fieldform = formsolutionModel.newFieldnewForm('someForm', 'db:/example_data/parent_table_text', JSField.TEXT_FIELD null, false, 620, 300);
var label = form.newLabel('Label', 10, 10, 100150, 20150);
application.output('original width: ' + field.width);
application.output('original height: ' + field.height);
field.width = 200;
field.height = 100;
application.output('modified width: ' + field.width);
application.output('modified height: ' + field.height)label.name = 'myLabel'; // Give a name to the component.
forms['someForm'].controller.show()
// Now use the name to access the component.
forms['someForm'].elements['myLabel'].text = 'Updated text';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=horizontalAlignmentonAction|class=node}{tr:id=name}{td}h6.horizontalAlignmentonAction{td}{tr}{tr:id=des}{td}{sub-section:horizontalAlignmentonAction_des|text=|trigger=button}{sub-section}{sub-section:horizontalAlignmentonAction_des|trigger=none|class=sIndent}Horizontal alignment of the text inside the component. Can be one of
LEFT, CENTER or RIGHT.

NoteThe method that thisis property does not refer toexecuted when the horizontal alignment
of the component insideis the formclicked.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:horizontalAlignmentonAction_snc|text=|trigger=button}{sub-section}{sub-section:horizontalAlignmentonAction_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:horizontalAlignmentonAction_prs|text=|trigger=button}{sub-section}{sub-section:horizontalAlignmentonAction_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:horizontalAlignmentonAction_ret|text=|trigger=button}{sub-section}{sub-section:horizontalAlignmentonAction_ret|trigger=none|class=sIndent}[NumberJSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:horizontalAlignmentonAction_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:horizontalAlignmentonAction_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:horizontalAlignmentonAction_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:horizontalAlignmentonAction_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onAction_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:horizontalAlignmentonAction_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:horizontalAlignment_sam|trigger=none}{code:language=javascript}
var leftAlignedLabel = form.newLabel('LEFT', 10, 10, 300, 20);
leftAlignedLabel.horizontalAlignment = SM_ALIGNMENT.LEFT;
var hCenteredLabel = form.newLabel('CENTERtrigger=none}{code:language=javascript}
var doNothingMethod = form.newMethod('function doNothing() { application.output("Doing nothing."); }');
var onClickMethod = form.newMethod('function onClick(event) { application.output("I was clicked at " + event.getTimestamp()); }');
var onDoubleClickMethod = form.newMethod('function onDoubleClick(event) { application.output("I was double-clicked at " + event.getTimestamp()); }');
var onRightClickMethod = form.newMethod('function onRightClick(event) { application.output("I was right-clicked at " + event.getTimestamp()); }');
// At creation the button has the 'doNothing' method as onClick handler, but we'll change that later.
var btn = form.newButton('I am a button', 10, 40, 300200, 20, doNothingMethod);
hCenteredLabelbtn.horizontalAlignmentonAction = SM_ALIGNMENT.CENTERonClickMethod;
varbtn.onDoubleClick rightAlignedLabel = form.newLabel('RIGHT', 10, 70, 300, 20)onDoubleClickMethod;
rightAlignedLabelbtn.horizontalAlignmentonRightClick = SM_ALIGNMENT.RIGHTonRightClickMethod;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=marginonDataChange|class=node}{tr:id=name}{td}h6.marginonDataChange{td}{tr}{tr:id=des}{td}{sub-section:marginonDataChange_des|text=|trigger=button}{sub-section}{sub-section:marginonDataChange_des|trigger=none|class=sIndent}TheMethod marginsthat ofis theexecuted component.when Theythe are specifieddata in thisthe order,component is separated by commas: top, right, bottom, leftsuccessfully changed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:marginonDataChange_snc|text=|trigger=button}{sub-section}{sub-section:marginonDataChange_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:marginonDataChange_prs|text=|trigger=button}{sub-section}{sub-section:marginonDataChange_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:marginonDataChange_ret|text=|trigger=button}{sub-section}{sub-section:marginonDataChange_ret|trigger=none|class=sIndent}[StringJSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:marginonDataChange_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:marginonDataChange_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:marginonDataChange_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:marginonDataChange_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:marginonDataChange_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:margin_sam|trigger=none}{code:language=javascript}
var label}{sub-section:onDataChange_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someForm', 'db:/example_data/parent_table', null, false, 620, 300);
var onDataChangeMethod = form.newMethod('function onDataChange(oldValue, newValue, event) { application.output("Data changed from " + oldValue + " to " + newValue + " at " + event.getTimestamp()); }');
var field = form.newLabelnewField('Labelparent_table_text', JSField.TEXT_FIELD, 10, 10, 150100, 15020);
labelfield.backgroundonDataChange = 'yellow'onDataChangeMethod;
label.margin = '10,20,30,40'forms['someForm'].controller.show();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=nameonFocusGained|class=node}{tr:id=name}{td}h6.nameonFocusGained{td}{tr}{tr:id=des}{td}{sub-section:nameonFocusGained_des|text=|trigger=button}{sub-section}{sub-section:nameonFocusGained_des|trigger=none|class=sIndent}The name of method that is executed when the component gains focus.
NOTE: Do Throughnot thiscall namemethods itthat canwill alsoinfluence accessedthe infocus methodsitself.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:nameonFocusGained_snc|text=|trigger=button}{sub-section}{sub-section:nameonFocusGained_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:nameonFocusGained_prs|text=|trigger=button}{sub-section}{sub-section:nameonFocusGained_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:nameonFocusGained_ret|text=|trigger=button}{sub-section}{sub-section:nameonFocusGained_ret|trigger=none|class=sIndent}[StringJSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:nameonFocusGained_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:nameonFocusGained_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:nameonFocusGained_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:nameonFocusGained_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:nameonFocusGained_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:nameonFocusGained_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someForm', 'db:/example_data', '/parent_table', 'null', false, 620, 300);
var labelonFocusLostMethod = form.newLabel('Label', 10, 10, 150, 150);
label.name = 'myLabel'; // Give a name to the component.
forms['someForm'].controller.show()
// Now use the name to access the component.
newMethod('function onFocusLost(event) { application.output("Focus lost at " + event.getTimestamp()); }');
var onFocusGainedMethod = form.newMethod('function onFocusGained(event) { application.output("Focus gained at " + event.getTimestamp()); }');
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.onFocusGained = onFocusGainedMethod;
field.onFocusLost = onFocusLostMethod;
forms['someForm'].elements['myLabel'].text = 'Updated text';
controller.show()
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onActiononFocusLost|class=node}{tr:id=name}{td}h6.onActiononFocusLost{td}{tr}{tr:id=des}{td}{sub-section:onActiononFocusLost_des|text=|trigger=button}{sub-section}{sub-section:onActiononFocusLost_des|trigger=none|class=sIndent}The method that is executed when the component islooses clickedfocus.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onActiononFocusLost_snc|text=|trigger=button}{sub-section}{sub-section:onActiononFocusLost_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:onActiononFocusLost_prs|text=|trigger=button}{sub-section}{sub-section:onActiononFocusLost_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onActiononFocusLost_ret|text=|trigger=button}{sub-section}{sub-section:onActiononFocusLost_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onActiononFocusLost_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onActiononFocusLost_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onActiononFocusLost_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onActiononFocusLost_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onActiononFocusLost_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onActiononFocusLost_sam|trigger=none}{code:language=javascript}
var doNothingMethodform = formsolutionModel.newFormMethodnewForm('someForm'function doNothing() { application.output("Doing nothing."); }', 'db:/example_data/parent_table', null, false, 620, 300);
var onClickMethodonFocusLostMethod = form.newFormMethodnewMethod('function onClickonFocusLost(event) { application.output("IFocus was clickedlost at " + event.getTimestamp()); }');
var onDoubleClickMethodonFocusGainedMethod = form.newFormMethodnewMethod('function onDoubleClickonFocusGained(event) { application.output("I was double-clickedFocus gained at " + event.getTimestamp()); }');
var onRightClickMethodfield = form.newFormMethod('function onRightClick(event) { application.output("I was right-clicked at " + event.getTimestamp()); }');
// At creation the button has the 'doNothing' method as onClick handler, but we'll change that later.
var btn = form.newButton('I am a button', 10, 40, 200, 20, doNothingMethod);
btn.onAction = onClickMethod;
btn.onDoubleClick = onDoubleClickMethod;
btn.onRightClick = onRightClickMethod;
newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.onFocusGained = onFocusGainedMethod;
field.onFocusLost = onFocusLostMethod;
forms['someForm'].controller.show()
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onDataChangeonRender|class=node}{tr:id=name}{td}h6.onDataChangeonRender{td}{tr}{tr:id=des}{td}{sub-section:onDataChangeonRender_des|text=|trigger=button}{sub-section}{sub-section:onDataChangeonRender_des|trigger=none|class=sIndent}MethodThe method that is executed when the data in the component is successfully changedrendered.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onDataChangeonRender_snc|text=|trigger=button}{sub-section}{sub-section:onDataChangeonRender_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:onDataChangeonRender_prs|text=|trigger=button}{sub-section}{sub-section:onDataChangeonRender_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onDataChangeonRender_ret|text=|trigger=button}{sub-section}{sub-section:onDataChangeonRender_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onDataChangeonRender_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onDataChangeonRender_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onDataChangeonRender_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onDataChangeonRender_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onDataChangeonRender_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onDataChangeonRender_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someForm', 'example_data', 'parent_table', 'null', false, 620, 300);
var onDataChangeMethod = form.newFormMethod('function onDataChange(oldValue, newValue, event) { application.output("Data changed from " + oldValue + " to " + newValue + " at " + event.getTimestamp()); }');
var fieldfield.onRender = form.newFieldnewMethod('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.onDataChange = onDataChangeMethod;
forms['someForm'].controller.show(function onRender(event) { event.getElement().bgcolor = \'#00ff00\' }');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onFocusGainedonRightClick|class=node}{tr:id=name}{td}h6.onFocusGainedonRightClick{td}{tr}{tr:id=des}{td}{sub-section:onFocusGainedonRightClick_des|text=|trigger=button}{sub-section}{sub-section:onFocusGainedonRightClick_des|trigger=none|class=sIndent}The method that is executed when the component gainsis focus.
NOTE: Do not call methods that will influence the focus itselfright clicked.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onFocusGainedonRightClick_snc|text=|trigger=button}{sub-section}{sub-section:onFocusGainedonRightClick_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:onFocusGainedonRightClick_prs|text=|trigger=button}{sub-section}{sub-section:onFocusGainedonRightClick_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onFocusGainedonRightClick_ret|text=|trigger=button}{sub-section}{sub-section:onFocusGainedonRightClick_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onFocusGainedonRightClick_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onFocusGainedonRightClick_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onFocusGainedonRightClick_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onFocusGainedonRightClick_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onFocusGainedonRightClick_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onFocusGainedonRightClick_sam|trigger=none}{code:language=javascript}
var formdoNothingMethod = solutionModelform.newForm('someForm', 'example_data', 'parent_table', 'null', false, 620, 300newMethod('function doNothing() { application.output("Doing nothing."); }');
var onClickMethod = form.newMethod('function onClick(event) { application.output("I was clicked at " + event.getTimestamp()); }');
var onFocusLostMethodonDoubleClickMethod = form.newFormMethodnewMethod('function onFocusLostonDoubleClick(event) { application.output("Focus lostI was double-clicked at " + event.getTimestamp()); }');
var onFocusGainedMethodonRightClickMethod = form.newFormMethodnewMethod('function onFocusGainedonRightClick(event) { application.output("Focus gainedI was right-clicked at " + event.getTimestamp()); }');
// At creation the button has the 'doNothing' method as onClick handler, but we'll change that later.
var fieldbtn = form.newFieldnewButton('parent_table_textI am a button', JSField.TEXT_FIELD10, 1040, 10200, 10020, 20doNothingMethod);
fieldbtn.onFocusGainedonAction = onFocusGainedMethodonClickMethod;
fieldbtn.onFocusLostonDoubleClick = onFocusLostMethodonDoubleClickMethod;
forms['someForm'].controller.show()btn.onRightClick = onRightClickMethod;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onFocusLostprintSliding|class=node}{tr:id=name}{td}h6.onFocusLostprintSliding{td}{tr}{tr:id=des}{td}{sub-section:onFocusLostprintSliding_des|text=|trigger=button}{sub-section}{sub-section:onFocusLostprintSliding_des|trigger=none|class=sIndent}Enables an element to resize based on its content and/or move when printing.
The method that is executed when the component looses focus component can move horizontally or vertically and can grow or shrink in 
height and width, based on its content and the content of neighboring 
components.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onFocusLostprintSliding_snc|text=|trigger=button}{sub-section}{sub-section:onFocusLostprintSliding_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:onFocusLostprintSliding_prs|text=|trigger=button}{sub-section}{sub-section:onFocusLostprintSliding_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onFocusLostprintSliding_ret|text=|trigger=button}{sub-section}{sub-section:onFocusLostprintSliding_ret|trigger=none|class=sIndent}[JSMethodNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onFocusLostprintSliding_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onFocusLostprintSliding_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onFocusLostprintSliding_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onFocusLostprintSliding_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onFocusLostprintSliding_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onFocusLostprintSliding_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someFormprintForm', 'db:/example_data', '/parent_table', 'null', false, 620400, 300);
var onFocusLostMethodslidingLabel = form.newFormMethodnewLabel('function onFocusLost(event) { application.output("Focus lost at " + event.getTimestamp()); }');
var onFocusGainedMethod = form.newFormMethod('function onFocusGained(event) { application.output("Focus gained at " + event.getTimestamp()); }');
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.onFocusGained = onFocusGainedMethod;
field.onFocusLost = onFocusLostMethod;
forms['someForm'].controller.show()Some long text here', 10, 10, 5, 5);
slidingLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT | SM_PRINT_SLIDING.GROW_WIDTH;
slidingLabel.background = 'gray';
forms['printForm'].controller.showPrintPreview();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onRenderprintable|class=node}{tr:id=name}{td}h6.onRenderprintable{td}{tr}{tr:id=des}{td}{sub-section:onRenderprintable_des|text=|trigger=button}{sub-section}{sub-section:onRenderprintable_des|trigger=none|class=sIndent}The method that is executedFlag that tells if the component should be printed or not when the componentform is rendered printed.

By default components are printable.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onRenderprintable_snc|text=|trigger=button}{sub-section}{sub-section:onRenderprintable_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:onRenderprintable_prs|text=|trigger=button}{sub-section}{sub-section:onRenderprintable_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onRenderprintable_ret|text=|trigger=button}{sub-section}{sub-section:onRenderprintable_ret|trigger=none|class=sIndent}[JSMethodBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onRenderprintable_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onRenderprintable_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onRenderprintable_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onRenderprintable_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onRenderprintable_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onRenderprintable_sam|trigger=none}{code:language=javascript}
field.onRender = form.newFormMethod('function onRender(event) { event.getElement().bgcolor = \'#00ff00\' }');=javascript}
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var printedField = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
var notPrintedField = form.newField('parent_table_id', JSField.TEXT_FIELD, 10, 40, 100, 20);
notPrintedField.printable = false; // This field won't show up in print preview and won't be printed.
forms['printForm'].controller.showPrintPreview()
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onRightClickscrollbars|class=node}{tr:id=name}{td}h6.onRightClickscrollbars{td}{tr}{tr:id=des}{td}{sub-section:onRightClickscrollbars_des|text=|trigger=button}{sub-section}{sub-section:onRightClickscrollbars_des|trigger=none|class=sIndent}The method that is executed when the component is right clickedScrollbar options for the vertical and horizontal scrollbars. Each of the
vertical and horizontal scrollbars can be configured to display all the time,
to display only when needed or to never display.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onRightClickscrollbars_snc|text=|trigger=button}{sub-section}{sub-section:onRightClickscrollbars_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:onRightClickscrollbars_prs|text=|trigger=button}{sub-section}{sub-section:onRightClickscrollbars_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onRightClickscrollbars_ret|text=|trigger=button}{sub-section}{sub-section:onRightClickscrollbars_ret|trigger=none|class=sIndent}[JSMethodNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onRightClickscrollbars_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onRightClickscrollbars_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onRightClickscrollbars_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onRightClickscrollbars_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onRightClickscrollbars_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:onRightClick_sam|trigger=none}{code:language=javascript}
var doNothingMethod = form.newFormMethod('function doNothing() { application.output("Doing nothing."); }');
var onClickMethod = form.newFormMethod('function onClick(event) { application.output("I was clicked at " + event.getTimestamp()); }');
var onDoubleClickMethod}{div:class=sIndent}{sub-section:scrollbars_sam|trigger=none}{code:language=javascript}
var noScrollbars = form.newFormMethod('function onDoubleClick(event) { application.output("I was double-clicked at " + event.getTimestamp()); }');
var onRightClickMethod = form.newFormMethod('function onRightClick(event) { application.output("I was right-clicked at " + event.getTimestamp()); }');
// At creation the button has the 'doNothing' method as onClick handler, but we'll change that later.
var btn = form.newButton('I am a button', 10, 40, 200, 20, doNothingMethod);
btn.onAction = onClickMethod;
btn.onDoubleClick = onDoubleClickMethod;
btn.onRightClick = onRightClickMethodnewField('my_table_text', JSField.TEXT_AREA, 10, 10, 100, 100);
noScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_NEVER | SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER;
var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
neededScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_AS_NEEDED | SM_SCROLLBAR.VERTICAL_SCROLLBAR_AS_NEEDED;
var alwaysScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 230, 10, 100, 100);
alwaysScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_ALWAYS | SM_SCROLLBAR.VERTICAL_SCROLLBAR_ALWAYS;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=printSlidingselectOnEnter|class=node}{tr:id=name}{td}h6.printSlidingselectOnEnter{td}{tr}{tr:id=des}{td}{sub-section:printSlidingselectOnEnter_des|text=|trigger=button}{sub-section}{sub-section:printSlidingselectOnEnter_des|trigger=none|class=sIndent}EnablesFlag anthat elementtells to resize based on itsif the content and/orof movethe whenfield printing.should Thebe componentautomatically canselected
movewhen horizontally or vertically and can grow or shrink in 
height and width, based on its content and the content of neighboring 
componentsthe field receives focus. The default value of this field is "false".{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:printSlidingselectOnEnter_snc|text=|trigger=button}{sub-section}{sub-section:printSlidingselectOnEnter_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:printSlidingselectOnEnter_prs|text=|trigger=button}{sub-section}{sub-section:printSlidingselectOnEnter_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:printSlidingselectOnEnter_ret|text=|trigger=button}{sub-section}{sub-section:printSlidingselectOnEnter_ret|trigger=none|class=sIndent}[NumberBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:printSlidingselectOnEnter_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:printSlidingselectOnEnter_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:printSlidingselectOnEnter_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:printSlidingselectOnEnter_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:printSlidingselectOnEnter_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:printSlidingselectOnEnter_sam|trigger=none}{code:language=javascript}
// Create two fields and set one of them to have "selectOnEnter" true. As you tab
// through the fields you can notice how the text inside the second field gets
// automatically selected when the field receives focus.
var formfieldNoSelect = solutionModelform.newFormnewField('printForm', 'example_datamy_table_text', 'parent_table'JSField.TEXT_FIELD, 'null'10, false10, 400100, 30020);
var slidingLabelfieldSelect = form.newLabelnewField('Some long text heremy_table_text', 10JSField.TEXT_FIELD, 10, 5, 5);
slidingLabel.printSliding = SM_PRINT_SLIDING.GROW_HEIGHT | SM_PRINT_SLIDING.GROW_WIDTH;
slidingLabel.background = 'gray';
forms['printForm'].controller.showPrintPreview() 40, 100, 20);
fieldSelect.selectOnEnter = true;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=printablestyleClass|class=node}{tr:id=name}{td}h6.printablestyleClass{td}{tr}{tr:id=des}{td}{sub-section:printablestyleClass_des|text=|trigger=button}{sub-section}{sub-section:printable_des|trigger=none|class=sIndent}Flag that tells if the component should be printed or not when the form is printed.

By default components are printablestyleClass_des|trigger=none|class=sIndent}The name of the style class that should be applied to this component.

When defining style classes for specific component types, their names
must be prefixed according to the type of the component. For example 
in order to define a class names 'fancy' for fields, in the style
definition the class must be named 'field.fancy'. If it would be 
intended for labels, then it would be named 'label.fancy'. When specifying
the class name for a component, the prefix is dropped however. Thus the
field or the label will have its styleClass property set to 'fancy' only.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:printablestyleClass_snc|text=|trigger=button}{sub-section}{sub-section:printablestyleClass_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:printablestyleClass_prs|text=|trigger=button}{sub-section}{sub-section:printablestyleClass_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:printablestyleClass_ret|text=|trigger=button}{sub-section}{sub-section:printablestyleClass_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:printablestyleClass_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:printablestyleClass_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:printablestyleClass_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:printablestyleClass_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:printablestyleClass_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:printablestyleClass_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'db:/example_data', '/parent_table', 'null', false, 400, 300);
var printedFieldfield = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
var notPrintedFieldstyle = formsolutionModel.newFieldnewStyle('parent_table_idmyStyle', JSField.TEXT_FIELD, 10, 40, 100, 20);
notPrintedField.printable = false; // This field won't show up in print preview and won't be printed.
forms['printForm'].controller.showPrintPreview()'field.fancy { background-color: yellow; }');
form.styleName = 'myStyle'; // First set the style on the form.
field.styleClass = 'fancy'; // Then set the style class on the field.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=scrollbarstabSeq|class=node}{tr:id=name}{td}h6.scrollbarstabSeq{td}{tr}{tr:id=des}{td}{sub-section:scrollbarstabSeq_des|text=|trigger=button}{sub-section}{sub-section:scrollbarstabSeq_des|trigger=none|class=sIndent}Scrollbar options for the vertical and horizontal scrollbars. Each of the
vertical and horizontal scrollbars can be configured to display all the time,
to display only when needed or to never displayAn index that specifies the position of the component in the tab sequence. The components 
are put into the tab sequence in increasing order of this property. A value of 0 means
to use the default mechanism of building the tab sequence (based on their location on the form).
A value of \-2 means to remove the component from the tab sequence.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:scrollbarstabSeq_snc|text=|trigger=button}{sub-section}{sub-section:scrollbarstabSeq_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:scrollbarstabSeq_prs|text=|trigger=button}{sub-section}{sub-section:scrollbarstabSeq_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:scrollbarstabSeq_ret|text=|trigger=button}{sub-section}{sub-section:scrollbarstabSeq_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:scrollbarstabSeq_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:scrollbarstabSeq_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:scrollbarstabSeq_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:scrollbarstabSeq_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:scrollbarstabSeq_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:scrollbarstabSeq_sam|trigger=none}{code:language=javascript}
var noScrollbars:language=javascript}
// Create three fields. Based on how they are placed, by default they will come one
// after another in the tab sequence.
var fieldOne = form.newField('myparent_table_textid', JSField.TEXT_AREAFIELD, 10, 10, 100, 100);
noScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_NEVER | SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER20);
var neededScrollbarsfieldTwo = form.newField('myparent_table_text', JSField.TEXT_AREAFIELD, 12010, 1040, 100, 100);
neededScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_AS_NEEDED | SM_SCROLLBAR.VERTICAL_SCROLLBAR_AS_NEEDED20);
var alwaysScrollbarsfieldThree = form.newField('myparent_table_textid', JSField.TEXT_AREAFIELD, 23010, 1070, 100, 100);
alwaysScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_ALWAYS | SM_SCROLLBAR.VERTICAL_SCROLLBAR_ALWAYS20);
// Set the third field come before the first in the tab sequence, and remove the 
// second field from the tab sequence.
fieldOne.tabSeq = 2;
fieldTwo.tabSeq = SM_DEFAULTS.IGNORE;
fieldThree.tabSeq = 1;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=selectOnEntertitleText|class=node}{tr:id=name}{td}h6.selectOnEntertitleText{td}{tr}{tr:id=des}{td}{sub-section:selectOnEntertitleText_des|text=|trigger=button}{sub-section}{sub-section:selectOnEntertitleText_des|trigger=none|class=sIndent}FlagThe that tellstext ifthat theis contentdisplayed ofin the column fieldheader shouldassociated bewith automaticallythe selectedcomponent when the fieldform
receivesis focus.in The default value of this field is "false"table view.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:selectOnEntertitleText_snc|text=|trigger=button}{sub-section}{sub-section:selectOnEntertitleText_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:selectOnEntertitleText_prs|text=|trigger=button}{sub-section}{sub-section:selectOnEntertitleText_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:selectOnEntertitleText_ret|text=|trigger=button}{sub-section}{sub-section:selectOnEntertitleText_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:selectOnEntertitleText_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:selectOnEntertitleText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:selectOnEntertitleText_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:selectOnEntertitleText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:selectOnEntertitleText_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:selectOnEntertitleText_sam|trigger=none}{code:language=javascript}
//var Createform two fields and set one of them to have "selectOnEnter" true. As you tab
// through the fields you can notice how the text inside the second field gets
// automatically selected when the field receives focus.
var fieldNoSelect = solutionModel.newForm('someForm', 'db:/example_data/my_table', null, false, 640, 480);
var field = form.newField('my_table_textnumber', JSField.TEXT_FIELD, 10, 10, 100, 20);
var fieldSelect = form.newField('my_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20);
fieldSelect.selectOnEnter = true;field.titleText = 'Column Title';
form.view = JSForm.LOCKED_TABLE_VIEW;
forms['someForm'].controller.show()
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=styleClasstoolTipText|class=node}{tr:id=name}{td}h6.styleClasstoolTipText{td}{tr}{tr:id=des}{td}{sub-section:styleClasstoolTipText_des|text=|trigger=button}{sub-section}{sub-section:styleClasstoolTipText_des|trigger=none|class=sIndent}The nametext ofdisplayed thewhen style class that should be applied to this component.

When defining style classes for specific component types, their names
must be prefixed according to the type ofhovering over the component. For example 
in order to define with a classmouse namescursor.
'fancy'
forNOTE:
fields, in the style
definition the class must be named 'field.fancy'. If it would be 
intended for labels, then it would be named 'label.fancy'. When specifying
the class name for a component, the prefix is dropped however. Thus the
field or the label will have its styleClass property set to 'fancy' only.HTML should be used for multi\-line tooltips; you can also use any
valid HTML tags to format tooltip text. For example: 
<html>This includes<b>bolded text</b> and 
<font color='blue'>BLUE</font> text as well.</html>{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:styleClasstoolTipText_snc|text=|trigger=button}{sub-section}{sub-section:styleClasstoolTipText_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:styleClasstoolTipText_prs|text=|trigger=button}{sub-section}{sub-section:styleClasstoolTipText_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:styleClasstoolTipText_ret|text=|trigger=button}{sub-section}{sub-section:styleClasstoolTipText_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:styleClasstoolTipText_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:styleClasstoolTipText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:styleClasstoolTipText_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:styleClasstoolTipText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:styleClasstoolTipText_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:styleClasstoolTipText_sam|trigger=none}{code:language=javascript}
var formlabel = solutionModelform.newFormnewLabel('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var field = form.newField('parent_table_text', JSField.TEXT_FIELDStop the mouse over me!', 10, 10, 100200, 20);
var style = solutionModel.newStyle('myStyle','field.fancy { background-color: yellow; }');
form.styleName = 'myStyle'; // First set the style on the form.
field.styleClass);
label.toolTipText = 'fancy'; // Then set the style class on the field.I\'m the tooltip. Do you see me?';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=tabSeqtransparent|class=node}{tr:id=name}{td}h6.tabSeqtransparent{td}{tr}{tr:id=des}{td}{sub-section:tabSeqtransparent_des|text=|trigger=button}{sub-section}{sub-section:tabSeqtransparent_des|trigger=none|class=sIndent}AnFlag index that specifies the position oftells if the component inis thetransparent tabor sequencenot. The components 
are put into the tab sequence in increasing order of this property. A value of 0 means
to use the default mechanism of building the tab sequence (based on their location on the form).
A value of \-2 means to remove the component from the tab sequence

The default value is "false", that is the components 
are not transparent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:tabSeqtransparent_snc|text=|trigger=button}{sub-section}{sub-section:tabSeqtransparent_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:tabSeqtransparent_prs|text=|trigger=button}{sub-section}{sub-section:tabSeqtransparent_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:tabSeqtransparent_ret|text=|trigger=button}{sub-section}{sub-section:tabSeqtransparent_ret|trigger=none|class=sIndent}[NumberBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:tabSeqtransparent_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:tabSeqtransparent_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:tabSeqtransparent_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:tabSeqtransparent_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:tabSeqtransparent_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:tabSeqtransparent_sam|trigger=none}{code:language=javascript}
// Create three fields. Based on how they are placed, by default they will come one
// after another in the tab sequence.
var fieldOne Load an image from disk an create a Media object based on it.
var imageBytes = plugins.file.readFile('d:/ball.jpg');
var media = solutionModel.newMedia('ball.jpg', imageBytes);
// Put on the form a label with the image.
var image = form.newFieldnewLabel('parent_table_id', JSField.TEXT_FIELD, 10, 10, 100, 20);
var fieldTwo = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20);
var fieldThree100);
image.imageMedia = media;
// Put two fields over the image. The second one will be transparent and the
// image will shine through.
var nonTransparentField = form.newField('parent_table_idtext', JSField.TEXT_FIELD, 10, 7020, 100, 20);
// Set the third field come before the first in the tab sequence, and remove the 
// second field from the tab sequence.
fieldOne.tabSeq = 2;
fieldTwo.tabSeq = SM_DEFAULTS.IGNORE;
fieldThree.tabSeq = 1 20);
var transparentField = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 50, 100, 20);
transparentField.transparent = true;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=titleTextvaluelist|class=node}{tr:id=name}{td}h6.titleTextvaluelist{td}{tr}{tr:id=des}{td}{sub-section:titleTextvaluelist_des|text=|trigger=button}{sub-section}{sub-section:titleTextvaluelist_des|trigger=none|class=sIndent}The textvaluelist that is displayed in the column header associated used by this field when displaying data. Can be used
with thefields componentof whentype theCHECKS, formCOMBOBOX, isRADIOS in table viewand TYPE\_AHEAD.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:titleTextvaluelist_snc|text=|trigger=button}{sub-section}{sub-section:titleTextvaluelist_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:titleTextvaluelist_prs|text=|trigger=button}{sub-section}{sub-section:titleTextvaluelist_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:titleTextvaluelist_ret|text=|trigger=button}{sub-section}{sub-section:titleTextvaluelist_ret|trigger=none|class=sIndent}[StringJSValueList]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:titleTextvaluelist_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:titleTextvaluelist_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:titleTextvaluelist_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:titleTextvaluelist_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:titleTextvaluelist_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:titleTextvaluelist_sam|trigger=none}{code:language=javascript}
var formvlist = solutionModel.newFormnewValueList('someFormoptions', 'example_data', 'my_table', 'null', false, 640, 480)JSValueList.CUSTOM_VALUES);
vlist.customValues = "one\ntwo\nthree\nfour";
var fieldcmb = form.newField('my_table_numberoptions', JSField.TEXT_FIELDCOMBOBOX, 10, 10100, 100, 20);
field.titleText = 'Column Title');
formcmb.viewvaluelist = JSForm.LOCKED_TABLE_VIEW;
forms['someForm'].controller.show()vlist;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toolTipTextvisible|class=node}{tr:id=name}{td}h6.toolTipTextvisible{td}{tr}{tr:id=des}{td}{sub-section:toolTipTextvisible_des|text=|trigger=button}{sub-section}{sub-section:toolTipTextvisible_des|trigger=none|class=sIndent}The textvisible displayedproperty when hoveringof over the component, with a mouse cursor.

NOTE:
HTML should be used for multi\-line tooltips; you can also use any
valid HTML tags to format tooltip text. For example: 
<html>This includes<b>bolded text</b> and 
<font color='blue'>BLUE</font> text as well.</html>default true.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:toolTipTextvisible_snc|text=|trigger=button}{sub-section}{sub-section:toolTipTextvisible_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:toolTipTextvisible_prs|text=|trigger=button}{sub-section}{sub-section:toolTipTextvisible_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:toolTipTextvisible_ret|text=|trigger=button}{sub-section}{sub-section:toolTipTextvisible_ret|trigger=none|class=sIndent}[StringBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:toolTipTextvisible_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:toolTipTextvisible_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:toolTipTextvisible_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:toolTipTextvisible_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:toolTipTextvisible_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:toolTipText_sam|trigger=none}{code:language=javascript}
var labelvisible_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var field = form.newLabelnewField('Stop the mouse over me!'parent_table_text', JSField.TEXT_FIELD, 10, 10, 200100, 20);
labelfield.toolTipTextvisible = 'I\'m the tooltip. Do you see me?'false;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=transparentwidth|class=node}{tr:id=name}{td}h6.transparentwidth{td}{tr}{tr:id=des}{td}{sub-section:transparentwidth_des|text=|trigger=button}{sub-section}{sub-section:transparentwidth_des|trigger=none|class=sIndent}Flag that tells if the component is transparent or not.

The defaultwidth valuein is "false", that ispixels of the components 
are not transparentcomponent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:transparentwidth_snc|text=|trigger=button}{sub-section}{sub-section:transparentwidth_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:transparentwidth_prs|text=|trigger=button}{sub-section}{sub-section:transparentwidth_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:transparentwidth_ret|text=|trigger=button}{sub-section}{sub-section:transparentwidth_ret|trigger=none|class=sIndent}[BooleanNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:transparentwidth_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:transparentwidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:transparentwidth_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:transparentwidth_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:transparentwidth_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:transparentwidth_sam|trigger=none}{code:language=javascript}
// Load an image from disk an create a Media object based on it.
var imageBytes = plugins.file.readFile('d:/ball.jpg');=javascript}
var mediafield = solutionModelform.newMedianewField('ball.jpgparent_table_text', imageBytes);
// Put on the form a label with the image.
var image = form.newLabel(''JSField.TEXT_FIELD, 10, 10, 100, 10020);
image.imageMedia = media;
// Put two fields over the image. The second one will be transparent and the
// image will shine through.
var nonTransparentField = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 20, 100, 20);
var transparentField = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 50, 100, 20);
transparentField.transparent = trueapplication.output('original width: ' + field.width);
application.output('original height: ' + field.height);
field.width = 200;
field.height = 100;
application.output('modified width: ' + field.width);
application.output('modified height: ' + field.height);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=valuelistx|class=node}{tr:id=name}{td}h6.valuelistx{td}{tr}{tr:id=des}{td}{sub-section:valuelistx_des|text=|trigger=button}{sub-section}{sub-section:valuelistx_des|trigger=none|class=sIndent}The valuelist that is used by this field when displaying data. Can be used
with fieldsx coordinate of typethe CHECKS,component COMBOBOX,on RADIOS and TYPE\_AHEADthe form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:valuelistx_snc|text=|trigger=button}{sub-section}{sub-section:valuelistx_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:valuelistx_prs|text=|trigger=button}{sub-section}{sub-section:valuelistx_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:valuelistx_ret|text=|trigger=button}{sub-section}{sub-section:valuelistx_ret|trigger=none|class=sIndent}[JSValueListNumber]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:valuelistx_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:valuelistx_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:valuelistx_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:valuelistx_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:valuelistx_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:valuelistx_sam|trigger=none}{code:language=javascript}
var vlistfield = solutionModelform.newValueListnewField('optionsparent_table_text', JSValueListJSField.CUSTOM_VALUESTEXT_FIELD, 10, 10, 100, 20);
application.output('original location: ' + field.x + ', ' + field.y);
vlistfield.customValuesx = "one\ntwo\nthree\nfour"90;
varfield.y cmb= =90;
formapplication.newFieldoutput('my_table_options', JSField.COMBOBOX, 10, 100, 100, 20);
cmb.valuelist = vlistchanged location: ' + field.x + ', ' + field.y);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=visibley|class=node}{tr:id=name}{td}h6.visibley{td}{tr}{tr:id=des}{td}{sub-section:visibley_des|text=|trigger=button}{sub-section}{sub-section:visibley_des|trigger=none|class=sIndent}The visibley propertycoordinate of the component, on defaultthe trueform.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:visibley_snc|text=|trigger=button}{sub-section}{sub-section:visibley_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:visibley_prs|text=|trigger=button}{sub-section}{sub-section:visible_prs|trigger=none|class=sIndenty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:y_ret|text=|trigger=button}{sub-section}{sub-section:y_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:y_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:y_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=retlink}{td}*ReturnsExternal links*\\{sub-section:visibley_retlink|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:visibley_retlink|trigger=none|class=sIndent}[Boolean]{sub-section}{div}{td}{tr}{builder-show:permission=edit}{tr:id=seesam}{td}*Also seeSample*\\{sub-section:visibley_seesam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:visibley_seesam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:visible_link|text=|trigger=buttoncode:language=javascript}
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
application.output('original location: ' + field.x + ', ' + field.y);
field.x = 90;
field.y = 90;
application.output('changed location: ' + field.x + ', ' + field.y);
{code}{sub-section}{div:class=sIndent}{sub-section:visible_link|trigger=nonetd}{sub-sectiontr}{divtr:class=lastDetailRow}{td}{trtd}{builder-showtr}{tr:id=samtbody}{tdtable}*Sample*\\{sub-section:visible_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:visible_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'example_data', 'parent_table', 'null', false, 400, 300);
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.visible = false;
{code}{sub-section}{div} 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getDesignTimeProperty|class=node}{tr:id=name}{td}h6.getDesignTimeProperty{td}{tr}{tr:classid=lastDetailRowsig}{td}{td}{tr}{tbody}{tbodyspan:style=float: left; margin-right: 5px;}[Object]{span}{span:id=widthiets|class=node}{tr:id=name}{td}h6.widthstyle=float: left; font-weight: bold;}getDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:widthgetDesignTimeProperty_des|text=|trigger=button}{sub-section}{sub-section:widthgetDesignTimeProperty_des|trigger=none|class=sIndent}TheGet width in pixelsa design\-time property of thean componentelement.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:widthgetDesignTimeProperty_snc|text=|trigger=button}{sub-section}{sub-section:widthgetDesignTimeProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:widthgetDesignTimeProperty_prs|text=|trigger=button}{sub-section}{sub-section:widthgetDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:widthgetDesignTimeProperty_ret|text=|trigger=button}{sub-section}{sub-section:widthgetDesignTimeProperty_ret|trigger=none|class=sIndent}[NumberObject]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:widthgetDesignTimeProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:widthgetDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:widthgetDesignTimeProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:widthgetDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:widthgetDesignTimeProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:width_sam|trigger=none}{code:language=javascript}
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
application.output('original width: ' + field.width);
application.output('original height: ' + field.height);
field.width = 200;
field.height = 100;
application.output('modified width: ' + field.width);
application.output('modified height: ' + field.height);-section:getDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm('orders')
var fld = frm.getField('fld')
var prop = fld.getDesignTimeProperty('myprop')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=xgetUUID|class=node}{tr:id=name}{td}h6.xgetUUID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[UUID]{span}{span:id=iets|style=float: left; font-weight: bold;}getUUID{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:xgetUUID_des|text=|trigger=button}{sub-section}{sub-section:xgetUUID_des|trigger=none|class=sIndent}TheReturns xthe coordinateUUID of thethis component on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:xgetUUID_snc|text=|trigger=button}{sub-section}{sub-section:xgetUUID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:xgetUUID_prs|text=|trigger=button}{sub-section}{sub-section:xgetUUID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:xgetUUID_ret|text=|trigger=button}{sub-section}{sub-section:xgetUUID_ret|trigger=none|class=sIndent}[NumberUUID]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:xgetUUID_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:xgetUUID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:xgetUUID_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:xgetUUID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:xgetUUID_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:xgetUUID_sam|trigger=none}{code:language=javascript}
var fieldbutton_uuid = formsolutionModel.newFieldgetForm('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
application.output('original location: ' + field.x + ', ' + field.y);
field.x = 90;
field.y = 90"my_form").getButton("my_button").getUUID();
application.output('changed location: ' + field.x + ', ' + field.ybutton_uuid.toString());
{code}{sub-section}{div}section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=putDesignTimeProperty|class=node}{tr:id=name}{td}h6.putDesignTimeProperty{td}{tr}{tr:classid=lastDetailRowsig}{td}{td}{tr}{tbody}{tbodyspan:style=float: left; margin-right: 5px;}[Object]{span}{span:id=yiets|class=node}{tr:id=name}{td}h6.ystyle=float: left; font-weight: bold;}putDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:yputDesignTimeProperty_des|text=|trigger=button}{sub-section}{sub-section:yputDesignTimeProperty_des|trigger=none|class=sIndent}The y coordinateSet a design\-time property of the component on the forman element.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:yputDesignTimeProperty_snc|text=|trigger=button}{sub-section}{sub-section:yputDesignTimeProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:yputDesignTimeProperty_prs|text=|trigger=button}{sub-section}{sub-section:yputDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:yputDesignTimeProperty_ret|text=|trigger=button}{sub-section}{sub-section:yputDesignTimeProperty_ret|trigger=none|class=sIndent}[NumberObject]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:yputDesignTimeProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:yputDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:yputDesignTimeProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:yputDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:yputDesignTimeProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:yputDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var fieldfrm = formsolutionModel.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
application.output('original location: ' + field.x + ', ' + field.y);
field.x = 90;
field.y = 90;
application.output('changed location: ' + field.x + ', ' + field.y);getForm('orders')
var fld = frm.getField('fld')
fld.putDesignTimeProperty('myprop', 'strawberry')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getUUIDremoveDesignTimeProperty|class=node}{tr:id=name}{td}h6.getUUIDremoveDesignTimeProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[UUIDObject]{span}{span:id=iets|style=float: left; font-weight: bold;}getUUIDremoveDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getUUIDremoveDesignTimeProperty_des|text=|trigger=button}{sub-section}{sub-section:getUUIDremoveDesignTimeProperty_des|trigger=none|class=sIndent}Returns the UUIDClear a design\-time property of thisan componentelement.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUUIDremoveDesignTimeProperty_snc|text=|trigger=button}{sub-section}{sub-section:getUUIDremoveDesignTimeProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getUUIDremoveDesignTimeProperty_prs|text=|trigger=button}{sub-section}{sub-section:getUUIDremoveDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getUUIDremoveDesignTimeProperty_ret|text=|trigger=button}{sub-section}{sub-section:getUUIDremoveDesignTimeProperty_ret|trigger=none|class=sIndent}[UUIDObject]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getUUIDremoveDesignTimeProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUUIDremoveDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUUIDremoveDesignTimeProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUUIDremoveDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUUIDremoveDesignTimeProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getUUIDremoveDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var button_uuidfrm = solutionModel.getForm("my_form").getButton("my_button").getUUID();
application.output(button_uuid.toString());'orders')
var fld = frm.getField('fld')
fld.removeDesignTimeProperty('myprop')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}