Child pages
  • JSTabPanel

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:width=80px|padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}PropertyConstants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#anchors#ACCORDION_PANEL]
EnablesConstant aused componentfor tocreating stickaccordion topanel afrom specifictab sidepanel, ofby formsetting and/or to 
grow or shrink when a window is resizedits tabOrientation.{td}{tr}{tbody}{tbody}{tr}{td}[StringNumber]{td}{td}[#background#DEFAULT_ORIENTATION]
The background color of the componentConstant used for restoring a tab panel orientation to it's initial state.{td}{tr}{tbody}{tbody}{tr}{td}[StringNumber]{td}{td}[#borderType]
The type, color and style of border of the component#HIDE]
Constant used for creating a tab panel that does not show tabs, by setting its tabOrientation.{td}{tr}{tbody}{tbody}{tr}{td}[BooleanNumber]{td}{td}[#enabled]
The enable state of the component, default true#SPLIT_HORIZONTAL]
Constant used for creating horizontal split pane from tab panel, by setting its tabOrientation.{td}{tr}{tbody}{tbody}{tr}{td}[StringNumber]{td}{td}[#fontType#SPLIT_VERTICAL]
TheConstant font type of the componentused for creating vertical split pane from tab panel, by setting its tabOrientation.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#foreground]
The foreground color of the component.{td{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#formIndex]
The Z index of this 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}[String]{td}{td}[#groupID#background]
AThe Stringbackground representingcolor aof group ID for this the component.{td}{tr}{tbody}{tbody}{tr}{td}[NumberString]{td}{td}[#height#borderType]
The height in pixelstype, color and style of border of the component.{td}{tr}{tbody}{tbody}{tr}{td}[StringBoolean]{td}{td}[#name#enabled]
The nameenable state of the component, default true.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethodString]{td}{td}[#onChange#fontType]
MethodThe tofont betype executedof when the selected tab is changed in the tab panel or divider position is changed in split panethe 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}[#printSliding#formIndex]
EnablesThe anZ elementindex toof resize based on its content and/or move when printingthis component.{td}{tr}{tbody}{tbody}{tr}{td}[BooleanString]{td}{td}[#printable#groupID]
FlagA thatString tellsrepresenting ifa thegroup componentID shouldfor be printed or not when the form is printedthis component.{td}{tr}{tbody}{tbody}{tr}{td}[BooleanNumber]{td}{td}[#scrollTabs#height]
FlagThe thatheight tellsin howpixels toof arrange the tabs if they don't fit on a single linecomponent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#styleClass#name]
The name of the style class that should be applied to this component.{td}{tr}{tbody}{tbody}{tr}{td}[NumberJSMethod]{td}{td}[#tabOrientation#onChange]
Method to Thebe positionexecuted ofwhen the tabs related toselected tab is changed in the tab panel or divider position is changed in split pane.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#tabSeq#printSliding]
AnEnables indexan thatelement specifiesto theresize positionbased ofon theits componentcontent inand/or themove tabwhen sequenceprinting.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#transparent#printable]
Flag that tells if the component should isbe transparentprinted or not when the form is printed.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#visible#scrollTabs]
The visible property of the component, default trueFlag that tells how to arrange the tabs if they don't fit on a single line.{td}{tr}{tbody}{tbody}{tr}{td}[NumberString]{td}{td}[#width#styleClass]
The width in pixels of thename of the style class that should be applied to this component.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#x#tabOrientation]
Specifies Theeither xthe coordinateposition of the tabs related to the componenttab panel onor the form type of tab\-panel.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#y#tabSeq]
The y coordinate
An index that specifies the position of the component onin the formtab sequence.{td}{tr}{tbody}{tabletbody}\\ 

{table:id=|class=servoy sSummary{tr}{colgrouptd}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{[Boolean]{td}{td}[#transparent]
Flag that tells if the component is transparent or not.{td}{tr}{tbody}{tbody}{tr}{td}[ObjectBoolean]{td}{td}[#getDesignTimeProperty#visible]\()
GetThe avisible design\-time property of the component, andefault elementtrue.{td}{tr}{tbody}{tbody}{tr}{td}[JSTabNumber]{td}{td}[#getTab#width]\(name)
ReturnsThe awidth JSTabin instancepixels representingof the tab which has the specified namecomponent.{td}{tr}{tbody}{tbody}{tr}{td}[JSTabNumber]\[]{td}{td}[#getTabs#x]\()
ReturnsThe anx arraycoordinate of JSTab instances holding the tabscomponent ofon the tab panelform.{td}{tr}{tbody}{tbody}{tr}{td}[UUIDNumber]{td}{td}[#getUUID#y]\()
ReturnsThe they UUIDcoordinate of thisthe component on the form.{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[JSTabObject]{td}{td}[#newTab#getDesignTimeProperty]\(name, text, form)
AddsGet a new tab with the text label and JSFormdesign\-time property of an element.{td}{tr}{tbody}{tbody}{tr}{td}[JSTab]{td}{td}[#newTab#getTab]\(name,)
text,Returns form,a relation)JSTab Addsinstance arepresenting newthe tab which with the text label and JSForm and JSRelation (can be null for unrelated)has the specified name.{td}{tr}{tbody}{tbody}{tr}{td}[JSTab]\[]{td}{td}[#getTabs]\()
Returns an array of JSTab instances holding the tabs of the tab panel.{td}{tr}{tbody}{tbody}{tr}{td}[ObjectUUID]{td}{td}[#putDesignTimeProperty#getUUID]\()
SetReturns a design\-time propertythe UUID of anthis elementcomponent.{td}{tr}{tbody}{tbody}{tr}{td}[ObjectJSTab]{td}{td}[#removeDesignTimeProperty]\()
Clear a design\-time property of an element.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeTab]\(name)
Removes the tab with the specified name from the tab panel.[#newTab]\(name, text, form)
Adds a new tab with the text label and JSForm.{td}{tr}{tbody}{tbody}{tr}{td}[JSTab]{td}{td}[#newTab]\(name, text, form, relation)
Adds a new tab with the text label and JSForm and JSRelation (can be null for unrelated).{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}{tbody}{tr}{td}void{td}{td}[#removeTab]\(name)
Removes the tab with the specified name from the tab panel.{td}{tr}{tbody}{table}\\ 

{table:id=constant|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=ACCORDION_PANEL|class=node}{tr:id=name}{td}h6.ACCORDION_PANEL{td}{tr}{tr:id=des}{td}{sub-section:ACCORDION_PANEL_des|trigger=button|text=}{sub-section}{sub-section:ACCORDION_PANEL_des|trigger=none|class=sIndent}Constant used for creating accordion panel from tab panel, by setting its tabOrientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:ACCORDION_PANEL_snc|trigger=button|text=}{sub-section}{sub-section:ACCORDION_PANEL_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:ACCORDION_PANEL_prs|trigger=button|text=}{sub-section}{sub-section:ACCORDION_PANEL_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:ACCORDION_PANEL_ret|trigger=button|text=}{sub-section}{sub-section:ACCORDION_PANEL_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:ACCORDION_PANEL_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:ACCORDION_PANEL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:ACCORDION_PANEL_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:ACCORDION_PANEL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:ACCORDION_PANEL_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:ACCORDION_PANEL_sam|trigger=none}{code:language=javascript}
var accordion = myForm.newTabPanel('accordion', 10, 10, 620, 460);
accordion.tabOrientation = JSTabPanel.ACCORDION_PANEL;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DEFAULT_ORIENTATION|class=node}{tr:id=name}{td}h6.DEFAULT_ORIENTATION{td}{tr}{tr:id=des}{td}{sub-section:DEFAULT_ORIENTATION_des|trigger=button|text=}{sub-section}{sub-section:DEFAULT_ORIENTATION_des|trigger=none|class=sIndent}Constant used for restoring a tab panel orientation to it's initial state.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:DEFAULT_ORIENTATION_snc|trigger=button|text=}{sub-section}{sub-section:DEFAULT_ORIENTATION_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:DEFAULT_ORIENTATION_prs|trigger=button|text=}{sub-section}{sub-section:DEFAULT_ORIENTATION_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DEFAULT_ORIENTATION_ret|trigger=button|text=}{sub-section}{sub-section:DEFAULT_ORIENTATION_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DEFAULT_ORIENTATION_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:DEFAULT_ORIENTATION_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DEFAULT_ORIENTATION_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:DEFAULT_ORIENTATION_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DEFAULT_ORIENTATION_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:DEFAULT_ORIENTATION_sam|trigger=none}{code:language=javascript}
var splitPane = myForm.newTabPanel('splitPane', 10, 10, 620, 460);
splitPane.tabOrientation = JSTabPanel.SPLIT_HORIZONTAL;
// (...) some code when you decide it's better to revert the orientation
splitPane.tabOrientation = JSTabPanel.DEFAULT_ORIENTATION;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=HIDE|class=node}{tr:id=name}{td}h6.HIDE{td}{tr}{tr:id=des}{td}{sub-section:HIDE_des|trigger=button|text=}{sub-section}{sub-section:HIDE_des|trigger=none|class=sIndent}Constant used for creating a tab panel that does not show tabs, by setting its tabOrientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HIDE_snc|trigger=button|text=}{sub-section}{sub-section:HIDE_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:HIDE_prs|trigger=button|text=}{sub-section}{sub-section:HIDE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:HIDE_ret|trigger=button|text=}{sub-section}{sub-section:HIDE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:HIDE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:HIDE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:HIDE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:HIDE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:HIDE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:HIDE_sam|trigger=none}{code:language=javascript}
var splitPane = myForm.newTabPanel('splitPane', 10, 10, 620, 460);
splitPane.tabOrientation = JSTabPanel.HIDE;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SPLIT_HORIZONTAL|class=node}{tr:id=name}{td}h6.SPLIT_HORIZONTAL{td}{tr}{tr:id=des}{td}{sub-section:SPLIT_HORIZONTAL_des|trigger=button|text=}{sub-section}{sub-section:SPLIT_HORIZONTAL_des|trigger=none|class=sIndent}Constant used for creating horizontal split pane from tab panel, by setting its tabOrientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SPLIT_HORIZONTAL_snc|trigger=button|text=}{sub-section}{sub-section:SPLIT_HORIZONTAL_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:SPLIT_HORIZONTAL_prs|trigger=button|text=}{sub-section}{sub-section:SPLIT_HORIZONTAL_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SPLIT_HORIZONTAL_ret|trigger=button|text=}{sub-section}{sub-section:SPLIT_HORIZONTAL_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SPLIT_HORIZONTAL_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SPLIT_HORIZONTAL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SPLIT_HORIZONTAL_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SPLIT_HORIZONTAL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SPLIT_HORIZONTAL_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SPLIT_HORIZONTAL_sam|trigger=none}{code:language=javascript}
var splitPane = myForm.newTabPanel('splitPane', 10, 10, 620, 460);
splitPane.tabOrientation = JSTabPanel.SPLIT_HORIZONTAL;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SPLIT_VERTICAL|class=node}{tr:id=name}{td}h6.SPLIT_VERTICAL{td}{tr}{tr:id=des}{td}{sub-section:SPLIT_VERTICAL_des|trigger=button|text=}{sub-section}{sub-section:SPLIT_VERTICAL_des|trigger=none|class=sIndent}Constant used for creating vertical split pane from tab panel, by setting its tabOrientation.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SPLIT_VERTICAL_snc|trigger=button|text=}{sub-section}{sub-section:SPLIT_VERTICAL_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:SPLIT_VERTICAL_prs|trigger=button|text=}{sub-section}{sub-section:SPLIT_VERTICAL_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SPLIT_VERTICAL_ret|trigger=button|text=}{sub-section}{sub-section:SPLIT_VERTICAL_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SPLIT_VERTICAL_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SPLIT_VERTICAL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SPLIT_VERTICAL_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SPLIT_VERTICAL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SPLIT_VERTICAL_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SPLIT_VERTICAL_sam|trigger=none}{code:language=javascript}
var splitPane = myForm.newTabPanel('splitPane', 10, 10, 620, 460);
splitPane.tabOrientation = JSTabPanel.SPLIT_VERTICAL;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|text=}{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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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=enabled|class=node}{tr:id=name}{td}h6.enabled{td}{tr}{tr:id=des}{td}{sub-section:enabled_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:enabled_des|trigger=none|class=sIndent}The enable state of the component, default true.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:enabled_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:enabled_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:enabled_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:enabled_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:enabled_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:enabled_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:enabled_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:enabled_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:enabled_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:enabled_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:enabled_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:enabled_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
field.enabled = false;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=fontType|class=node}{tr:id=name}{td}h6.fontType{td}{tr}{tr:id=des}{td}{sub-section:fontType_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:fontType_des|trigger=none|class=sIndent}The font type of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:fontType_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:fontType_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:fontType_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:fontType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:fontType_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:fontType_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:fontType_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:fontType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:fontType_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:fontType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:fontType_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:fontType_sam|trigger=none}{code:language=javascript}
var label = form.newLabel('Text here', 10, 50, 100, 20);
label.fontType = solutionModel.createFont('Times New Roman',1,14);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=foreground|class=node}{tr:id=name}{td}h6.foreground{td}{tr}{tr:id=des}{td}{sub-section:foreground_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:foreground_des|trigger=none|class=sIndent}The foreground color of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:foreground_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:foreground_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:foreground_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:foreground_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:foreground_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:foreground_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:foreground_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:foreground_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:foreground_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:foreground_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:foreground_sam|text=|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:foreground_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 fieldWithYellowText = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 50, 100, 20);
fieldWithYellowText.foreground = '#FFFF00'; // Use RGB codes for colors.
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=formIndex|class=node}{tr:id=name}{td}h6.formIndex{td}{tr}{tr:id=des}{td}{sub-section:formIndex_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:formIndex_des|trigger=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 with lower Z index.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:formIndex_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:formIndex_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:formIndex_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:formIndex_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:formIndex_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:formIndex_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:formIndex_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:formIndex_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:formIndex_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:formIndex_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:formIndex_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:formIndex_sam|trigger=none}{code:language=javascript}
var labelBelow = form.newLabel('Green', 10, 10, 100, 50);
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 = 20;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=groupID|class=node}{tr:id=name}{td}h6.groupID{td}{tr}{tr:id=des}{td}{sub-section:groupID_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:groupID_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 scripting.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:groupID_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:groupID_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:groupID_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:groupID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:groupID_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:groupID_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:groupID_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:groupID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:groupID_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:groupID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:groupID_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:groupID_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someForm', 'db:/example_data/parent_table', null, false, 400, 300);
var label = form.newLabel('Green', 10, 10, 100, 20);
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 40, 100, 20);
label.groupID = 'someGroup';
field.groupID = 'someGroup';	
forms['someForm'].elements.someGroup.enabled = false;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=height|class=node}{tr:id=name}{td}h6.height{td}{tr}{tr:id=des}{td}{sub-section:height_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:height_des|trigger=none|class=sIndent}The height in pixels of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:height_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:height_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:height_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:height_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:height_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:height_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:height_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:height_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:height_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:height_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:height_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:height_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);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=name|class=node}{tr:id=name}{td}h6.name{td}{tr}{tr:id=des}{td}{sub-section:name_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:name_des|trigger=none|class=sIndent}The name 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:name_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:name_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:name_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:name_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:name_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:name_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:name_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:name_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:name_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:name_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:name_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:name_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('someForm', 'db:/example_data/parent_table', null, false, 620, 300);
var label = 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.
forms['someForm'].elements['myLabel'].text = 'Updated text';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=onChange|class=node}{tr:id=name}{td}h6.onChange{td}{tr}{tr:id=des}{td}{sub-section:onChange_des|text=|trigger=button|text=}{sub-section}{sub-section:onChange_des|trigger=none|class=sIndent}Method to be executed when the selected tab is changed in the tab panel or divider position is changed in split pane.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:onChange_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:onChange_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:onChange_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:onChange_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:onChange_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:onChange_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:onChange_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:onChange_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:onChange_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:onChange_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:onChange_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:onChange_sam|trigger=none}{code:language=javascript}
var onChangeMethod = form.newMethod('function onTabChange(previousIndex, event) { application.output("Tab changed from previous index " + previousIndex + " at " + event.getTimestamp()); }');
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne);
tabPanel.newTab('tab2', 'Child Two', childTwo);
tabPanel.onChange = onChangeMethod;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=printSliding|class=node}{tr:id=name}{td}h6.printSliding{td}{tr}{tr:id=des}{td}{sub-section:printSliding_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:printSliding_des|trigger=none|class=sIndent}Enables an element to resize based on its content and/or move when printing.
The 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:printSliding_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:printSliding_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:printSliding_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:printSliding_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:printSliding_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:printSliding_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:printSliding_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:printSliding_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:printSliding_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:printSliding_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:printSliding_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:printSliding_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var slidingLabel = form.newLabel('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=printable|class=node}{tr:id=name}{td}h6.printable{td}{tr}{tr:id=des}{td}{sub-section:printable_des|texttrigger=button|triggertext=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 printable.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:printable_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:printable_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:printable_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:printable_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:printable_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:printable_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:printable_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:printable_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:printable_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:printable_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:printable_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:printable_sam|trigger=none}{code:language=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=scrollTabs|class=node}{tr:id=name}{td}h6.scrollTabs{td}{tr}{tr:id=des}{td}{sub-section:scrollTabs_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:scrollTabs_des|trigger=none|class=sIndent}Flag that tells how to arrange the tabs if they don't fit on a single line.
If this flag is set, then the tabs will stay on a single line, but there will
be the possibility to scroll them to the left and to the right. If this flag
is not set, then the tabs will be arranged on multiple lines.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:scrollTabs_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:scrollTabs_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:scrollTabs_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:scrollTabs_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:scrollTabs_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:scrollTabs_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:scrollTabs_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:scrollTabs_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:scrollTabs_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:scrollTabs_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:scrollTabs_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:scrollTabs_sam|trigger=none}{code:language=javascript}
var tabPanel = form.newTabPanel('tabs', 10, 10, 200, 200);
tabPanel.newTab('tab1', 'Child Two', childOne, parentToChild); // The first form uses the relation.
tabPanel.newTab('tab2', 'Child Two', childTwo);
tabPanel.scrollTabs = true;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=styleClass|class=node}{tr:id=name}{td}h6.styleClass{td}{tr}{tr:id=des}{td}{sub-section:styleClass_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:styleClass_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:styleClass_snc|text=|trigger=button|text=}{sub-section}{sub-section:styleClass_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:styleClass_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:styleClass_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:styleClass_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:styleClass_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:styleClass_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:styleClass_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:styleClass_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:styleClass_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:styleClass_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:styleClass_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'db:/example_data/parent_table', null, false, 400, 300);
var field = form.newField('parent_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
var style = solutionModel.newStyle('myStyle','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=tabOrientation|class=node}{tr:id=name}{td}h6.tabOrientation{td}{tr}{tr:id=des}{td}{sub-section:tabOrientation_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabOrientation_des|trigger=none|class=sIndent}TheSpecifies either the position of the tabs related to the tab panel or the type of tab\-panel.
Can be one of SM\_ALIGNMENT.(TOP, RIGHT, BOTTOM, LEFT), HIDE, SPLITDEFAULT\_HORIZONTALORIENTATION, SPLIT\_VERTICAL. The HIDE option makes the tabs invisible, SPLIT\_HORIZONTAL
makes the tab panel horizontal split pane, SPLIT\_VERTICAL makes the tab panel vertical split pane, ACCORDION\_PANEL.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:tabOrientation_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabOrientation_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:tabOrientation_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabOrientation_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:tabOrientation_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabOrientation_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:tabOrientation_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:tabOrientation_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:tabOrientation_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:tabOrientation_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:tabOrientation_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:tabOrientation_sam|trigger=none}{code:language=javascript}
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne, parentToChild); // The first form uses the relation.
tabPanel.newTab('tab2', 'Child Two', childTwo);
// The SM_ALIGNMENT constants TOP, RIGHT, BOTTOM and LEFT can be used to put the
// tabs into the needed position. Use HIDE to hide the needed positiontabs. Use SM_DEFAULTS.NONEDEFAULT_ORIENTATION to restore it to hideit's theinitial tabsstate.
// The SM_ALIGNMENT constants SPLIT_HORIZONTAL, SPLIT_VERTICAL can be used to create a split pane,
// where the first tab will be leftthe first component and the second tab will the rightsecond component.
// ACCORDION_PANEL can be used to create an accordion pane.
tabPanel.tabOrientation = SM_ALIGNMENT.BOTTOM;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=tabSeq|class=node}{tr:id=name}{td}h6.tabSeq{td}{tr}{tr:id=des}{td}{sub-section:tabSeq_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabSeq_des|trigger=none|class=sIndent}An 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:tabSeq_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabSeq_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:tabSeq_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabSeq_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:tabSeq_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:tabSeq_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:tabSeq_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:tabSeq_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:tabSeq_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:tabSeq_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:tabSeq_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:tabSeq_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 = form.newField('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 fieldThree = form.newField('parent_table_id', JSField.TEXT_FIELD, 10, 70, 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;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=transparent|class=node}{tr:id=name}{td}h6.transparent{td}{tr}{tr:id=des}{td}{sub-section:transparent_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:transparent_des|trigger=none|class=sIndent}Flag that tells if the component is transparent or not.

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:transparent_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:transparent_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:transparent_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:transparent_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:transparent_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:transparent_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:transparent_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:transparent_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:transparent_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:transparent_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:transparent_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:transparent_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');
var media = solutionModel.newMedia('ball.jpg', imageBytes);
// Put on the form a label with the image.
var image = form.newLabel('', 10, 10, 100, 100);
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 = true;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=visible|class=node}{tr:id=name}{td}h6.visible{td}{tr}{tr:id=des}{td}{sub-section:visible_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:visible_des|trigger=none|class=sIndent}The visible property of the component, default true.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:visible_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:visible_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:visible_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:visible_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:visible_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:visible_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:visible_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:visible_see|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=button|text=}{sub-section}{div:class=sIndent}{sub-section:visible_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:visible_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:visible_sam|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('printForm', 'db:/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}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=width|class=node}{tr:id=name}{td}h6.width{td}{tr}{tr:id=des}{td}{sub-section:width_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:width_des|trigger=none|class=sIndent}The width in pixels of the component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:width_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:width_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:width_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:width_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:width_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:width_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:width_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:width_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:width_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:width_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:width_sam|texttrigger=button|triggertext=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);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=x|class=node}{tr:id=name}{td}h6.x{td}{tr}{tr:id=des}{td}{sub-section:x_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:x_des|trigger=none|class=sIndent}The x coordinate of the component on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:x_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:x_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:x_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:x_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:x_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:x_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:x_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:x_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:x_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:x_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:x_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:x_sam|trigger=none}{code: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}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=y|class=node}{tr:id=name}{td}h6.y{td}{tr}{tr:id=des}{td}{sub-section:y_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:y_des|trigger=none|class=sIndent}The y coordinate of the component on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:y_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:y_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:y_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:y_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:y_ret|texttrigger=button|triggertext=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|texttrigger=button|triggertext=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=link}{td}*External links*\\{sub-section:y_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:y_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:y_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:y_sam|trigger=none}{code: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}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|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:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getDesignTimeProperty_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:getDesignTimeProperty_des|trigger=none|class=sIndent}Get a design\-time property of an element.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDesignTimeProperty_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:getDesignTimeProperty_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:getDesignTimeProperty_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:getDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDesignTimeProperty_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:getDesignTimeProperty_ret|trigger=none|class=sIndent}[Object]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDesignTimeProperty_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDesignTimeProperty_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDesignTimeProperty_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-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=getTab|class=node}{tr:id=name}{td}h6.getTab{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTab]{span}{span:id=iets|style=float: left; font-weight: bold;}getTab{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:getTab_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTab_des|trigger=none|class=sIndent}Returns a JSTab instance representing the tab which has the specified name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getTab_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTab_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getTab_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTab_prs|trigger=none|class=sIndent}\{[String]} name -- The name of the tab that should be returned.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getTab_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTab_ret|trigger=none|class=sIndent}[JSTab] -- A JSTab instance represented the requested tab.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getTab_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getTab_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getTab_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getTab_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getTab_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getTab_sam|trigger=none}{code:language=javascript}
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne);
tabPanel.newTab('tab2', 'Child Two', childTwo);
tabPanel.getTab('tab2').text = 'Child Two Changed';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getTabs|class=node}{tr:id=name}{td}h6.getTabs{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTab]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getTabs{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getTabs_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTabs_des|trigger=none|class=sIndent}Returns an array of JSTab instances holding the tabs of the tab panel.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getTabs_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTabs_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:getTabs_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTabs_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getTabs_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:getTabs_ret|trigger=none|class=sIndent}[JSTab]\[] -- An array of JSTab instances representing all tabs of this tabpanel.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getTabs_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getTabs_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getTabs_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getTabs_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getTabs_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getTabs_sam|trigger=none}{code:language=javascript}
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne);
tabPanel.newTab('tab2', 'Child Two', childTwo);
var tabs = tabPanel.getTabs();
for (var i=0; i<tabs.length; i++)
	application.output("Tab " + i + " has text " + tabs[i].text);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getUUID|class=node}{tr:id=name}{td}h6.getUUID{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:getUUID_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:getUUID_des|trigger=none|class=sIndent}Returns the UUID of this component.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getUUID_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:getUUID_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:getUUID_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:getUUID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getUUID_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:getUUID_ret|trigger=none|class=sIndent}[UUID]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getUUID_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getUUID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getUUID_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getUUID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getUUID_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:getUUID_sam|trigger=none}{code:language=javascript}
var button_uuid = solutionModel.getForm("my_form").getButton("my_button").getUUID();
application.output(button_uuid.toString());
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=newTab-String_String_JSForm|class=node}{tr:id=name}{td}h6.newTab{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTab]{span}{span:id=iets|style=float: left; font-weight: bold;}newTab{span}{span:id=iets|style=float: left;}\(name, text, form){span}{td}{tr}{tr:id=des}{td}{sub-section:newTab-String_String_JSForm_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_des|trigger=none|class=sIndent}Adds a new tab with the text label and JSForm.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:newTab-String_String_JSForm_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:newTab-String_String_JSForm_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_prs|trigger=none|class=sIndent}\{[String]} name -- The name of the new tab.
\{[String]} text -- The text to be displayed on the new tab.
\{[JSForm]} form -- The JSForm instance that should be displayed in the new tab.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:newTab-String_String_JSForm_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_ret|trigger=none|class=sIndent}[JSTab] -- A JSTab instance representing the newly created and added tab.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:newTab-String_String_JSForm_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:newTab-String_String_JSForm_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:newTab-String_String_JSForm_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:newTab-String_String_JSForm_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:newTab-String_String_JSForm_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:newTab-String_String_JSForm_sam|trigger=none}{code:language=javascript}
// Create a parent form.
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 640, 480);
// Create a first child form.
var childOne = solutionModel.newForm('childOne', 'db:/example_data/child_table', null, false, 400, 300);
childOne.newField('child_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
// Create a relation to link the parent form to the first child form.
var parentToChild = solutionModel.newRelation('parentToChild','db:/example_data/parent_table','db:/example_data/child_table',JSRelation.INNER_JOIN);
parentToChild.newRelationItem('parent_table_id','=','child_table_parent_id');
// Create a second child form.
var childTwo = solutionModel.newForm('childTwo', 'db:/example_data/my_table', null, false, 400, 300);
childTwo.newField('my_table_image', JSField.IMAGE_MEDIA, 10, 10, 100, 100);
// Create a tab panel and add two tabs to it, with the two child forms.
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne, parentToChild); // The first form uses the relation.
tabPanel.newTab('tab2', 'Child Two', childTwo);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=newTab-String_String_JSForm_Object|class=node}{tr:id=name}{td}h6.newTab{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTab]{span}{span:id=iets|style=float: left; font-weight: bold;}newTab{span}{span:id=iets|style=float: left;}\(name, text, form, relation){span}{td}{tr}{tr:id=des}{td}{sub-section:newTab-String_String_JSForm_Object_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_Object_des|trigger=none|class=sIndent}Adds a new tab with the text label and JSForm and JSRelation (can be null for unrelated).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:newTab-String_String_JSForm_Object_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_Object_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:newTab-String_String_JSForm_Object_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_Object_prs|trigger=none|class=sIndent}\{[String]} name -- The name of the new tab.
\{[String]} text -- The text to be displayed on the new tab.
\{[JSForm]} form -- The JSForm instance that should be displayed in the new tab.
\{[Object]} relation -- A JSRelation object that relates the parent form with the form
                         that will be displayed in the new tab.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:newTab-String_String_JSForm_Object_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:newTab-String_String_JSForm_Object_ret|trigger=none|class=sIndent}[JSTab] -- A JSTab instance representing the newly created and added tab.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:newTab-String_String_JSForm_Object_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:newTab-String_String_JSForm_Object_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:newTab-String_String_JSForm_Object_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:newTab-String_String_JSForm_Object_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:newTab-String_String_JSForm_Object_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:newTab-String_String_JSForm_Object_sam|trigger=none}{code:language=javascript}
// Create a parent form.
var form = solutionModel.newForm('parentForm', 'db:/example_data/parent_table', null, false, 640, 480);
// Create a first child form.
var childOne = solutionModel.newForm('childOne', 'db:/example_data/child_table', null, false, 400, 300);
childOne.newField('child_table_text', JSField.TEXT_FIELD, 10, 10, 100, 20);
// Create a relation to link the parent form to the first child form.
var parentToChild = solutionModel.newRelation('parentToChild','db:/example_data/parent_table','db:/example_data/child_table',JSRelation.INNER_JOIN);
parentToChild.newRelationItem('parent_table_id','=','child_table_parent_id');
// Create a second child form.
var childTwo = solutionModel.newForm('childTwo', 'db:/example_data/my_table', null, false, 400, 300);
childTwo.newField('my_table_image', JSField.IMAGE_MEDIA, 10, 10, 100, 100);
// Create a tab panel and add two tabs to it, with the two child forms.
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne, parentToChild); // The first form uses the relation.
tabPanel.newTab('tab2', 'Child Two', childTwo);
{code}{sub-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:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}putDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:putDesignTimeProperty_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:putDesignTimeProperty_des|trigger=none|class=sIndent}Set a design\-time property of an element.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:putDesignTimeProperty_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:putDesignTimeProperty_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:putDesignTimeProperty_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:putDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:putDesignTimeProperty_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:putDesignTimeProperty_ret|trigger=none|class=sIndent}[Object]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:putDesignTimeProperty_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:putDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:putDesignTimeProperty_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:putDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:putDesignTimeProperty_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:putDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm('orders')
var fld = frm.getField('fld')
fld.putDesignTimeProperty('myprop', 'strawberry')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=removeDesignTimeProperty|class=node}{tr:id=name}{td}h6.removeDesignTimeProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}removeDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:removeDesignTimeProperty_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeDesignTimeProperty_des|trigger=none|class=sIndent}Clear a design\-time property of an element.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:removeDesignTimeProperty_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeDesignTimeProperty_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:removeDesignTimeProperty_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:removeDesignTimeProperty_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeDesignTimeProperty_ret|trigger=none|class=sIndent}[Object]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:removeDesignTimeProperty_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:removeDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:removeDesignTimeProperty_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:removeDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:removeDesignTimeProperty_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:removeDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm('orders')
var fld = frm.getField('fld')
fld.removeDesignTimeProperty('myprop')
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=removeTab|class=node}{tr:id=name}{td}h6.removeTab{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}removeTab{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:removeTab_des|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeTab_des|trigger=none|class=sIndent}Removes the tab with the specified name from the tab panel.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:removeTab_snc|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeTab_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:removeTab_prs|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeTab_prs|trigger=none|class=sIndent}\{[String]} name -- the name of the tab to be removed
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:removeTab_ret|texttrigger=button|triggertext=button}{sub-section}{sub-section:removeTab_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:removeTab_see|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:removeTab_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:removeTab_link|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:removeTab_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:removeTab_sam|texttrigger=button|triggertext=button}{sub-section}{div:class=sIndent}{sub-section:removeTab_sam|trigger=none}{code:language=javascript}
var tabPanel = form.newTabPanel('tabs', 10, 10, 620, 460);
tabPanel.newTab('tab1', 'Child Two', childOne);
tabPanel.newTab('tab2', 'Child Two', childTwo);
tabPanel.removeTab('tab1');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}