{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:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#LIST_VIEW]
The constants to set or get the view property of a JSForm.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#LOCKED_LIST_VIEW]
The constants to set or get the view property of a JSForm.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#LOCKED_RECORD_VIEW]
The constants to set or get the view property of a JSForm.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#LOCKED_TABLE_VIEW]
The constants to set or get the view property of a JSForm.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#RECORD_VIEW]
The constants to set or get the view property of a JSForm.{td}{tr}{tbody}{table}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#borderType]
The type, color and style of border of the component.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#dataSource]
The names of the database server and table that this form is linked to.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#defaultPageFormat]
The default page format for the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSForm]{td}{td}[#extendsForm]
A JSForm instance representing the super form of this form, if this form has a super form.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#initialSort]
The default sort order only when the form loads.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#name]
The name of the form.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#namedFoundSet]
Property that tells the form to use a named foundset instead of the default foundset.{td}{tr}{tbody}{tbody}{tr}{td}[JSForm]{td}{td}[#navigator]
The navigator (previously named "controller")
that is used to control/navigate to the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDeleteAllRecordsCmd]
The method that overrides the Servoy menu item Select > Delete All.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDeleteRecordCmd]
The method that overrides the Servoy menu item Select > Delete Record (or keyboard shortcut).{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDrag]
The method that is triggered when (non Design Mode) dragging occurs.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDragOver]
The method that is triggered when (non Design Mode) dragging over a component occurs.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDrop]
The method that is triggered when (non Design Mode) dropping occurs.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onDuplicateRecordCmd]
The method that overrides the Servoy menu item Select > Duplicate Record (or keyboard shortcut).{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onElementFocusGained]
The method that is triggered when focus is gained by a component inside the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onElementFocusLost]
The method that gets triggered when focus is lost by a component inside the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onFindCmd]
The method that overrides the Servoy menu item Select > Find (or keyboard shortcut) in Data (ready) mode.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onHide]
The method that is triggered when another form is being activated.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onInvertRecordsCmd]
The method that overrides the Servoy menu item Select > Invert Records.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onLoad]
The method that is triggered when a form is loaded/reloaded from the repository; used to alter elements, set globals, hide toolbars, etc; onShow method can also be assigned.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onNewRecordCmd]
The method that overrides the Servoy menu item Select > New Record (or keyboard shortcut).{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onNextRecordCmd]
The method that overrides the Servoy menu item Select > Next Record.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onOmitRecordCmd]
The method that overrides the Servoy menu item Select > Omit Record.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onPreviousRecordCmd]
The method that overrides the Servoy menu item Select > Previous Record.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onPrintPreviewCmd]
The method that overrides the Servoy menu item File > Print Preview.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onRecordEditStart]
The method that is triggered when a user clicks into a column on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onRecordEditStop]
The method that is triggered when a record is being saved.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onRecordSelection]
The method that is triggered each time a record is selected.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onSearchCmd]
The method that overrides the Servoy menu item Select > Search (or keyboard shortcut) in Find mode.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onShow]
The method that is triggered EVERY TIME the form is displayed; an argument must be passed to the method if this is the first time the form is displayed.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onShowAllRecordsCmd]
The method that overrides the Servoy menu item Select > Show All (or keyboard shortcut).{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onShowOmittedRecordsCmd]
The method that overrides the Servoy menu item Select > Show Omitted Records.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onSortCmd]
The method that overrides the Servoy menu item Select > Sort.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#onUnLoad]
The method that is triggered when a form is unloaded from the repository.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#paperPrintScale]
The percentage value the printed page is enlarged or reduced to; the size of the printed form 
is inversely proportional.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#rowBGColorCalculation]
The calculation dataprovider used to add background color and highlight selected or alternate rows.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#scrollbars]
Scrollbar options for the vertical and horizontal scrollbars.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#serverName]
Get the server name used by this form.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showInMenu]
When set, the form is displayed under the Window menu.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#styleClass]
The Cascading Style Sheet (CSS) class name applied to the form.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#styleName]
The name of the Servoy style that is being used on the form.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#tableName]
The\[name of the table/SQL view].{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#titleText]
The text that displays in the title bar of the form window.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#transparent]
When set, the form is transparent.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#view]
The default form view mode.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#width]
The width of the form in pixels.{td}{tr}{tbody}{table}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[JSPart]{td}{td}[#getBodyPart]\()
Retrieves the Body part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSButton]{td}{td}[#getButton]\(name)
Returns a JSButton that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[JSButton]\[]{td}{td}[#getButtons]\()
Returns all JSButtons of this form, including the ones without a name.{td}{tr}{tbody}{tbody}{tr}{td}[JSComponent]{td}{td}[#getComponent]\(name)
Returns a JSComponent that has the given name; if found it will be a JSField, JSLabel, JSButton, JSPortal or JSTabPanel.{td}{tr}{tbody}{tbody}{tr}{td}[JSComponent]\[]{td}{td}[#getComponents]\()
Returns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal or JSTabPanel.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#getField]\(name)
The field with the specified name.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]\[]{td}{td}[#getFields]\()
Returns all JSField objects of this form, including the ones without a name.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getFooterPart]\()
Retrieves the Footer part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#getFormMethod]\(name)
Gets an existing form method for the given name.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]\[]{td}{td}[#getFormMethods]\()
Returns all existing form methods for this form.{td}{tr}{tbody}{tbody}{tr}{td}[JSVariable]{td}{td}[#getFormVariable]\(name)
Gets an existing form variable for the given name.{td}{tr}{tbody}{tbody}{tr}{td}[JSVariable]\[]{td}{td}[#getFormVariables]\()
An array consisting of all form variables for this form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getHeaderPart]\()
Retrieves the Header part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSLabel]{td}{td}[#getLabel]\(name)
Returns a JSLabel that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[JSLabel]\[]{td}{td}[#getLabels]\()
Returns all JSLabels of this form, including the ones without a name.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getLeadingGrandSummaryPart]\()
Retrieves the Leading Grand Summary part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]\[]{td}{td}[#getLeadingSubSummaryParts]\()
Gets an array of the Leading Subsummary parts of the form, ordered by their height from top == 0 to bottom.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getPart]\(type, height)
Gets a part of the form from the given type (see JSPart constants).{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getPartYOffset]\(type, height)
Returns the Y offset of a given part (see JSPart) of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]\[]{td}{td}[#getParts]\()
Gets all the parts from the form, ordered by there height (lowerbound) property, from top == 0 to bottom.{td}{tr}{tbody}{tbody}{tr}{td}[JSPortal]{td}{td}[#getPortal]\(name)
Returns a JSPortal that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[JSPortal]\[]{td}{td}[#getPortals]\()
Returns all JSPortal objects of this form, including the ones without a name.{td}{tr}{tbody}{tbody}{tr}{td}[JSTabPanel]{td}{td}[#getTabPanel]\(name)
Returns a JSTabPanel that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[JSTabPanel]\[]{td}{td}[#getTabPanels]\()
Returns all JSTabPanels of this form, including the ones without a name.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getTitleFooterPart]\()
Retrieves the Title Footer part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getTitleHeaderPart]\()
Retrieves the Title Header part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#getTrailingGrandSummaryPart]\()
Retrieves the Trailing Grand Summary part of the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]\[]{td}{td}[#getTrailingSubSummaryParts]\()
Gets an array of the Trailing Subsummary parts of the form, ordered by their height from top == 0 to bottom.{td}{tr}{tbody}{tbody}{tr}{td}[JSButton]{td}{td}[#newButton]\(text, x, y, width, height, jsmethod)
Creates a new button on the form with the given text, place, size and JSMethod as the onAction event triggered action.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newCalendar]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of CALENDAR - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newCheck]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of CHECK (checkbox) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newComboBox]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of COMBOBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newField]\(dataprovidername/jsvariable, displaytype, x, y, width, height)
Creates a new JSField object on the form - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newFooterPart]\()
Creates a new Footer part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSMethod]{td}{td}[#newFormMethod]\(code)
Creates a new form JSMethod - based on the specified code.{td}{tr}{tbody}{tbody}{tr}{td}[JSVariable]{td}{td}[#newFormVariable]\(name, type)
Creates a new form JSVariable - based on the name of the variable object and the number type, uses the SolutionModel JSVariable constants.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newHeaderPart]\()
Creates a new Header part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newHtmlArea]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of HTML_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newImageMedia]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of IMAGE_MEDIA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSLabel]{td}{td}[#newLabel]\(text, x, y, width, height, jsmethod)
Creates a new JSLabel object on the form - including the text of the label, the "x" and "y" position of the label object in pixels, the width and height of the label object in pixels and the optional JSMethod action such as the method for an onAction event.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newLeadingGrandSummaryPart]\()
Creates a new Leading Grand Summary part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newLeadingSubSummaryPart]\()
Creates a new Leading Subsummary part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newPart]\(type, height)
Creates a new part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newPassword]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of PASSWORD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSPortal]{td}{td}[#newPortal]\(name, relation, x, y, width, height)
Creates a new JSPortal object on the form - including the name of the JSPortal object; the relation the JSPortal object is based on, the "x" and "y" position of the JSPortal object in pixels, as well as the width and height of the JSPortal object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newRadios]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of RADIOS (radio buttons) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newRtfArea]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of RTF_AREA (enables more than one line of text to be displayed in a field) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSTabPanel]{td}{td}[#newTabPanel]\(name, x, y, width, height)
Creates a new JSTabPanel object on the form - including the name of the JSTabPanel object, the "x" and "y" position of the JSTabPanel object in pixels, as well as the width and height of the JSTabPanel object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newTextArea]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of TEXT_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newTextField]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of TEXT_FIELD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newTitleFooterPart]\()
Creates a new Title Footer part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newTitleHeaderPart]\()
Creates a new Title Header part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newTrailingGrandSummaryPart]\()
Creates a new Trailing Grand Summary part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSPart]{td}{td}[#newTrailingSubSummaryPart]\()
Creates a new Trailing Subsummary part on the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSField]{td}{td}[#newTypeAhead]\(dataprovidername/jsvariable, x, y, width, height)
Creates a new JSField object on the form with the displayType of TYPE_AHEAD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeButton]\(name)
Removes a JSButton that has the specified name.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeComponent]\(name)
Removes a component (JSLabel, JSButton, JSField, JSPortal, JSTabpanel) that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeField]\(name)
Removes a JSField that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeLabel]\(name)
Removes a JSLabel that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removePart]\(type, height)
Removes a JSPart of the given type.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removePortal]\(name)
Removes a JSPortal that has the given name.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#removeTabPanel]\(name)
Removes a JSTabPanel that has the given name.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=99CFF861-95F2-4BE5-B174-348684246F98}{tr:id=name}{td}h6.LIST_VIEW{td}{tr}{tr:id=des}{td}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_des|text=|trigger=button}{sub-section}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_des|trigger=none|class=sIndent}The constants to set or get the view property of a JSForm. 
They are as follows: JSForm.LIST_VIEW, JSForm.LOCKED_LIST_VIEW, JSForm.LOCKED_RECORD_VIEW, JSForm.LOCKED_TABLE_VIEW, JSForm.RECORD_VIEW.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_ret|text=|trigger=button}{sub-section}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_see|text=|trigger=button}{sub-section}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_see|text=|trigger=button}{sub-section}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_sam|text=|trigger=button}{sub-section}{sub-section:99CFF861-95F2-4BE5-B174-348684246F98_sam|class=sIndent|trigger=none}{code:language=javascript}
var myListViewForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myListViewForm.view = JSForm.LIST_VIEW;

	var myLockedListViewForm = solutionModel.newForm('newForm2', 'myServer', 'myTable', 'myStyleName', false, 800, 600);	
	myLockedListViewForm.view = JSForm.LOCKED_LIST_VIEW;
	
	var myLockedRecordViewForm = solutionModel.newForm('newForm3', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedRecordViewForm.view = JSForm.LOCKED_RECORD_VIEW;

	var myLockedTableViewForm = solutionModel.newForm('newForm4', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedTableViewForm.view = JSForm.LOCKED_TABLE_VIEW;
	
	var myRecordViewForm = solutionModel.newForm('newForm5', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myRecordViewForm.view = JSForm.RECORD_VIEW;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=701FC9F8-D932-4AE1-934D-C3ADD1259081}{tr:id=name}{td}h6.LOCKED_LIST_VIEW{td}{tr}{tr:id=des}{td}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_des|text=|trigger=button}{sub-section}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_des|trigger=none|class=sIndent}The constants to set or get the view property of a JSForm. 
They are as follows: JSForm.LIST_VIEW, JSForm.LOCKED_LIST_VIEW, JSForm.LOCKED_RECORD_VIEW, JSForm.LOCKED_TABLE_VIEW, JSForm.RECORD_VIEW.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_ret|text=|trigger=button}{sub-section}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_see|text=|trigger=button}{sub-section}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_see|text=|trigger=button}{sub-section}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_sam|text=|trigger=button}{sub-section}{sub-section:701FC9F8-D932-4AE1-934D-C3ADD1259081_sam|class=sIndent|trigger=none}{code:language=javascript}
var myListViewForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myListViewForm.view = JSForm.LIST_VIEW;

	var myLockedListViewForm = solutionModel.newForm('newForm2', 'myServer', 'myTable', 'myStyleName', false, 800, 600);	
	myLockedListViewForm.view = JSForm.LOCKED_LIST_VIEW;
	
	var myLockedRecordViewForm = solutionModel.newForm('newForm3', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedRecordViewForm.view = JSForm.LOCKED_RECORD_VIEW;

	var myLockedTableViewForm = solutionModel.newForm('newForm4', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedTableViewForm.view = JSForm.LOCKED_TABLE_VIEW;
	
	var myRecordViewForm = solutionModel.newForm('newForm5', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myRecordViewForm.view = JSForm.RECORD_VIEW;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7E904E02-466B-485E-8FFD-33C03E8F9BAE}{tr:id=name}{td}h6.LOCKED_RECORD_VIEW{td}{tr}{tr:id=des}{td}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_des|text=|trigger=button}{sub-section}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_des|trigger=none|class=sIndent}The constants to set or get the view property of a JSForm. 
They are as follows: JSForm.LIST_VIEW, JSForm.LOCKED_LIST_VIEW, JSForm.LOCKED_RECORD_VIEW, JSForm.LOCKED_TABLE_VIEW, JSForm.RECORD_VIEW.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_ret|text=|trigger=button}{sub-section}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_see|text=|trigger=button}{sub-section}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_see|text=|trigger=button}{sub-section}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_sam|text=|trigger=button}{sub-section}{sub-section:7E904E02-466B-485E-8FFD-33C03E8F9BAE_sam|class=sIndent|trigger=none}{code:language=javascript}
var myListViewForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myListViewForm.view = JSForm.LIST_VIEW;

	var myLockedListViewForm = solutionModel.newForm('newForm2', 'myServer', 'myTable', 'myStyleName', false, 800, 600);	
	myLockedListViewForm.view = JSForm.LOCKED_LIST_VIEW;
	
	var myLockedRecordViewForm = solutionModel.newForm('newForm3', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedRecordViewForm.view = JSForm.LOCKED_RECORD_VIEW;

	var myLockedTableViewForm = solutionModel.newForm('newForm4', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedTableViewForm.view = JSForm.LOCKED_TABLE_VIEW;
	
	var myRecordViewForm = solutionModel.newForm('newForm5', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myRecordViewForm.view = JSForm.RECORD_VIEW;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=421B7507-0024-485E-8A0C-59CBABCD133E}{tr:id=name}{td}h6.LOCKED_TABLE_VIEW{td}{tr}{tr:id=des}{td}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_des|text=|trigger=button}{sub-section}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_des|trigger=none|class=sIndent}The constants to set or get the view property of a JSForm. 
They are as follows: JSForm.LIST_VIEW, JSForm.LOCKED_LIST_VIEW, JSForm.LOCKED_RECORD_VIEW, JSForm.LOCKED_TABLE_VIEW, JSForm.RECORD_VIEW.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_ret|text=|trigger=button}{sub-section}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_see|text=|trigger=button}{sub-section}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_see|text=|trigger=button}{sub-section}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_sam|text=|trigger=button}{sub-section}{sub-section:421B7507-0024-485E-8A0C-59CBABCD133E_sam|class=sIndent|trigger=none}{code:language=javascript}
var myListViewForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myListViewForm.view = JSForm.LIST_VIEW;

	var myLockedListViewForm = solutionModel.newForm('newForm2', 'myServer', 'myTable', 'myStyleName', false, 800, 600);	
	myLockedListViewForm.view = JSForm.LOCKED_LIST_VIEW;
	
	var myLockedRecordViewForm = solutionModel.newForm('newForm3', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedRecordViewForm.view = JSForm.LOCKED_RECORD_VIEW;

	var myLockedTableViewForm = solutionModel.newForm('newForm4', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedTableViewForm.view = JSForm.LOCKED_TABLE_VIEW;
	
	var myRecordViewForm = solutionModel.newForm('newForm5', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myRecordViewForm.view = JSForm.RECORD_VIEW;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=83637B34-484B-462F-8038-779B19F383FE}{tr:id=name}{td}h6.RECORD_VIEW{td}{tr}{tr:id=des}{td}{sub-section:83637B34-484B-462F-8038-779B19F383FE_des|text=|trigger=button}{sub-section}{sub-section:83637B34-484B-462F-8038-779B19F383FE_des|trigger=none|class=sIndent}The constants to set or get the view property of a JSForm. 
They are as follows: JSForm.LIST_VIEW, JSForm.LOCKED_LIST_VIEW, JSForm.LOCKED_RECORD_VIEW, JSForm.LOCKED_TABLE_VIEW, JSForm.RECORD_VIEW.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:83637B34-484B-462F-8038-779B19F383FE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:83637B34-484B-462F-8038-779B19F383FE_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:83637B34-484B-462F-8038-779B19F383FE_ret|text=|trigger=button}{sub-section}{sub-section:83637B34-484B-462F-8038-779B19F383FE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:83637B34-484B-462F-8038-779B19F383FE_see|text=|trigger=button}{sub-section}{sub-section:83637B34-484B-462F-8038-779B19F383FE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:83637B34-484B-462F-8038-779B19F383FE_see|text=|trigger=button}{sub-section}{sub-section:83637B34-484B-462F-8038-779B19F383FE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:83637B34-484B-462F-8038-779B19F383FE_sam|text=|trigger=button}{sub-section}{sub-section:83637B34-484B-462F-8038-779B19F383FE_sam|class=sIndent|trigger=none}{code:language=javascript}
var myListViewForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myListViewForm.view = JSForm.LIST_VIEW;

	var myLockedListViewForm = solutionModel.newForm('newForm2', 'myServer', 'myTable', 'myStyleName', false, 800, 600);	
	myLockedListViewForm.view = JSForm.LOCKED_LIST_VIEW;
	
	var myLockedRecordViewForm = solutionModel.newForm('newForm3', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedRecordViewForm.view = JSForm.LOCKED_RECORD_VIEW;

	var myLockedTableViewForm = solutionModel.newForm('newForm4', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myLockedTableViewForm.view = JSForm.LOCKED_TABLE_VIEW;
	
	var myRecordViewForm = solutionModel.newForm('newForm5', 'myServer', 'myTable', 'myStyleName', false, 800, 600);
	myRecordViewForm.view = JSForm.RECORD_VIEW;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C}{tr:id=name}{td}h6.borderType{td}{tr}{tr:id=des}{td}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_des|text=|trigger=button}{sub-section}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_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=prs}{td}*Parameters*\\{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_ret|text=|trigger=button}{sub-section}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_see|text=|trigger=button}{sub-section}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_see|text=|trigger=button}{sub-section}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_sam|text=|trigger=button}{sub-section}{sub-section:9AFEAC42-7AB2-43EC-B84B-FB5625BA6E0C_sam|class=sIndent|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 = 'LineBorder,2,#FF0000';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=6A5821DC-C708-40BE-90C7-B2ABA2C70BEA}{tr:id=name}{td}h6.dataSource{td}{tr}{tr:id=des}{td}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_des|text=|trigger=button}{sub-section}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_des|trigger=none|class=sIndent}The names of the database server and table that this form is linked to.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_ret|text=|trigger=button}{sub-section}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_see|text=|trigger=button}{sub-section}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_see|text=|trigger=button}{sub-section}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_sam|text=|trigger=button}{sub-section}{sub-section:6A5821DC-C708-40BE-90C7-B2ABA2C70BEA_sam|class=sIndent|trigger=none}{code:language=javascript}
var myForm = solutionModel.newForm('newForm', 'aServer', 'aTable', 'aStyleName', false, 800, 600)
	myForm.dataSource = 'db:/anotherServerName/anotherTableName'
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E260264B-D167-4A9A-B66D-1F3744960BBF}{tr:id=name}{td}h6.defaultPageFormat{td}{tr}{tr:id=des}{td}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_des|text=|trigger=button}{sub-section}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_des|trigger=none|class=sIndent}The default page format for the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_ret|text=|trigger=button}{sub-section}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_see|text=|trigger=button}{sub-section}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_see|text=|trigger=button}{sub-section}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_sam|text=|trigger=button}{sub-section}{sub-section:E260264B-D167-4A9A-B66D-1F3744960BBF_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("someForm");
application.output(form.defaultPageFormat);
//HINT: To know exactly the notation of this property set it in the designer and then read it once out through the solution model.
//It follows this convention: 
//Orientation (0-Landscape,1-Portrait, 2-Reverse Landscape); Width; Height; ImageableX; ImageableY; ImageableWidth; ImageableHeight
form.defaultPageFormat = 1;612.0;792.0;72.0;72.0;468.0;648.0
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2DD65556-AA7E-44FA-82E6-EA1BA81BABCD}{tr:id=name}{td}h6.extendsForm{td}{tr}{tr:id=des}{td}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_des|text=|trigger=button}{sub-section}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_des|trigger=none|class=sIndent}A JSForm instance representing the super form of this form, if this form has a super form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_ret|text=|trigger=button}{sub-section}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_ret|trigger=none|class=sIndent}[JSForm]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_see|text=|trigger=button}{sub-section}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_see|text=|trigger=button}{sub-section}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_sam|text=|trigger=button}{sub-section}{sub-section:2DD65556-AA7E-44FA-82E6-EA1BA81BABCD_sam|class=sIndent|trigger=none}{code:language=javascript}
var subForm = solutionModel.newForm('childForm','myServer','myTable',null,true,800,600);
var superForm = solutionModel.newForm('childForm','myServer','myTable',null,true,800,600);
subForm.extendsForm = superForm;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A8863159-2552-4B0A-ADF4-716964398416}{tr:id=name}{td}h6.initialSort{td}{tr}{tr:id=des}{td}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_des|text=|trigger=button}{sub-section}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_des|trigger=none|class=sIndent}The default sort order only when the form loads.
This is applied each time an internal SQL query is being executed (find, find-all, open form); and is only executed when no other manual sort has been performed on the foundset.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A8863159-2552-4B0A-ADF4-716964398416_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A8863159-2552-4B0A-ADF4-716964398416_ret|text=|trigger=button}{sub-section}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A8863159-2552-4B0A-ADF4-716964398416_see|text=|trigger=button}{sub-section}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A8863159-2552-4B0A-ADF4-716964398416_see|text=|trigger=button}{sub-section}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A8863159-2552-4B0A-ADF4-716964398416_sam|text=|trigger=button}{sub-section}{sub-section:A8863159-2552-4B0A-ADF4-716964398416_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,800,600);
form.initialSort = "column1 desc, column2 asc, column3 asc";
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3B77EB6E-A73D-4E2F-A600-0CAD6682E80B}{tr:id=name}{td}h6.name{td}{tr}{tr:id=des}{td}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_des|text=|trigger=button}{sub-section}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_des|trigger=none|class=sIndent}The name of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_ret|text=|trigger=button}{sub-section}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_see|text=|trigger=button}{sub-section}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_see|text=|trigger=button}{sub-section}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_sam|text=|trigger=button}{sub-section}{sub-section:3B77EB6E-A73D-4E2F-A600-0CAD6682E80B_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,800,600);
var formName = form.name;
application.output(formName);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=83DDDD0B-68B1-48C1-950D-C3A28FE9C82F}{tr:id=name}{td}h6.namedFoundSet{td}{tr}{tr:id=des}{td}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_des|text=|trigger=button}{sub-section}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_des|trigger=none|class=sIndent}Property that tells the form to use a named foundset instead of the default foundset.
Currently only "separate" can be specified as value, meaning that the form will
use a separate foundset.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_ret|text=|trigger=button}{sub-section}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_see|text=|trigger=button}{sub-section}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_see|text=|trigger=button}{sub-section}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_sam|text=|trigger=button}{sub-section}{sub-section:83DDDD0B-68B1-48C1-950D-C3A28FE9C82F_sam|class=sIndent|trigger=none}{code:language=javascript}
var firstForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var secondForm = solutionModel.newForm('newForm2', 'myServer', 'myTable', null, true, 800, 600);
	forms['newForm2'].controller.find()
	forms['newForm2'].columnTextDataProvider = '=aSearchValue';
	forms['newForm2'].controller.search()
	var myFoundSet = forms['newForm2'].foundset
	firstForm.namedFoundSet = myFoundSet;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=52467E76-B2C0-4464-86D4-EE601B624588}{tr:id=name}{td}h6.navigator{td}{tr}{tr:id=des}{td}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_des|text=|trigger=button}{sub-section}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_des|trigger=none|class=sIndent}The navigator (previously named "controller")
that is used to control/navigate to the form. The navigator is shown at
the left or at the right side of the form, depending on the page orientation. 

The following options are available: 
-none- - no navigator is assigned. 
DEFAULT - the Servoy default navigator is assigned. 
IGNORE - the navigator last assigned to a previous form. 
Custom - a custom navigator based on a selected form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_ret|text=|trigger=button}{sub-section}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_ret|trigger=none|class=sIndent}[JSForm]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_see|text=|trigger=button}{sub-section}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_see|text=|trigger=button}{sub-section}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_sam|text=|trigger=button}{sub-section}{sub-section:52467E76-B2C0-4464-86D4-EE601B624588_sam|class=sIndent|trigger=none}{code:language=javascript}
var aForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var aNavigator = solutionModel.newForm('navForm', 'myServer', 'myTable', null, false, 800, 600);
	aNavigator.navigator = null;
	myListViewForm.navigator = aNavigator;
	application.output(myListViewForm.navigator.name);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=71970630-BEDD-4190-A32C-B6FB2D87E2C2}{tr:id=name}{td}h6.onDeleteAllRecordsCmd{td}{tr}{tr:id=des}{td}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_des|text=|trigger=button}{sub-section}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Delete All. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_ret|text=|trigger=button}{sub-section}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_see|text=|trigger=button}{sub-section}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_see|text=|trigger=button}{sub-section}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_sam|text=|trigger=button}{sub-section}{sub-section:71970630-BEDD-4190-A32C-B6FB2D87E2C2_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onNewRecordCmd = form.newFormMethod('function onNewRecordCmd(event) { application.output("onNewRecordCmd intercepted on " + event.getFormName()); }');
form.onDuplicateRecordCmd = form.newFormMethod('function onDuplicateRecordCmd(event) { application.output("onDuplicateRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteRecordCmd = form.newFormMethod('function onDeleteRecordCmd(event) { application.output("onDeleteRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteAllRecordsCmd = form.newFormMethod('function onDeleteAllRecordsCmd(event) { application.output("onDeleteAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C7622307-DACC-4B10-917C-36D6647AB207}{tr:id=name}{td}h6.onDeleteRecordCmd{td}{tr}{tr:id=des}{td}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_des|text=|trigger=button}{sub-section}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Delete Record (or keyboard shortcut). 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_ret|text=|trigger=button}{sub-section}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_see|text=|trigger=button}{sub-section}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_see|text=|trigger=button}{sub-section}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_sam|text=|trigger=button}{sub-section}{sub-section:C7622307-DACC-4B10-917C-36D6647AB207_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onNewRecordCmd = form.newFormMethod('function onNewRecordCmd(event) { application.output("onNewRecordCmd intercepted on " + event.getFormName()); }');
form.onDuplicateRecordCmd = form.newFormMethod('function onDuplicateRecordCmd(event) { application.output("onDuplicateRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteRecordCmd = form.newFormMethod('function onDeleteRecordCmd(event) { application.output("onDeleteRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteAllRecordsCmd = form.newFormMethod('function onDeleteAllRecordsCmd(event) { application.output("onDeleteAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4785984B-9D41-4F10-9B6D-5A43C8910FAB}{tr:id=name}{td}h6.onDrag{td}{tr}{tr:id=des}{td}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_des|text=|trigger=button}{sub-section}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_des|trigger=none|class=sIndent}The method that is triggered when (non Design Mode) dragging occurs.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_ret|text=|trigger=button}{sub-section}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_see|text=|trigger=button}{sub-section}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_see|text=|trigger=button}{sub-section}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_sam|text=|trigger=button}{sub-section}{sub-section:4785984B-9D41-4F10-9B6D-5A43C8910FAB_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onDrag = form.newFormMethod('function onDrag(event) { application.output("onDrag intercepted from " + event.getSource()); }');
form.onDragOver = form.newFormMethod('function onDragOver(event) { application.output("onDragOver intercepted from " + event.getSource()); }');
form.onDrop = form.newFormMethod('function onDrop(event) { application.output("onDrop intercepted from " + event.getSource()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=BDA26449-9530-4FD2-8D2F-31BF9FF750D5}{tr:id=name}{td}h6.onDragOver{td}{tr}{tr:id=des}{td}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_des|text=|trigger=button}{sub-section}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_des|trigger=none|class=sIndent}The method that is triggered when (non Design Mode) dragging over a component occurs.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_ret|text=|trigger=button}{sub-section}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_see|text=|trigger=button}{sub-section}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_see|text=|trigger=button}{sub-section}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_sam|text=|trigger=button}{sub-section}{sub-section:BDA26449-9530-4FD2-8D2F-31BF9FF750D5_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onDrag = form.newFormMethod('function onDrag(event) { application.output("onDrag intercepted from " + event.getSource()); }');
form.onDragOver = form.newFormMethod('function onDragOver(event) { application.output("onDragOver intercepted from " + event.getSource()); }');
form.onDrop = form.newFormMethod('function onDrop(event) { application.output("onDrop intercepted from " + event.getSource()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2CCA4593-02B3-4FC3-A5C1-A65E2E47D920}{tr:id=name}{td}h6.onDrop{td}{tr}{tr:id=des}{td}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_des|text=|trigger=button}{sub-section}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_des|trigger=none|class=sIndent}The method that is triggered when (non Design Mode) dropping occurs.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_ret|text=|trigger=button}{sub-section}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_see|text=|trigger=button}{sub-section}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_see|text=|trigger=button}{sub-section}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_sam|text=|trigger=button}{sub-section}{sub-section:2CCA4593-02B3-4FC3-A5C1-A65E2E47D920_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onDrag = form.newFormMethod('function onDrag(event) { application.output("onDrag intercepted from " + event.getSource()); }');
form.onDragOver = form.newFormMethod('function onDragOver(event) { application.output("onDragOver intercepted from " + event.getSource()); }');
form.onDrop = form.newFormMethod('function onDrop(event) { application.output("onDrop intercepted from " + event.getSource()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=657097D7-0D16-4A28-92F1-1D8048E501C0}{tr:id=name}{td}h6.onDuplicateRecordCmd{td}{tr}{tr:id=des}{td}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_des|text=|trigger=button}{sub-section}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Duplicate Record (or keyboard shortcut).
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_ret|text=|trigger=button}{sub-section}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_see|text=|trigger=button}{sub-section}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_see|text=|trigger=button}{sub-section}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_sam|text=|trigger=button}{sub-section}{sub-section:657097D7-0D16-4A28-92F1-1D8048E501C0_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onNewRecordCmd = form.newFormMethod('function onNewRecordCmd(event) { application.output("onNewRecordCmd intercepted on " + event.getFormName()); }');
form.onDuplicateRecordCmd = form.newFormMethod('function onDuplicateRecordCmd(event) { application.output("onDuplicateRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteRecordCmd = form.newFormMethod('function onDeleteRecordCmd(event) { application.output("onDeleteRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteAllRecordsCmd = form.newFormMethod('function onDeleteAllRecordsCmd(event) { application.output("onDeleteAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=661551F7-39BE-469A-A79E-F74C04DB1A4E}{tr:id=name}{td}h6.onElementFocusGained{td}{tr}{tr:id=des}{td}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_des|text=|trigger=button}{sub-section}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_des|trigger=none|class=sIndent}The method that is triggered when focus is gained by a component inside the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_ret|text=|trigger=button}{sub-section}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_see|text=|trigger=button}{sub-section}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_see|text=|trigger=button}{sub-section}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_sam|text=|trigger=button}{sub-section}{sub-section:661551F7-39BE-469A-A79E-F74C04DB1A4E_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onElementFocusGained = form.newFormMethod('function onElementFocusGained(event) { application.output("onElementFocusGained intercepted from " + event.getSource()); }');
form.onElementFocusLost = form.newFormMethod('function onElementFocusLost(event) { application.output("onElementFocusLost intercepted from " + event.getSource()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4E496E64-11B2-4747-99A4-9F1EF27312BB}{tr:id=name}{td}h6.onElementFocusLost{td}{tr}{tr:id=des}{td}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_des|text=|trigger=button}{sub-section}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_des|trigger=none|class=sIndent}The method that gets triggered when focus is lost by a component inside the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_ret|text=|trigger=button}{sub-section}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_see|text=|trigger=button}{sub-section}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_see|text=|trigger=button}{sub-section}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_sam|text=|trigger=button}{sub-section}{sub-section:4E496E64-11B2-4747-99A4-9F1EF27312BB_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onElementFocusGained = form.newFormMethod('function onElementFocusGained(event) { application.output("onElementFocusGained intercepted from " + event.getSource()); }');
form.onElementFocusLost = form.newFormMethod('function onElementFocusLost(event) { application.output("onElementFocusLost intercepted from " + event.getSource()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A090693E-E305-4777-92BE-67A73D1AB433}{tr:id=name}{td}h6.onFindCmd{td}{tr}{tr:id=des}{td}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_des|text=|trigger=button}{sub-section}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Find (or keyboard shortcut) in Data (ready) mode. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_ret|text=|trigger=button}{sub-section}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_see|text=|trigger=button}{sub-section}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_see|text=|trigger=button}{sub-section}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_sam|text=|trigger=button}{sub-section}{sub-section:A090693E-E305-4777-92BE-67A73D1AB433_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onFindCmd = form.newFormMethod('function onFindCmd(event) { application.output("onFindCmd intercepted on " + event.getFormName()); }');
form.onSearchCmd = form.newFormMethod('function onSearchCmd(event) { application.output("onSearchCmd intercepted on " + event.getFormName()); }');
form.onShowAllRecordsCmd = form.newFormMethod('function onShowAllRecordsCmd(event) { application.output("onShowAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A}{tr:id=name}{td}h6.onHide{td}{tr}{tr:id=des}{td}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_des|text=|trigger=button}{sub-section}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_des|trigger=none|class=sIndent}The method that is triggered when another form is being activated. 
NOTE: If the onHide method returns false, the form can be prevented from hiding. 
For example, when using onHide with showFormInDialog, the form will not close by clicking the dialog close box (X).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_ret|text=|trigger=button}{sub-section}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_see|text=|trigger=button}{sub-section}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_see|text=|trigger=button}{sub-section}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_sam|text=|trigger=button}{sub-section}{sub-section:645D4ADE-ECCF-46F6-B8D7-671E6F9F5C5A_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onShow = form.newFormMethod('function onShow(firstShow, event) { application.output("onShow intercepted on " + event.getFormName() + ". first show? " + firstShow); return false; }');
form.onHide = form.newFormMethod('function onHide(event) { application.output("onHide blocked on " + event.getFormName()); return false; }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=37121172-0750-4DBF-93DB-26305BD83A78}{tr:id=name}{td}h6.onInvertRecordsCmd{td}{tr}{tr:id=des}{td}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_des|text=|trigger=button}{sub-section}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Invert Records. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_ret|text=|trigger=button}{sub-section}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_see|text=|trigger=button}{sub-section}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_see|text=|trigger=button}{sub-section}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_sam|text=|trigger=button}{sub-section}{sub-section:37121172-0750-4DBF-93DB-26305BD83A78_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onOmitRecordCmd = form.newFormMethod('function onOmitRecordCmd(event) { application.output("onOmitRecordCmd intercepted on " + event.getFormName()); }');
form.onShowOmittedRecordsCmd = form.newFormMethod('function onShowOmittedRecordsCmd(event) { application.output("onShowOmittedRecordsCmd intercepted on " + event.getFormName()); }');
form.onInvertRecordsCmd = form.newFormMethod('function onInvertRecordsCmd(event) { application.output("onInvertRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=60CF1EE1-3F73-4C7A-AAA7-33788333CD95}{tr:id=name}{td}h6.onLoad{td}{tr}{tr:id=des}{td}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_des|text=|trigger=button}{sub-section}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_des|trigger=none|class=sIndent}The method that is triggered when a form is loaded/reloaded from the repository; used to alter elements, set globals, hide toolbars, etc; onShow method can also be assigned.
NOTE: onShow should be used to access current foundset dataproviders; onLoad cannot be used because the foundset data is not loaded until after the form is loaded. 
NOTE: the onLoad event bubbles up, meaning that the onLoad event of a form displayed in a tabPanel is fired before the onLoad event of the parent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_ret|text=|trigger=button}{sub-section}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_see|text=|trigger=button}{sub-section}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_see|text=|trigger=button}{sub-section}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_sam|text=|trigger=button}{sub-section}{sub-section:60CF1EE1-3F73-4C7A-AAA7-33788333CD95_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onLoad = form.newFormMethod('function onLoad(event) { application.output("onLoad intercepted on " + event.getFormName()); }');
form.onUnLoad = form.newFormMethod('function onUnLoad(event) { application.output("onUnLoad intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3F9E8932-FE22-497A-AC4E-2E086E921D3A}{tr:id=name}{td}h6.onNewRecordCmd{td}{tr}{tr:id=des}{td}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_des|text=|trigger=button}{sub-section}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > New Record (or keyboard shortcut). 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_ret|text=|trigger=button}{sub-section}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_see|text=|trigger=button}{sub-section}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_see|text=|trigger=button}{sub-section}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_sam|text=|trigger=button}{sub-section}{sub-section:3F9E8932-FE22-497A-AC4E-2E086E921D3A_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onNewRecordCmd = form.newFormMethod('function onNewRecordCmd(event) { application.output("onNewRecordCmd intercepted on " + event.getFormName()); }');
form.onDuplicateRecordCmd = form.newFormMethod('function onDuplicateRecordCmd(event) { application.output("onDuplicateRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteRecordCmd = form.newFormMethod('function onDeleteRecordCmd(event) { application.output("onDeleteRecordCmd intercepted on " + event.getFormName()); }');
form.onDeleteAllRecordsCmd = form.newFormMethod('function onDeleteAllRecordsCmd(event) { application.output("onDeleteAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D4492F50-A503-4D20-AB1F-136240718420}{tr:id=name}{td}h6.onNextRecordCmd{td}{tr}{tr:id=des}{td}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_des|text=|trigger=button}{sub-section}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Next Record. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:D4492F50-A503-4D20-AB1F-136240718420_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:D4492F50-A503-4D20-AB1F-136240718420_ret|text=|trigger=button}{sub-section}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D4492F50-A503-4D20-AB1F-136240718420_see|text=|trigger=button}{sub-section}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D4492F50-A503-4D20-AB1F-136240718420_see|text=|trigger=button}{sub-section}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D4492F50-A503-4D20-AB1F-136240718420_sam|text=|trigger=button}{sub-section}{sub-section:D4492F50-A503-4D20-AB1F-136240718420_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onPreviousRecordCmd = form.newFormMethod('function onPreviousRecordCmd(event) { application.output("onPreviousRecordCmd intercepted on " + event.getFormName()); }');
form.onNextRecordCmd = form.newFormMethod('function onNextRecordCmd(event) { application.output("onNextRecordCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E}{tr:id=name}{td}h6.onOmitRecordCmd{td}{tr}{tr:id=des}{td}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_des|text=|trigger=button}{sub-section}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Omit Record. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_ret|text=|trigger=button}{sub-section}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_see|text=|trigger=button}{sub-section}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_see|text=|trigger=button}{sub-section}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_sam|text=|trigger=button}{sub-section}{sub-section:6FF6CCC4-2D14-4C3E-962C-077BDE5B6B9E_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onOmitRecordCmd = form.newFormMethod('function onOmitRecordCmd(event) { application.output("onOmitRecordCmd intercepted on " + event.getFormName()); }');
form.onShowOmittedRecordsCmd = form.newFormMethod('function onShowOmittedRecordsCmd(event) { application.output("onShowOmittedRecordsCmd intercepted on " + event.getFormName()); }');
form.onInvertRecordsCmd = form.newFormMethod('function onInvertRecordsCmd(event) { application.output("onInvertRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8A224EC3-CA16-473D-AB81-07A8FA9B7B4C}{tr:id=name}{td}h6.onPreviousRecordCmd{td}{tr}{tr:id=des}{td}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_des|text=|trigger=button}{sub-section}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Previous Record. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_ret|text=|trigger=button}{sub-section}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_see|text=|trigger=button}{sub-section}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_see|text=|trigger=button}{sub-section}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_sam|text=|trigger=button}{sub-section}{sub-section:8A224EC3-CA16-473D-AB81-07A8FA9B7B4C_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onPreviousRecordCmd = form.newFormMethod('function onPreviousRecordCmd(event) { application.output("onPreviousRecordCmd intercepted on " + event.getFormName()); }');
form.onNextRecordCmd = form.newFormMethod('function onNextRecordCmd(event) { application.output("onNextRecordCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FFA0572D-BA33-419C-8B11-5CE223AFD33C}{tr:id=name}{td}h6.onPrintPreviewCmd{td}{tr}{tr:id=des}{td}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_des|text=|trigger=button}{sub-section}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item File > Print Preview. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_ret|text=|trigger=button}{sub-section}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_see|text=|trigger=button}{sub-section}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_see|text=|trigger=button}{sub-section}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_sam|text=|trigger=button}{sub-section}{sub-section:FFA0572D-BA33-419C-8B11-5CE223AFD33C_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onPrintPreviewCmd = form.newFormMethod('function onPrintPreviewCmd(event) { application.output("onPrintPreviewCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=B95DED49-3475-45F8-9E12-66C18552E6EA}{tr:id=name}{td}h6.onRecordEditStart{td}{tr}{tr:id=des}{td}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_des|text=|trigger=button}{sub-section}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_des|trigger=none|class=sIndent}The method that is triggered when a user clicks into a column on the form.
NOTE: There is a small "e" displayed in the lower left side of the Servoy Client screen in the status area at the bottom of the window when the record is being edited.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_ret|text=|trigger=button}{sub-section}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_see|text=|trigger=button}{sub-section}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_see|text=|trigger=button}{sub-section}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_sam|text=|trigger=button}{sub-section}{sub-section:B95DED49-3475-45F8-9E12-66C18552E6EA_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onRecordEditStart = form.newFormMethod('function onRecordEditStart(event) { application.output("onRecordEditStart intercepted on " + event.getFormName()); }');
form.onRecordEditStop = form.newFormMethod('function onRecordEditStop(record, event) { application.output("onRecordEditStop intercepted on " + event.getFormName() + ". record is: " + record); }');
form.onRecordSelection = form.newFormMethod('function onRecordSelection(event) { application.output("onRecordSelection intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=AB7EC037-E8F0-4857-8CEE-EF40B3155F96}{tr:id=name}{td}h6.onRecordEditStop{td}{tr}{tr:id=des}{td}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_des|text=|trigger=button}{sub-section}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_des|trigger=none|class=sIndent}The method that is triggered when a record is being saved. 
A record is saved when a user clicks out of it (for example on an empty part of the layout or to another form); can return false (for example as part of a validation) where a condition must be changed to return true. 
NOTE: The name of this property has been changed from onRecordSave.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_ret|text=|trigger=button}{sub-section}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_see|text=|trigger=button}{sub-section}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_see|text=|trigger=button}{sub-section}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_sam|text=|trigger=button}{sub-section}{sub-section:AB7EC037-E8F0-4857-8CEE-EF40B3155F96_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onRecordEditStart = form.newFormMethod('function onRecordEditStart(event) { application.output("onRecordEditStart intercepted on " + event.getFormName()); }');
form.onRecordEditStop = form.newFormMethod('function onRecordEditStop(record, event) { application.output("onRecordEditStop intercepted on " + event.getFormName() + ". record is: " + record); }');
form.onRecordSelection = form.newFormMethod('function onRecordSelection(event) { application.output("onRecordSelection intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=F9A25D7D-D039-4E29-A576-435E32C75A33}{tr:id=name}{td}h6.onRecordSelection{td}{tr}{tr:id=des}{td}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_des|text=|trigger=button}{sub-section}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_des|trigger=none|class=sIndent}The method that is triggered each time a record is selected. 
If a form is in List view or Special table view - when the user clicks on it.
In Record view - after the user navigates to another record using the slider or clicks up or down for next/previous record. 
NOTE: Data and Servoy tag values are returned when the onRecordSelection method is executed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_ret|text=|trigger=button}{sub-section}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_see|text=|trigger=button}{sub-section}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_see|text=|trigger=button}{sub-section}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_sam|text=|trigger=button}{sub-section}{sub-section:F9A25D7D-D039-4E29-A576-435E32C75A33_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onRecordEditStart = form.newFormMethod('function onRecordEditStart(event) { application.output("onRecordEditStart intercepted on " + event.getFormName()); }');
form.onRecordEditStop = form.newFormMethod('function onRecordEditStop(record, event) { application.output("onRecordEditStop intercepted on " + event.getFormName() + ". record is: " + record); }');
form.onRecordSelection = form.newFormMethod('function onRecordSelection(event) { application.output("onRecordSelection intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=77435E8D-4183-4153-AA14-784CFDD3068D}{tr:id=name}{td}h6.onSearchCmd{td}{tr}{tr:id=des}{td}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_des|text=|trigger=button}{sub-section}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Search (or keyboard shortcut) in Find mode. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_ret|text=|trigger=button}{sub-section}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_see|text=|trigger=button}{sub-section}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_see|text=|trigger=button}{sub-section}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_sam|text=|trigger=button}{sub-section}{sub-section:77435E8D-4183-4153-AA14-784CFDD3068D_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onFindCmd = form.newFormMethod('function onFindCmd(event) { application.output("onFindCmd intercepted on " + event.getFormName()); }');
form.onSearchCmd = form.newFormMethod('function onSearchCmd(event) { application.output("onSearchCmd intercepted on " + event.getFormName()); }');
form.onShowAllRecordsCmd = form.newFormMethod('function onShowAllRecordsCmd(event) { application.output("onShowAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3E9E727B-E90E-43E9-B579-6E08795895F4}{tr:id=name}{td}h6.onShow{td}{tr}{tr:id=des}{td}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_des|text=|trigger=button}{sub-section}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_des|trigger=none|class=sIndent}The method that is triggered EVERY TIME the form is displayed; an argument must be passed to the method if this is the first time the form is displayed. 

NOTE: onShow can be used to access current foundset dataproviders; onLoad cannot be used because the foundset data is not loaded until after the form is loaded. 

NOTE: the onShow event bubbles down, meaning that the onShow event of a form displayed in a tabPanel is fired after the onShow event of the parent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_ret|text=|trigger=button}{sub-section}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_see|text=|trigger=button}{sub-section}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_see|text=|trigger=button}{sub-section}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_sam|text=|trigger=button}{sub-section}{sub-section:3E9E727B-E90E-43E9-B579-6E08795895F4_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onShow = form.newFormMethod('function onShow(firstShow, event) { application.output("onShow intercepted on " + event.getFormName() + ". first show? " + firstShow); return false; }');
form.onHide = form.newFormMethod('function onHide(event) { application.output("onHide blocked on " + event.getFormName()); return false; }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D481A3B2-320A-40BA-B43D-5C39D5EAAD91}{tr:id=name}{td}h6.onShowAllRecordsCmd{td}{tr}{tr:id=des}{td}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_des|text=|trigger=button}{sub-section}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Show All (or keyboard shortcut). 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_ret|text=|trigger=button}{sub-section}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_see|text=|trigger=button}{sub-section}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_see|text=|trigger=button}{sub-section}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_sam|text=|trigger=button}{sub-section}{sub-section:D481A3B2-320A-40BA-B43D-5C39D5EAAD91_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onFindCmd = form.newFormMethod('function onFindCmd(event) { application.output("onFindCmd intercepted on " + event.getFormName()); }');
form.onSearchCmd = form.newFormMethod('function onSearchCmd(event) { application.output("onSearchCmd intercepted on " + event.getFormName()); }');
form.onShowAllRecordsCmd = form.newFormMethod('function onShowAllRecordsCmd(event) { application.output("onShowAllRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C49DB8D4-1198-4CC8-802C-F6E54B399E18}{tr:id=name}{td}h6.onShowOmittedRecordsCmd{td}{tr}{tr:id=des}{td}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_des|text=|trigger=button}{sub-section}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Show Omitted Records. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_ret|text=|trigger=button}{sub-section}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_see|text=|trigger=button}{sub-section}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_see|text=|trigger=button}{sub-section}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_sam|text=|trigger=button}{sub-section}{sub-section:C49DB8D4-1198-4CC8-802C-F6E54B399E18_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onOmitRecordCmd = form.newFormMethod('function onOmitRecordCmd(event) { application.output("onOmitRecordCmd intercepted on " + event.getFormName()); }');
form.onShowOmittedRecordsCmd = form.newFormMethod('function onShowOmittedRecordsCmd(event) { application.output("onShowOmittedRecordsCmd intercepted on " + event.getFormName()); }');
form.onInvertRecordsCmd = form.newFormMethod('function onInvertRecordsCmd(event) { application.output("onInvertRecordsCmd intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A4394CF8-25FB-498D-89D4-10DFC17B3623}{tr:id=name}{td}h6.onSortCmd{td}{tr}{tr:id=des}{td}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_des|text=|trigger=button}{sub-section}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_des|trigger=none|class=sIndent}The method that overrides the Servoy menu item Select > Sort. 
This property is automatically set to "DEFAULT" (no override) when the form is created.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_ret|text=|trigger=button}{sub-section}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_see|text=|trigger=button}{sub-section}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_see|text=|trigger=button}{sub-section}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_sam|text=|trigger=button}{sub-section}{sub-section:A4394CF8-25FB-498D-89D4-10DFC17B3623_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onSortCmd = form.newFormMethod('function onSortCmd(dataProviderID, asc, event) { application.output("onSortCmd intercepted on " + event.getFormName() + ". data provider: " + dataProviderID + ". asc: " + asc); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=26EE6244-1DA2-4139-A3FC-3D1423355423}{tr:id=name}{td}h6.onUnLoad{td}{tr}{tr:id=des}{td}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_des|text=|trigger=button}{sub-section}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_des|trigger=none|class=sIndent}The method that is triggered when a form is unloaded from the repository. 
NOTE: Forms can be prevented from being removed from memory by referencing the form object in a global variable or inside an array inside a global variable. Do take care using this technique.
Forms take up memory and if too many forms are in memory and cannot be unloaded, there is a possibility of running out of memory.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_ret|text=|trigger=button}{sub-section}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_ret|trigger=none|class=sIndent}[JSMethod]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_see|text=|trigger=button}{sub-section}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_see|text=|trigger=button}{sub-section}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_sam|text=|trigger=button}{sub-section}{sub-section:26EE6244-1DA2-4139-A3FC-3D1423355423_sam|class=sIndent|trigger=none}{code:language=javascript}
form.onLoad = form.newFormMethod('function onLoad(event) { application.output("onLoad intercepted on " + event.getFormName()); }');
form.onUnLoad = form.newFormMethod('function onUnLoad(event) { application.output("onUnLoad intercepted on " + event.getFormName()); }');
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7FF8A84C-AD03-4286-83EC-B1F0969145C9}{tr:id=name}{td}h6.paperPrintScale{td}{tr}{tr:id=des}{td}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_des|text=|trigger=button}{sub-section}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_des|trigger=none|class=sIndent}The percentage value the printed page is enlarged or reduced to; the size of the printed form 
is inversely proportional. For example, if the paperPrintScale is 50, the printed form will be 
enlarged 200%.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_ret|text=|trigger=button}{sub-section}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_see|text=|trigger=button}{sub-section}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_see|text=|trigger=button}{sub-section}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_sam|text=|trigger=button}{sub-section}{sub-section:7FF8A84C-AD03-4286-83EC-B1F0969145C9_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,800,600);
if (form.paperPrintScale < 100)
	form.paperPrintScale = 100;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9B5F19E4-B929-4DB6-8B74-83CF4C990172}{tr:id=name}{td}h6.rowBGColorCalculation{td}{tr}{tr:id=des}{td}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_des|text=|trigger=button}{sub-section}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_des|trigger=none|class=sIndent}The calculation dataprovider used to add background color and highlight selected or alternate rows. 
The default is -none-.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_ret|text=|trigger=button}{sub-section}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_see|text=|trigger=button}{sub-section}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_see|text=|trigger=button}{sub-section}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_sam|text=|trigger=button}{sub-section}{sub-section:9B5F19E4-B929-4DB6-8B74-83CF4C990172_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,800,600);
form.rowBGColorCalculation = globals.calculationDataProvider();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=79F85D94-36DD-4959-A3EF-A84A90605486}{tr:id=name}{td}h6.scrollbars{td}{tr}{tr:id=des}{td}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_des|text=|trigger=button}{sub-section}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_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 display.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_ret|text=|trigger=button}{sub-section}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_see|text=|trigger=button}{sub-section}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_see|text=|trigger=button}{sub-section}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_sam|text=|trigger=button}{sub-section}{sub-section:79F85D94-36DD-4959-A3EF-A84A90605486_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,1000,600);
form.scrollbars = SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER; 
forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A522DBC8-4D06-4FF3-90FA-FF2A1F955C20}{tr:id=name}{td}h6.serverName{td}{tr}{tr:id=des}{td}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_des|text=|trigger=button}{sub-section}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_des|trigger=none|class=sIndent}Get the server name used by this form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_ret|text=|trigger=button}{sub-section}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_see|text=|trigger=button}{sub-section}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_see|text=|trigger=button}{sub-section}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_sam|text=|trigger=button}{sub-section}{sub-section:A522DBC8-4D06-4FF3-90FA-FF2A1F955C20_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,800,600);
form.serverName = 'anotherServerName';
var theServerName = form.getServerName();
application.output(theServerName);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=67E97663-35CE-4214-A6B0-EEEE1414EEFD}{tr:id=name}{td}h6.showInMenu{td}{tr}{tr:id=des}{td}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_des|text=|trigger=button}{sub-section}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_des|trigger=none|class=sIndent}When set, the form is displayed under the Window menu. 
If it is not set, the form will be 'hidden'. 
NOTE: This is only applicable for Servoy Client. Servoy Developer always shows all forms so that
developers have access to all forms within a solution during development.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_ret|text=|trigger=button}{sub-section}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_see|text=|trigger=button}{sub-section}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_see|text=|trigger=button}{sub-section}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_sam|text=|trigger=button}{sub-section}{sub-section:67E97663-35CE-4214-A6B0-EEEE1414EEFD_sam|class=sIndent|trigger=none}{code:language=javascript}
var aForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var anotherForm= solutionModel.newForm('newForm2', 'myServer', 'myTable', null, true, 800, 600);
	//using 'anotherForm' as navigator for aForm
	anotherForm.showInMenu = false;
	anotherForm.navigator = null;
	aForm.navigator = anotherForm;
	application.output(aForm.navigator.name);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3916CFA1-0CF3-45C6-A647-1AED5199348A}{tr:id=name}{td}h6.styleClass{td}{tr}{tr:id=des}{td}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_des|text=|trigger=button}{sub-section}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_des|trigger=none|class=sIndent}The Cascading Style Sheet (CSS) class name applied to the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_ret|text=|trigger=button}{sub-section}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_see|text=|trigger=button}{sub-section}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_see|text=|trigger=button}{sub-section}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_sam|text=|trigger=button}{sub-section}{sub-section:3916CFA1-0CF3-45C6-A647-1AED5199348A_sam|class=sIndent|trigger=none}{code:language=javascript}
var aForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
if (aForm.styleClass == null)
	aForm.styleClass = someStyleClass;
else
	application.output("The Cascading Style Sheet (CSS) class name applied to this form is " + aForm.styleClass);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B}{tr:id=name}{td}h6.styleName{td}{tr}{tr:id=des}{td}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_des|text=|trigger=button}{sub-section}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_des|trigger=none|class=sIndent}The name of the Servoy style that is being used on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_ret|text=|trigger=button}{sub-section}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_see|text=|trigger=button}{sub-section}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_see|text=|trigger=button}{sub-section}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_sam|text=|trigger=button}{sub-section}{sub-section:3FBEFF92-C644-4F1D-BF49-D97BC1A3C62B_sam|class=sIndent|trigger=none}{code:language=javascript}
var aForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
if (aForm.styleName == null)
	aForm.styleName = someServoyStyleName;
else
	application.output("The name of the Servoy style that is being used on the form is " + aForm.styleName);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D053084D-791A-43BA-9EDD-A32DD3EA6A47}{tr:id=name}{td}h6.tableName{td}{tr}{tr:id=des}{td}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_des|text=|trigger=button}{sub-section}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_des|trigger=none|class=sIndent}The\[name of the table/SQL view]\[the name of the database server connection] the form is based on.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_ret|text=|trigger=button}{sub-section}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_see|text=|trigger=button}{sub-section}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_see|text=|trigger=button}{sub-section}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_sam|text=|trigger=button}{sub-section}{sub-section:D053084D-791A-43BA-9EDD-A32DD3EA6A47_sam|class=sIndent|trigger=none}{code:language=javascript}
var aForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	aForm.tableName = 'anotherTableOfMine'
	if (forms['newForm1'].controller.find())
	{
		columnTextDataProvider = '=aSearchedValue'
		columnNumberDataProvider = '>10';
		forms['newForm1'].controller.search()
	}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A383F58F-C33C-493C-A368-0F5FFD1FCE91}{tr:id=name}{td}h6.titleText{td}{tr}{tr:id=des}{td}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_des|text=|trigger=button}{sub-section}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_des|trigger=none|class=sIndent}The text that displays in the title bar of the form window. 
NOTE: Data tags and Servoy tags can be used as part of the title text.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_ret|text=|trigger=button}{sub-section}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_see|text=|trigger=button}{sub-section}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_see|text=|trigger=button}{sub-section}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_sam|text=|trigger=button}{sub-section}{sub-section:A383F58F-C33C-493C-A368-0F5FFD1FCE91_sam|class=sIndent|trigger=none}{code:language=javascript}
var myForm = solutionModel.newForm('newForm', 'aServer', 'aTable', 'aStyleName', false, 800, 600)
forms['newForm'].controller.show();
if (myForm.titleText == null)
{
	myForm.titleText = "My new title text should be really cool!"
	forms['newForm'].controller.recreateUI();
}
else
	application.output("My text text is already cool");
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=ACBC6632-0153-48C2-A494-C203278530E4}{tr:id=name}{td}h6.transparent{td}{tr}{tr:id=des}{td}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_des|text=|trigger=button}{sub-section}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_des|trigger=none|class=sIndent}When set, the form is transparent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_ret|text=|trigger=button}{sub-section}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_see|text=|trigger=button}{sub-section}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_see|text=|trigger=button}{sub-section}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_sam|text=|trigger=button}{sub-section}{sub-section:ACBC6632-0153-48C2-A494-C203278530E4_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm','myServer','myTable',null,true,1000,800);
	if (form.transparent == false)
	{
		var style = solutionModel.newStyle('myStyle','form { background-color: yellow; }');
		style.text = style.text + 'field { background-color: blue; }';
		form.styleName = 'myStyle';
	}
	var field = form.newField('columnTextDataProvider',JSField.TEXT_FIELD,100,100,100,50);
	forms['myForm'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=34221567-368C-4397-A775-896245598F34}{tr:id=name}{td}h6.view{td}{tr}{tr:id=des}{td}{sub-section:34221567-368C-4397-A775-896245598F34_des|text=|trigger=button}{sub-section}{sub-section:34221567-368C-4397-A775-896245598F34_des|trigger=none|class=sIndent}The default form view mode. 

The view can be changed using a method at runtime. The following views are available: 
- Record view 
- List view 
- Record view (locked) 
- List view (locked) 
- Table View (locked) 

NOTE: Only Table View (locked) uses asynchronized related data loading. 
This feature defers all related foundset data loading to the background - enhancing 
the visual display of a related foundset.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:34221567-368C-4397-A775-896245598F34_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:34221567-368C-4397-A775-896245598F34_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:34221567-368C-4397-A775-896245598F34_ret|text=|trigger=button}{sub-section}{sub-section:34221567-368C-4397-A775-896245598F34_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:34221567-368C-4397-A775-896245598F34_see|text=|trigger=button}{sub-section}{sub-section:34221567-368C-4397-A775-896245598F34_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:34221567-368C-4397-A775-896245598F34_see|text=|trigger=button}{sub-section}{sub-section:34221567-368C-4397-A775-896245598F34_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:34221567-368C-4397-A775-896245598F34_sam|text=|trigger=button}{sub-section}{sub-section:34221567-368C-4397-A775-896245598F34_sam|class=sIndent|trigger=none}{code:language=javascript}
var myForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
myForm.view = JSForm.RECORD_VIEW;
forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C054AADA-389B-40C2-9E0A-F9D9DB90E785}{tr:id=name}{td}h6.width{td}{tr}{tr:id=des}{td}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_des|text=|trigger=button}{sub-section}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_des|trigger=none|class=sIndent}The width of the form in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_ret|text=|trigger=button}{sub-section}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_see|text=|trigger=button}{sub-section}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_see|text=|trigger=button}{sub-section}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_sam|text=|trigger=button}{sub-section}{sub-section:C054AADA-389B-40C2-9E0A-F9D9DB90E785_sam|class=sIndent|trigger=none}{code:language=javascript}
var myForm = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	forms['newForm1'].controller.show();
	myForm.width = 120;
 forms['newForm1'].controller.recreateUI();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=158099D5-1CD5-4B34-AC36-006495604B1A}{tr:id=name}{td}h6.getBodyPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getBodyPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_des|text=|trigger=button}{sub-section}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_des|trigger=none|class=sIndent}Retrieves the Body part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_ret|text=|trigger=button}{sub-section}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Body part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_see|text=|trigger=button}{sub-section}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_see|text=|trigger=button}{sub-section}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_sam|text=|trigger=button}{sub-section}{sub-section:158099D5-1CD5-4B34-AC36-006495604B1A_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getBodyPart().background = 'blue';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FF4F3401-AE9F-42D2-9DED-1A69096BC508}{tr:id=name}{td}h6.getButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSButton]{span}{span:id=iets|style=float: left; font-weight: bold;}getButton{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_des|text=|trigger=button}{sub-section}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_des|trigger=none|class=sIndent}Returns a JSButton that has the given name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_prs|trigger=none}name -- the specified name of the button
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_ret|text=|trigger=button}{sub-section}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_ret|trigger=none|class=sIndent}[JSButton] -- a JSButton object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_see|text=|trigger=button}{sub-section}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_see|text=|trigger=button}{sub-section}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_sam|text=|trigger=button}{sub-section}{sub-section:FF4F3401-AE9F-42D2-9DED-1A69096BC508_sam|class=sIndent|trigger=none}{code:language=javascript}
var btn = myForm.getButton("hello");
application.output(btn.text);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DC4897B1-5AE8-4DCF-8424-0037E7E698EC}{tr:id=name}{td}h6.getButtons{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSButton]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getButtons{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_des|text=|trigger=button}{sub-section}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_des|trigger=none|class=sIndent}Returns all JSButtons of this form, including the ones without a name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_ret|text=|trigger=button}{sub-section}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_ret|trigger=none|class=sIndent}[JSButton]\[] -- the list of all JSbuttons on this forms{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_see|text=|trigger=button}{sub-section}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_see|text=|trigger=button}{sub-section}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_sam|text=|trigger=button}{sub-section}{sub-section:DC4897B1-5AE8-4DCF-8424-0037E7E698EC_sam|class=sIndent|trigger=none}{code:language=javascript}
var buttons = myForm.getButtons();
for (var b in buttons)
{
		if (buttons[b].name != null) 
			application.output(buttons[b].name);
		else
			application.output(buttons[b].text + " has no name ");
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=41DDCBC4-E540-49B9-98FE-A92505C38AAA}{tr:id=name}{td}h6.getComponent{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSComponent]{span}{span:id=iets|style=float: left; font-weight: bold;}getComponent{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_des|text=|trigger=button}{sub-section}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_des|trigger=none|class=sIndent}Returns a JSComponent that has the given name; if found it will be a JSField, JSLabel, JSButton, JSPortal or JSTabPanel.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_prs|trigger=none}name -- the specified name of the component
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_ret|text=|trigger=button}{sub-section}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_ret|trigger=none|class=sIndent}[JSComponent] -- a JSComponent object (might be a JSField, JSLabel, JSButton, JSPortal or JSTabPanel){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_see|text=|trigger=button}{sub-section}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_see|text=|trigger=button}{sub-section}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_sam|text=|trigger=button}{sub-section}{sub-section:41DDCBC4-E540-49B9-98FE-A92505C38AAA_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var cmp = frm.getComponent("componentName");
	application.output("Component type and name: " + cmp);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=AE0CA653-FE30-43B0-BA5E-5311B9651D52}{tr:id=name}{td}h6.getComponents{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSComponent]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getComponents{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_des|text=|trigger=button}{sub-section}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_des|trigger=none|class=sIndent}Returns a array of all the JSComponents that a form has; they are of type JSField,JSLabel,JSButton,JSPortal or JSTabPanel.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_ret|text=|trigger=button}{sub-section}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_ret|trigger=none|class=sIndent}[JSComponent]\[] -- an array of all the JSComponents on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_see|text=|trigger=button}{sub-section}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_see|text=|trigger=button}{sub-section}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_sam|text=|trigger=button}{sub-section}{sub-section:AE0CA653-FE30-43B0-BA5E-5311B9651D52_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("myForm");
	var components = form.getComponents();
	for (var i in components)
		application.output("Component type and name: " + components[i]);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CE22D2AB-5ED4-4B50-9529-280CD97FD268}{tr:id=name}{td}h6.getField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}getField{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_des|text=|trigger=button}{sub-section}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_des|trigger=none|class=sIndent}The field with the specified name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_prs|trigger=none}name -- the specified name of the field
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_ret|text=|trigger=button}{sub-section}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_ret|trigger=none|class=sIndent}[JSField] -- a JSField object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_see|text=|trigger=button}{sub-section}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_see|text=|trigger=button}{sub-section}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_sam|text=|trigger=button}{sub-section}{sub-section:CE22D2AB-5ED4-4B50-9529-280CD97FD268_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.getForm("myForm");
	var field = form.getField("myField");
	application.output(field.dataProviderID);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=994E555F-D546-4979-B444-A638FE523F21}{tr:id=name}{td}h6.getFields{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getFields{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:994E555F-D546-4979-B444-A638FE523F21_des|text=|trigger=button}{sub-section}{sub-section:994E555F-D546-4979-B444-A638FE523F21_des|trigger=none|class=sIndent}Returns all JSField objects of this form, including the ones without a name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:994E555F-D546-4979-B444-A638FE523F21_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:994E555F-D546-4979-B444-A638FE523F21_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:994E555F-D546-4979-B444-A638FE523F21_ret|text=|trigger=button}{sub-section}{sub-section:994E555F-D546-4979-B444-A638FE523F21_ret|trigger=none|class=sIndent}[JSField]\[] -- all JSField objects of this form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:994E555F-D546-4979-B444-A638FE523F21_see|text=|trigger=button}{sub-section}{sub-section:994E555F-D546-4979-B444-A638FE523F21_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:994E555F-D546-4979-B444-A638FE523F21_see|text=|trigger=button}{sub-section}{sub-section:994E555F-D546-4979-B444-A638FE523F21_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:994E555F-D546-4979-B444-A638FE523F21_sam|text=|trigger=button}{sub-section}{sub-section:994E555F-D546-4979-B444-A638FE523F21_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var fields = frm.getFields();
	for (var f in fields)
	{
		var fname = fields[f].name;
		if (fname != null)
			application.output(fname);
	}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4B79CDD4-472F-4D63-8B04-CAEC464E59C5}{tr:id=name}{td}h6.getFooterPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getFooterPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_des|text=|trigger=button}{sub-section}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_des|trigger=none|class=sIndent}Retrieves the Footer part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_ret|text=|trigger=button}{sub-section}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Footer part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_see|text=|trigger=button}{sub-section}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_see|text=|trigger=button}{sub-section}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_sam|text=|trigger=button}{sub-section}{sub-section:4B79CDD4-472F-4D63-8B04-CAEC464E59C5_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getFooterPart().background = 'magenta';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=8148505A-7E2C-4C3D-B998-5AF48EEA4522}{tr:id=name}{td}h6.getFormMethod{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSMethod]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormMethod{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_des|text=|trigger=button}{sub-section}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_des|trigger=none|class=sIndent}Gets an existing form method for the given name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_prs|trigger=none}name -- the specified name of the method
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_ret|text=|trigger=button}{sub-section}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_ret|trigger=none|class=sIndent}[JSMethod] -- a JSMethod object (or null if the method with the specified name does not exist){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_see|text=|trigger=button}{sub-section}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_see|text=|trigger=button}{sub-section}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_sam|text=|trigger=button}{sub-section}{sub-section:8148505A-7E2C-4C3D-B998-5AF48EEA4522_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var method = frm.getFormMethod("myMethod");
	application.output(method.code);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E82BD4BE-F533-452B-9425-3F70C1BC2508}{tr:id=name}{td}h6.getFormMethods{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSMethod]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormMethods{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_des|text=|trigger=button}{sub-section}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_des|trigger=none|class=sIndent}Returns all existing form methods for this form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_ret|text=|trigger=button}{sub-section}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_ret|trigger=none|class=sIndent}[JSMethod]\[] -- all form methods for the form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_see|text=|trigger=button}{sub-section}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_see|text=|trigger=button}{sub-section}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_sam|text=|trigger=button}{sub-section}{sub-section:E82BD4BE-F533-452B-9425-3F70C1BC2508_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var methods = frm.getFormMethods();
	for (var m in methods)
		application.output(methods[m].getName());
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E0187379-64B7-4CD6-BF88-507C8B520576}{tr:id=name}{td}h6.getFormVariable{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSVariable]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormVariable{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_des|text=|trigger=button}{sub-section}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_des|trigger=none|class=sIndent}Gets an existing form variable for the given name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_prs|trigger=none}name -- the specified name of the variable
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_ret|text=|trigger=button}{sub-section}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_ret|trigger=none|class=sIndent}[JSVariable] -- a JSVariable object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_see|text=|trigger=button}{sub-section}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_see|text=|trigger=button}{sub-section}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_sam|text=|trigger=button}{sub-section}{sub-section:E0187379-64B7-4CD6-BF88-507C8B520576_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var fvariable = frm.getFormVariable("myVarName");
	application.output(fvariable.name + " has the default value of " + fvariable.defaultValue);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3C5545B3-F821-416D-A6D3-931DBF16DE5A}{tr:id=name}{td}h6.getFormVariables{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSVariable]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getFormVariables{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_des|text=|trigger=button}{sub-section}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_des|trigger=none|class=sIndent}An array consisting of all form variables for this form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_ret|text=|trigger=button}{sub-section}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_ret|trigger=none|class=sIndent}[JSVariable]\[] -- an array of all variables on this form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_see|text=|trigger=button}{sub-section}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_see|text=|trigger=button}{sub-section}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_sam|text=|trigger=button}{sub-section}{sub-section:3C5545B3-F821-416D-A6D3-931DBF16DE5A_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var variables = frm.getFormVariables();
	for (var i in variables)
		application.output(variables[i].name);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=04F3AB81-0691-481F-A847-F68369BC205E}{tr:id=name}{td}h6.getHeaderPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getHeaderPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_des|text=|trigger=button}{sub-section}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_des|trigger=none|class=sIndent}Retrieves the Header part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_ret|text=|trigger=button}{sub-section}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Header part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_see|text=|trigger=button}{sub-section}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_see|text=|trigger=button}{sub-section}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_sam|text=|trigger=button}{sub-section}{sub-section:04F3AB81-0691-481F-A847-F68369BC205E_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getHeaderPart().background = 'orange';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FD0C4C07-937F-4572-8CC0-AAF365FCBE46}{tr:id=name}{td}h6.getLabel{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSLabel]{span}{span:id=iets|style=float: left; font-weight: bold;}getLabel{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_des|text=|trigger=button}{sub-section}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_des|trigger=none|class=sIndent}Returns a JSLabel that has the given name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_prs|trigger=none}name -- the specified name of the label
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_ret|text=|trigger=button}{sub-section}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_ret|trigger=none|class=sIndent}[JSLabel] -- a JSLabel object (or null if the label with the specified name does not exist){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_see|text=|trigger=button}{sub-section}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_see|text=|trigger=button}{sub-section}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_sam|text=|trigger=button}{sub-section}{sub-section:FD0C4C07-937F-4572-8CC0-AAF365FCBE46_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var label = frm.getLabel("myLabel");
	application.output(label.text);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=543E68D6-F7A9-4AEB-9B50-B43158A4E599}{tr:id=name}{td}h6.getLabels{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSLabel]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getLabels{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_des|text=|trigger=button}{sub-section}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_des|trigger=none|class=sIndent}Returns all JSLabels of this form, including the ones without a name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_ret|text=|trigger=button}{sub-section}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_ret|trigger=none|class=sIndent}[JSLabel]\[] -- all JSLabels on this form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_see|text=|trigger=button}{sub-section}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_see|text=|trigger=button}{sub-section}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_sam|text=|trigger=button}{sub-section}{sub-section:543E68D6-F7A9-4AEB-9B50-B43158A4E599_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var labels = frm.getLabels();
	for (var i in labels)
	{
		var lname = labels[i].name;
		if (lname != null)
			application.output(lname);
	}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=80971091-A7EA-4AD8-A442-EE1CCFB96A2B}{tr:id=name}{td}h6.getLeadingGrandSummaryPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getLeadingGrandSummaryPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_des|text=|trigger=button}{sub-section}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_des|trigger=none|class=sIndent}Retrieves the Leading Grand Summary part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_ret|text=|trigger=button}{sub-section}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Leading Grand Summary part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_see|text=|trigger=button}{sub-section}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_see|text=|trigger=button}{sub-section}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_sam|text=|trigger=button}{sub-section}{sub-section:80971091-A7EA-4AD8-A442-EE1CCFB96A2B_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getLeadingGrandSummaryPart().background = 'yellow';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A51C0F7A-3B09-4307-9F8C-609877744ED9}{tr:id=name}{td}h6.getLeadingSubSummaryParts{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getLeadingSubSummaryParts{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_des|text=|trigger=button}{sub-section}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_des|trigger=none|class=sIndent}Gets an array of the Leading Subsummary parts of the form, ordered by their height from top == 0 to bottom.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_ret|text=|trigger=button}{sub-section}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_ret|trigger=none|class=sIndent}[JSPart]\[] -- An array of JSPart instances corresponding to the Leading Subsummary parts of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_see|text=|trigger=button}{sub-section}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_see|text=|trigger=button}{sub-section}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_sam|text=|trigger=button}{sub-section}{sub-section:A51C0F7A-3B09-4307-9F8C-609877744ED9_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getLeadingSubSummaryParts()[0].background = 'green';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7}{tr:id=name}{td}h6.getPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getPart{span}{span:id=iets|style=float: left;}\(type, height){span}{td}{tr}{tr:id=des}{td}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_des|text=|trigger=button}{sub-section}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_des|trigger=none|class=sIndent}Gets a part of the form from the given type (see JSPart constants). 
Use the optional height if you want to get a specific LEADING_SUBSUMMARY or TRAILING_SUBSUMMARY.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_prs|trigger=none}type -- The type of the part to retrieve.
\[height\] -- The heigh of the part to retrieve. Use this parameter when retrieving one of multiple
 	                      Leading/Trailing Subsummary parts.
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_ret|text=|trigger=button}{sub-section}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance representing the retrieved form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_see|text=|trigger=button}{sub-section}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_see|text=|trigger=button}{sub-section}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_sam|text=|trigger=button}{sub-section}{sub-section:756BF954-ABE1-42F4-BB8D-EBA5A7DE3DF7_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getPart(JSPart.HEADER).background = 'red';
form.getPart(JSPart.LEADING_SUBSUMMARY, 160).background = 'red';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=99808564-0ABB-4F12-A615-AC6ED01BAF64}{tr:id=name}{td}h6.getPartYOffset{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getPartYOffset{span}{span:id=iets|style=float: left;}\(type, height){span}{td}{tr}{tr:id=des}{td}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_des|text=|trigger=button}{sub-section}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_des|trigger=none|class=sIndent}Returns the Y offset of a given part (see JSPart) of the form. This will include 
all the super forms parts if this form extends a form. Use the optional height for 
targetting one of multiple subsummary parts.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_prs|trigger=none}type -- The type of the part whose Y offset will be returned.
\[height\] -- The height of the part whose Y offset will be returned. This is used when
                        one of multiple Leading/Trailing Sumsummary parts is retrieved.
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_ret|text=|trigger=button}{sub-section}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_ret|trigger=none|class=sIndent}[Number] -- A number holding the Y offset of the specified form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_see|text=|trigger=button}{sub-section}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_see|text=|trigger=button}{sub-section}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_sam|text=|trigger=button}{sub-section}{sub-section:99808564-0ABB-4F12-A615-AC6ED01BAF64_sam|class=sIndent|trigger=none}{code:language=javascript}
// get the subform
var form = solutionModel.getForm('SubForm');
// get the start offset of the body
var height = form.getPartYOffset(JSPart.BODY);
// place a new button based on the start offset.
form.newButton('mybutton',50,50+height,80,20,solutionModel.getGlobalMethod('test'));
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D}{tr:id=name}{td}h6.getParts{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getParts{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_des|text=|trigger=button}{sub-section}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_des|trigger=none|class=sIndent}Gets all the parts from the form, ordered by there height (lowerbound) property, from top == 0 to bottom.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_ret|text=|trigger=button}{sub-section}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_ret|trigger=none|class=sIndent}[JSPart]\[] -- An array of JSPart instances corresponding to the parts of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_see|text=|trigger=button}{sub-section}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_see|text=|trigger=button}{sub-section}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_sam|text=|trigger=button}{sub-section}{sub-section:0C3874B6-8EBF-4C05-9C13-3FAB7F7D724D_sam|class=sIndent|trigger=none}{code:language=javascript}
var allParts = form.getParts()
for (var i=0; i<allParts.length; i++) {
	if (allParts[i].getPartType() == JSPart.BODY)
		application.output('body Y offset: ' + allParts[i].getPartYOffset());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=345F637F-6500-4814-A2B2-A13A5E492309}{tr:id=name}{td}h6.getPortal{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPortal]{span}{span:id=iets|style=float: left; font-weight: bold;}getPortal{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_des|text=|trigger=button}{sub-section}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_des|trigger=none|class=sIndent}Returns a JSPortal that has the given name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_prs|trigger=none}name -- the specified name of the portal
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_ret|text=|trigger=button}{sub-section}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_ret|trigger=none|class=sIndent}[JSPortal] -- a JSPortal object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_see|text=|trigger=button}{sub-section}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_see|text=|trigger=button}{sub-section}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_sam|text=|trigger=button}{sub-section}{sub-section:345F637F-6500-4814-A2B2-A13A5E492309_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var portal = frm.getPortal("myPortal");
 portal.initialSort = 'my_table_text desc';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D097973A-AE51-48BE-9946-3CCDD4346D80}{tr:id=name}{td}h6.getPortals{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPortal]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getPortals{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_des|text=|trigger=button}{sub-section}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_des|trigger=none|class=sIndent}Returns all JSPortal objects of this form, including the ones without a name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_ret|text=|trigger=button}{sub-section}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_ret|trigger=none|class=sIndent}[JSPortal]\[] -- an array of all JSPortal objects on this form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_see|text=|trigger=button}{sub-section}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_see|text=|trigger=button}{sub-section}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_sam|text=|trigger=button}{sub-section}{sub-section:D097973A-AE51-48BE-9946-3CCDD4346D80_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var portals = frm.getPortals();
	for (var i in portals)
	{
		var p = portals[i];
		if (p.name != null)
			application.output(p.name);
		else
			application.output("unnamed portal detected");
	}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9}{tr:id=name}{td}h6.getTabPanel{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTabPanel]{span}{span:id=iets|style=float: left; font-weight: bold;}getTabPanel{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_des|text=|trigger=button}{sub-section}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_des|trigger=none|class=sIndent}Returns a JSTabPanel that has the given name.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_prs|trigger=none}name -- the specified name of the tabpanel
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_ret|text=|trigger=button}{sub-section}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_ret|trigger=none|class=sIndent}[JSTabPanel] -- a JSTabPanel object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_see|text=|trigger=button}{sub-section}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_see|text=|trigger=button}{sub-section}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_sam|text=|trigger=button}{sub-section}{sub-section:C5CFA4A2-9099-4EFD-B1F0-DD4CA1DD94F9_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var tabPanel = frm.getTabPanel("myTabPanel"); 
	var tabs = tabPanel.getTabs(); 
	for (var i=0; i<tabs.length; i++) 
		application.output("Tab " + i + " has text " + tabs[i].text);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=640E5C1B-2F44-4C44-898F-278D1CFA73DD}{tr:id=name}{td}h6.getTabPanels{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTabPanel]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getTabPanels{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_des|text=|trigger=button}{sub-section}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_des|trigger=none|class=sIndent}Returns all JSTabPanels of this form, including the ones without a name.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_ret|text=|trigger=button}{sub-section}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_ret|trigger=none|class=sIndent}[JSTabPanel]\[] -- an array of all JSTabPanel objects on this form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_see|text=|trigger=button}{sub-section}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_see|text=|trigger=button}{sub-section}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_sam|text=|trigger=button}{sub-section}{sub-section:640E5C1B-2F44-4C44-898F-278D1CFA73DD_sam|class=sIndent|trigger=none}{code:language=javascript}
var frm = solutionModel.getForm("myForm");
	var tabPanels = frm.getTabPanels();
	for (var i in tabPanels)
	{
		var tp = tabPanels[i];
		if (tp.name != null)
			application.output("Tab " + tp.name + " has text " + tp.text);
		else
			application.output("Tab with text " + tp.text + " has no name");
	}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=42D431FE-E30B-4957-8CD8-4C40B68943D5}{tr:id=name}{td}h6.getTitleFooterPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getTitleFooterPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_des|text=|trigger=button}{sub-section}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_des|trigger=none|class=sIndent}Retrieves the Title Footer part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_ret|text=|trigger=button}{sub-section}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Title Footer part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_see|text=|trigger=button}{sub-section}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_see|text=|trigger=button}{sub-section}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_sam|text=|trigger=button}{sub-section}{sub-section:42D431FE-E30B-4957-8CD8-4C40B68943D5_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getTitleFooterPart().background = 'gray';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FE5D6748-E4FC-47E7-B9B4-C0F56705FACE}{tr:id=name}{td}h6.getTitleHeaderPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getTitleHeaderPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_des|text=|trigger=button}{sub-section}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_des|trigger=none|class=sIndent}Retrieves the Title Header part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_ret|text=|trigger=button}{sub-section}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Title Header part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_see|text=|trigger=button}{sub-section}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_see|text=|trigger=button}{sub-section}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_sam|text=|trigger=button}{sub-section}{sub-section:FE5D6748-E4FC-47E7-B9B4-C0F56705FACE_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getTitleHeaderPart().background = 'red';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1862816A-F1B9-45B9-A058-3711C4E7F5C9}{tr:id=name}{td}h6.getTrailingGrandSummaryPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}getTrailingGrandSummaryPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_des|text=|trigger=button}{sub-section}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_des|trigger=none|class=sIndent}Retrieves the Trailing Grand Summary part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_ret|text=|trigger=button}{sub-section}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the Trailing Grand Summary part of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_see|text=|trigger=button}{sub-section}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_see|text=|trigger=button}{sub-section}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_sam|text=|trigger=button}{sub-section}{sub-section:1862816A-F1B9-45B9-A058-3711C4E7F5C9_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getTrailingGrandSummaryPart().background = 'yellow';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=398F337C-0493-40E8-AC2E-4E5A12AA806D}{tr:id=name}{td}h6.getTrailingSubSummaryParts{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getTrailingSubSummaryParts{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_des|text=|trigger=button}{sub-section}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_des|trigger=none|class=sIndent}Gets an array of the Trailing Subsummary parts of the form, ordered by their height from top == 0 to bottom.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_ret|text=|trigger=button}{sub-section}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_ret|trigger=none|class=sIndent}[JSPart]\[] -- An array of JSPart instances corresponding to the Trailing Subsummary parts of the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_see|text=|trigger=button}{sub-section}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_see|text=|trigger=button}{sub-section}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_sam|text=|trigger=button}{sub-section}{sub-section:398F337C-0493-40E8-AC2E-4E5A12AA806D_sam|class=sIndent|trigger=none}{code:language=javascript}
form.getTrailingSubSummaryParts()[0].background = 'green';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7EC1AA6D-94DB-45C2-B67D-377961B10096}{tr:id=name}{td}h6.newButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSButton]{span}{span:id=iets|style=float: left; font-weight: bold;}newButton{span}{span:id=iets|style=float: left;}\(text, x, y, width, height, jsmethod){span}{td}{tr}{tr:id=des}{td}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_des|text=|trigger=button}{sub-section}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_des|trigger=none|class=sIndent}Creates a new button on the form with the given text, place, size and JSMethod as the onAction event triggered action.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_prs|trigger=none}text -- the text on the button
x -- the x coordinate of the button location on the form
y -- the y coordinate of the button location on the form
width -- the width of the button
height -- the height of the button
jsmethod -- the method assigned to handle an onAction event
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_ret|text=|trigger=button}{sub-section}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_ret|trigger=none|class=sIndent}[JSButton] -- a new JSButton object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_see|text=|trigger=button}{sub-section}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_see|text=|trigger=button}{sub-section}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_sam|text=|trigger=button}{sub-section}{sub-section:7EC1AA6D-94DB-45C2-B67D-377961B10096_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var method = solutionModel.newFormMethod('function onAction(event) { application.output("onAction intercepted on " + event.getFormName()); }');
	var button = solutionModel.newButton('myButton', 10, 10, 100, 30, method);
	application.output("The new button: " + button.name + " has the following onAction event handling method assigned " + button.onAction.getName());
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CDA097BE-CF62-4604-B39D-F1F632DFA93F}{tr:id=name}{td}h6.newCalendar{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newCalendar{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_des|text=|trigger=button}{sub-section}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of CALENDAR - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_ret|text=|trigger=button}{sub-section}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_ret|trigger=none|class=sIndent}[JSField] -- a new JSField object on the form with the displayType of CALENDAR{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_see|text=|trigger=button}{sub-section}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_see|text=|trigger=button}{sub-section}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_sam|text=|trigger=button}{sub-section}{sub-section:CDA097BE-CF62-4604-B39D-F1F632DFA93F_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var calendar = form.newCalendar(myDataProvider, 100, 100, 200, 200);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=63E0A0F0-6874-48EA-9380-9689D1EC0569}{tr:id=name}{td}h6.newCheck{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newCheck{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_des|text=|trigger=button}{sub-section}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of CHECK (checkbox) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_ret|text=|trigger=button}{sub-section}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_ret|trigger=none|class=sIndent}[JSField] -- a new JSField object on the form with the displayType of CHECK (checkbox){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_see|text=|trigger=button}{sub-section}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_see|text=|trigger=button}{sub-section}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_sam|text=|trigger=button}{sub-section}{sub-section:63E0A0F0-6874-48EA-9380-9689D1EC0569_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var calendar = form.newCheck(myDataProvider, 100, 100, 200, 200);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1CED8E32-DEA2-42A5-B183-C14C96B9F139}{tr:id=name}{td}h6.newComboBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newComboBox{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_des|text=|trigger=button}{sub-section}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of COMBOBOX - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_ret|text=|trigger=button}{sub-section}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_ret|trigger=none|class=sIndent}[JSField] -- a new JSField object on the form with the displayType of COMBOBOX{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_see|text=|trigger=button}{sub-section}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_see|text=|trigger=button}{sub-section}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_sam|text=|trigger=button}{sub-section}{sub-section:1CED8E32-DEA2-42A5-B183-C14C96B9F139_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var calendar = form.newComboBox(myDataProvider, 100, 100, 200, 200);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=58FCD617-5953-4B54-BE4A-2FA2B0259F4E}{tr:id=name}{td}h6.newField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newField{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, displaytype, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_des|text=|trigger=button}{sub-section}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_des|trigger=none|class=sIndent}Creates a new JSField object on the form - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
displaytype -- the display type of the JSField object (see the Solution Model -> JSField node for display types)
x -- the horizontal "x" position of the JSField object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_ret|text=|trigger=button}{sub-section}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_ret|trigger=none|class=sIndent}[JSField] -- a new JSField object (of the specified display type){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_see|text=|trigger=button}{sub-section}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_see|text=|trigger=button}{sub-section}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_sam|text=|trigger=button}{sub-section}{sub-section:58FCD617-5953-4B54-BE4A-2FA2B0259F4E_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var variable = form.newFormVariable('myVar', JSVariable.TEXT);
	variable.defaultValue = "'This is a default value (with tripple quotes)!'";
	var field = form.newField(variable, JSField.TEXT_FIELD, 100, 100, 200, 200);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C}{tr:id=name}{td}h6.newFooterPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newFooterPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_des|text=|trigger=button}{sub-section}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_des|trigger=none|class=sIndent}Creates a new Footer part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_ret|text=|trigger=button}{sub-section}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Footer form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_see|text=|trigger=button}{sub-section}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_see|text=|trigger=button}{sub-section}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_sam|text=|trigger=button}{sub-section}{sub-section:17FFCF29-BA8F-4A61-BBB8-CE1BA596F60C_sam|class=sIndent|trigger=none}{code:language=javascript}
var footer = form.newFooterPart(440);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6}{tr:id=name}{td}h6.newFormMethod{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSMethod]{span}{span:id=iets|style=float: left; font-weight: bold;}newFormMethod{span}{span:id=iets|style=float: left;}\(code){span}{td}{tr}{tr:id=des}{td}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_des|text=|trigger=button}{sub-section}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_des|trigger=none|class=sIndent}Creates a new form JSMethod - based on the specified code.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_prs|trigger=none}code -- the specified code for the new method
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_ret|text=|trigger=button}{sub-section}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_ret|trigger=none|class=sIndent}[JSMethod] -- a new JSMethod object for this form{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_see|text=|trigger=button}{sub-section}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_see|text=|trigger=button}{sub-section}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_sam|text=|trigger=button}{sub-section}{sub-section:5F328FBC-06E1-4ED2-9C35-B1E9B004F0F6_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var method = form.newFormMethod('function aMethod(event){application.output("Hello world!");}');
	var button = myListViewForm.newButton('Show message!',50,50,100,30,method);
 forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=05F40AF6-E6CB-4520-BC9E-FAA353411771}{tr:id=name}{td}h6.newFormVariable{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSVariable]{span}{span:id=iets|style=float: left; font-weight: bold;}newFormVariable{span}{span:id=iets|style=float: left;}\(name, type){span}{td}{tr}{tr:id=des}{td}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_des|text=|trigger=button}{sub-section}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_des|trigger=none|class=sIndent}Creates a new form JSVariable - based on the name of the variable object and the number type, uses the SolutionModel JSVariable constants.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_prs|trigger=none}name -- the specified name of the variable
type -- the specified type of the variable (see Solution Model -> JSVariable node constants)
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_ret|text=|trigger=button}{sub-section}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_ret|trigger=none|class=sIndent}[JSVariable] -- a JSVariable object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_see|text=|trigger=button}{sub-section}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_see|text=|trigger=button}{sub-section}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_sam|text=|trigger=button}{sub-section}{sub-section:05F40AF6-E6CB-4520-BC9E-FAA353411771_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var variable = form.newFormVariable('myVar', JSVariable.TEXT);
	variable.defaultValue = "'This is a default value (with tripple quotes)!'";
	var field = form.newField(variable, JSField.TEXT_FIELD, 100, 100, 200, 200);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=BF64E7C2-E325-49C7-8F39-EC17BC39B83D}{tr:id=name}{td}h6.newHeaderPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newHeaderPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_des|text=|trigger=button}{sub-section}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_des|trigger=none|class=sIndent}Creates a new Header part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_ret|text=|trigger=button}{sub-section}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Header form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_see|text=|trigger=button}{sub-section}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_see|text=|trigger=button}{sub-section}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_sam|text=|trigger=button}{sub-section}{sub-section:BF64E7C2-E325-49C7-8F39-EC17BC39B83D_sam|class=sIndent|trigger=none}{code:language=javascript}
var header = form.newHeaderPart(80);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=944BB453-915D-45A2-B3BF-4D9EF9E63355}{tr:id=name}{td}h6.newHtmlArea{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newHtmlArea{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_des|text=|trigger=button}{sub-section}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of HTML_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_ret|text=|trigger=button}{sub-section}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_ret|trigger=none|class=sIndent}[JSField] -- a JSField object on the form with the displayType of HTML_AREA{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_see|text=|trigger=button}{sub-section}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_see|text=|trigger=button}{sub-section}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_sam|text=|trigger=button}{sub-section}{sub-section:944BB453-915D-45A2-B3BF-4D9EF9E63355_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var textProvider = form.newFormVariable('myVar',JSVariable.TEXT);
	textProvider.defaultValue = "'This is a tripple quotted text!'";
	var htmlArea = myListViewForm.newHtmlArea(textProvider,100,100,100,100);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=291F72F2-CC18-4BF7-A274-56DF24092F4F}{tr:id=name}{td}h6.newImageMedia{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newImageMedia{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_des|text=|trigger=button}{sub-section}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of IMAGE_MEDIA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_ret|text=|trigger=button}{sub-section}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_ret|trigger=none|class=sIndent}[JSField] -- a new JSField object on the form with the displayType of IMAGE_MEDIA{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_see|text=|trigger=button}{sub-section}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_see|text=|trigger=button}{sub-section}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_sam|text=|trigger=button}{sub-section}{sub-section:291F72F2-CC18-4BF7-A274-56DF24092F4F_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
 var myMediaVar = form.newFormVariable("media", JSVariable.MEDIA);
 var imageMedia = form.newImageMedia(myMediaVar,100,100,200,200)
 forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5DCA9C39-2B36-4D71-B690-40D5D8EFFF14}{tr:id=name}{td}h6.newLabel{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSLabel]{span}{span:id=iets|style=float: left; font-weight: bold;}newLabel{span}{span:id=iets|style=float: left;}\(text, x, y, width, height, jsmethod){span}{td}{tr}{tr:id=des}{td}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_des|text=|trigger=button}{sub-section}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_des|trigger=none|class=sIndent}Creates a new JSLabel object on the form - including the text of the label, the "x" and "y" position of the label object in pixels, the width and height of the label object in pixels and the optional JSMethod action such as the method for an onAction event.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_prs|trigger=none}text -- the specified text of the label object
x -- the horizontal "x" position of the label object in pixels
y -- the vertical "y" position of the label object in pixels
width -- the width of the label object in pixels
height -- the height of the label object in pixels
\[jsmethod\] -- the event action JSMethod of the label object
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_ret|text=|trigger=button}{sub-section}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_ret|trigger=none|class=sIndent}[JSLabel] -- a JSLabel object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_see|text=|trigger=button}{sub-section}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_see|text=|trigger=button}{sub-section}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_sam|text=|trigger=button}{sub-section}{sub-section:5DCA9C39-2B36-4D71-B690-40D5D8EFFF14_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var label = form.newLabel('The text on the label', 140, 140, 50, 20);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D}{tr:id=name}{td}h6.newLeadingGrandSummaryPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newLeadingGrandSummaryPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_des|text=|trigger=button}{sub-section}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_des|trigger=none|class=sIndent}Creates a new Leading Grand Summary part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_ret|text=|trigger=button}{sub-section}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Leading Grand Summary form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_see|text=|trigger=button}{sub-section}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_see|text=|trigger=button}{sub-section}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_sam|text=|trigger=button}{sub-section}{sub-section:7A40F1B8-B68F-4177-8583-F7A5AB7E3B2D_sam|class=sIndent|trigger=none}{code:language=javascript}
var leadingGrandSummary = form.newLeadingGrandSummaryPart(120);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=01D6629B-A65E-43A9-9028-3F4535455D8C}{tr:id=name}{td}h6.newLeadingSubSummaryPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newLeadingSubSummaryPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_des|text=|trigger=button}{sub-section}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_des|trigger=none|class=sIndent}Creates a new Leading Subsummary part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_ret|text=|trigger=button}{sub-section}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Leading Subsummary form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_see|text=|trigger=button}{sub-section}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_see|text=|trigger=button}{sub-section}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_sam|text=|trigger=button}{sub-section}{sub-section:01D6629B-A65E-43A9-9028-3F4535455D8C_sam|class=sIndent|trigger=none}{code:language=javascript}
var leadingSubsummary = form.newLeadingSubSummaryPart(160);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=30AC8983-7DDD-4260-BB58-93530212A682}{tr:id=name}{td}h6.newPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newPart{span}{span:id=iets|style=float: left;}\(type, height){span}{td}{tr}{tr:id=des}{td}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_des|text=|trigger=button}{sub-section}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_des|trigger=none|class=sIndent}Creates a new part on the form. The type of the new part (use one of the JSPart constants)
and its height must be specified.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_prs|trigger=none}type -- The type of the new part.
height -- The height of the new part
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_ret|text=|trigger=button}{sub-section}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_see|text=|trigger=button}{sub-section}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_see|text=|trigger=button}{sub-section}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_sam|text=|trigger=button}{sub-section}{sub-section:30AC8983-7DDD-4260-BB58-93530212A682_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('myForm', 'example_data', 'my_table', null, false, 1200, 800);
var header = form.newPart(JSPart.HEADER, 100);
header.background = 'yellow';
var body = form.newPart(JSPart.BODY, 700);
body.background = 'green';
var footer = form.newPart(JSPart.FOOTER, 800);
footer.background = 'orange';
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=4F175DC0-B4AE-4155-B37D-9C0DA7E88390}{tr:id=name}{td}h6.newPassword{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newPassword{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_des|text=|trigger=button}{sub-section}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of PASSWORD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_ret|text=|trigger=button}{sub-section}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_ret|trigger=none|class=sIndent}[JSField] -- a new JSField object on the form with the displayType of PASSWORD{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_see|text=|trigger=button}{sub-section}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_see|text=|trigger=button}{sub-section}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_sam|text=|trigger=button}{sub-section}{sub-section:4F175DC0-B4AE-4155-B37D-9C0DA7E88390_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
 var pass = form.newPassword(globals.aVariable, 100, 100, 70, 30);
 forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C19A6DE1-E39A-4F05-8B08-4DBA743B12B2}{tr:id=name}{td}h6.newPortal{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPortal]{span}{span:id=iets|style=float: left; font-weight: bold;}newPortal{span}{span:id=iets|style=float: left;}\(name, relation, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_des|text=|trigger=button}{sub-section}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_des|trigger=none|class=sIndent}Creates a new JSPortal object on the form - including the name of the JSPortal object; the relation the JSPortal object is based on, the "x" and "y" position of the JSPortal object in pixels, as well as the width and height of the JSPortal object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_prs|trigger=none}name -- the specified name of the JSPortal object
relation -- the relation of the JSPortal object
x -- the horizontal "x" position of the JSPortal object in pixels
y -- the vertical "y" position of the JSPortal object in pixels
width -- the width of the JSPortal object in pixels
height -- the height of the JSPortal object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_ret|text=|trigger=button}{sub-section}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_ret|trigger=none|class=sIndent}[JSPortal] -- a JSPortal object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_see|text=|trigger=button}{sub-section}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_see|text=|trigger=button}{sub-section}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_sam|text=|trigger=button}{sub-section}{sub-section:C19A6DE1-E39A-4F05-8B08-4DBA743B12B2_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'server1', 'table1', null, true, 800, 600);
	var relation = solutionModel.newRelation('parentToChild','server1','table1','server2','table2',JSRelation.INNER_JOIN);
	relation.newRelationItem('another_parent_table_id', '=', 'another_child_table_parent_id');
	var portal = form.newPortal('portal',relation,200,200,300,300);
	portal.newField('someColumn',JSField.TEXT_FIELD,200,200,120);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A783C4C5-2010-48DD-97F7-B7F745509E81}{tr:id=name}{td}h6.newRadios{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newRadios{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_des|text=|trigger=button}{sub-section}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of RADIOS (radio buttons) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_ret|text=|trigger=button}{sub-section}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_ret|trigger=none|class=sIndent}[JSField] -- a JSField object with the displayType of RADIOS (radio buttons){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_see|text=|trigger=button}{sub-section}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_see|text=|trigger=button}{sub-section}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_sam|text=|trigger=button}{sub-section}{sub-section:A783C4C5-2010-48DD-97F7-B7F745509E81_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1', 'myServer', 'myTable', null, true, 800, 600);
	var vlist = solutionModel.newValueList('options',JSValueList.CUSTOM_VALUES); 
	vlist.customValues = "value1\nvalue2\nvalue3"; 
	var radios = form.newRadios('columnDataProvider',100,100,200,200);
	radios.valuelist = vlist;
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=109B5ECA-441D-40E3-A9FC-41CBD78C65C1}{tr:id=name}{td}h6.newRtfArea{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newRtfArea{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_des|text=|trigger=button}{sub-section}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of RTF_AREA (enables more than one line of text to be displayed in a field) - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_ret|text=|trigger=button}{sub-section}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_ret|trigger=none|class=sIndent}[JSField] -- a JSField object with the displayType of RTF_AREA{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_see|text=|trigger=button}{sub-section}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_see|text=|trigger=button}{sub-section}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_sam|text=|trigger=button}{sub-section}{sub-section:109B5ECA-441D-40E3-A9FC-41CBD78C65C1_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1','myServer','myTable',null,true,800,600);
	var rtf_area = form.newRtfArea('columnDataProvider',100,100,100,100);
 forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=39A7FAC5-460F-42C2-BF39-FB283E897DFE}{tr:id=name}{td}h6.newTabPanel{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSTabPanel]{span}{span:id=iets|style=float: left; font-weight: bold;}newTabPanel{span}{span:id=iets|style=float: left;}\(name, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_des|text=|trigger=button}{sub-section}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_des|trigger=none|class=sIndent}Creates a new JSTabPanel object on the form - including the name of the JSTabPanel object, the "x" and "y" position of the JSTabPanel object in pixels, as well as the width and height of the JSTabPanel object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_prs|trigger=none}name -- the specified name of the JSTabPanel object
x -- the horizontal "x" position of the JSTabPanel object in pixels
y -- the vertical "y" position of the JSTabPanel object in pixels
width -- the width of the JSTabPanel object in pixels
height -- the height of the JSTabPanel object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_ret|text=|trigger=button}{sub-section}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_ret|trigger=none|class=sIndent}[JSTabPanel] -- a JSTabPanel object{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_see|text=|trigger=button}{sub-section}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_see|text=|trigger=button}{sub-section}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_sam|text=|trigger=button}{sub-section}{sub-section:39A7FAC5-460F-42C2-BF39-FB283E897DFE_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('parentForm','theServer','parent_table',null,false,640,480); 
	var childOne = solutionModel.newForm('childOne','theServer','child_table',null,false,400,300);
	childOne.newField('child_table_text', JSField.TEXT_FIELD,10,10,100,20); 
	var parentToChild = solutionModel.newRelation('parentToChild','theServer','parent_table','theServer','child_table',JSRelation.INNER_JOIN);
	parentToChild.newRelationItem('parent_table_id','=','child_table_parent_id');
	var childTwo = solutionModel.newForm('childTwo','theServer','my_table',null,false,400,300);
	childTwo.newField('my_table_image', JSField.IMAGE_MEDIA,10,10,100,100); 
 var tabPanel = form.newTabPanel('tabs',10,10,620,460);
 tabPanel.newTab('tab1','Child One',childOne,parentToChild);
 tabPanel.newTab('tab2','Child Two',childTwo);
 forms['parentForm'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=55DC5270-EE1F-4AE4-80DE-E1FC28F587E6}{tr:id=name}{td}h6.newTextArea{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newTextArea{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_des|text=|trigger=button}{sub-section}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of TEXT_AREA - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSTabPanel object in pixels
y -- the vertical "y" position of the JSTabPanel object in pixels
width -- the width of the JSTabPanel object in pixels
height -- the height of the JSTabPanel object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_ret|text=|trigger=button}{sub-section}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_ret|trigger=none|class=sIndent}[JSField] -- a JSField object with the displayType of TEXT_AREA{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_see|text=|trigger=button}{sub-section}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_see|text=|trigger=button}{sub-section}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_sam|text=|trigger=button}{sub-section}{sub-section:55DC5270-EE1F-4AE4-80DE-E1FC28F587E6_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1','myServer','myTable',null,true,800,600);
	var globalVar = solutionModel.newGlobalVariable('myGlobal',JSVariable.TEXT);
	globalVar.defaultValue = "'Type your text in here'";
	var textArea = form.newTextArea(globalVar,100,100,300,150);
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE}{tr:id=name}{td}h6.newTextField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newTextField{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_des|text=|trigger=button}{sub-section}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of TEXT_FIELD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_ret|text=|trigger=button}{sub-section}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_ret|trigger=none|class=sIndent}[JSField] -- a JSField object with the displayType of TEXT_FIELD{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_see|text=|trigger=button}{sub-section}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_see|text=|trigger=button}{sub-section}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_sam|text=|trigger=button}{sub-section}{sub-section:FEC4551A-BB0A-4A7A-9AEE-4D4D7E56D6CE_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1','myServer','myTable',null,true,800,600); 
	//choose the dataprovider or jsvariable you want for the Text Field
	var x = null;
	//global jsvariable as the dataprovider 
 //x = solutionModel.newGlobalVariable('myGlobal',JSVariable.TEXT);
	//x.defaultValue = "'Text from a global variable'";
	//or a form jsvariable as the dataprovider 
	//x = form.newFormVariable('myFormVar',JSVariable.TEXT);
	//x.defaultValue = "'Text from a form variable'";
	var textField = form.newTextField(x,100,100,200,50);
	//or a column data provider as the dataprovider
	//textField.dataProviderID = columnTextDataProvider;
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3F3EB4AC-6F52-4FD5-8997-13A4A142902D}{tr:id=name}{td}h6.newTitleFooterPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newTitleFooterPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_des|text=|trigger=button}{sub-section}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_des|trigger=none|class=sIndent}Creates a new Title Footer part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_ret|text=|trigger=button}{sub-section}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Title Footer form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_see|text=|trigger=button}{sub-section}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_see|text=|trigger=button}{sub-section}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_sam|text=|trigger=button}{sub-section}{sub-section:3F3EB4AC-6F52-4FD5-8997-13A4A142902D_sam|class=sIndent|trigger=none}{code:language=javascript}
var titleFooter = form.newTitleFooterPart(500);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=35EFDF63-40DD-4765-B8BE-D044097A8E70}{tr:id=name}{td}h6.newTitleHeaderPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newTitleHeaderPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_des|text=|trigger=button}{sub-section}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_des|trigger=none|class=sIndent}Creates a new Title Header part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_ret|text=|trigger=button}{sub-section}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Title Header form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_see|text=|trigger=button}{sub-section}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_see|text=|trigger=button}{sub-section}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_sam|text=|trigger=button}{sub-section}{sub-section:35EFDF63-40DD-4765-B8BE-D044097A8E70_sam|class=sIndent|trigger=none}{code:language=javascript}
var titleHeader = form.newTitleHeaderPart(40);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E}{tr:id=name}{td}h6.newTrailingGrandSummaryPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newTrailingGrandSummaryPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_des|text=|trigger=button}{sub-section}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_des|trigger=none|class=sIndent}Creates a new Trailing Grand Summary part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_ret|text=|trigger=button}{sub-section}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Trailing Grand Summary form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_see|text=|trigger=button}{sub-section}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_see|text=|trigger=button}{sub-section}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_sam|text=|trigger=button}{sub-section}{sub-section:FE22A09C-9FA8-483E-9BB7-D3A2C8F1BF7E_sam|class=sIndent|trigger=none}{code:language=javascript}
var trailingGrandSummary = form.newTrailingGrandSummaryPart(400);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=FB247F45-072B-433C-8C24-E06C35605C25}{tr:id=name}{td}h6.newTrailingSubSummaryPart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSPart]{span}{span:id=iets|style=float: left; font-weight: bold;}newTrailingSubSummaryPart{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_des|text=|trigger=button}{sub-section}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_des|trigger=none|class=sIndent}Creates a new Trailing Subsummary part on the form.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_ret|text=|trigger=button}{sub-section}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_ret|trigger=none|class=sIndent}[JSPart] -- A JSPart instance corresponding to the newly created Trailing Subsummary form part.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_see|text=|trigger=button}{sub-section}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_see|text=|trigger=button}{sub-section}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_sam|text=|trigger=button}{sub-section}{sub-section:FB247F45-072B-433C-8C24-E06C35605C25_sam|class=sIndent|trigger=none}{code:language=javascript}
var trailingSubsummary = form.newTrailingSubSummaryPart(360);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=EBF75CF3-23A5-41B7-9385-6769277B2C87}{tr:id=name}{td}h6.newTypeAhead{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[JSField]{span}{span:id=iets|style=float: left; font-weight: bold;}newTypeAhead{span}{span:id=iets|style=float: left;}\(dataprovidername/jsvariable, x, y, width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_des|text=|trigger=button}{sub-section}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_des|trigger=none|class=sIndent}Creates a new JSField object on the form with the displayType of TYPE_AHEAD - including the dataprovider/JSVariable of the JSField object, the "x" and "y" position of the JSField object in pixels, as well as the width and height of the JSField object in pixels.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_prs|trigger=none}dataprovidername/jsvariable -- the specified dataprovider name/JSVariable of the JSField object
x -- the horizontal "x" position of the JSfield object in pixels
y -- the vertical "y" position of the JSField object in pixels
width -- the width of the JSField object in pixels
height -- the height of the JSField object in pixels
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_ret|text=|trigger=button}{sub-section}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_ret|trigger=none|class=sIndent}[JSField] -- a JSField object with the displayType of TYPE_AHEAD{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_see|text=|trigger=button}{sub-section}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_see|text=|trigger=button}{sub-section}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_sam|text=|trigger=button}{sub-section}{sub-section:EBF75CF3-23A5-41B7-9385-6769277B2C87_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newForm1','myServer','myTable',null,true,800,600);
	var vlist = solutionModel.newValueList('options',JSValueList.CUSTOM_VALUES);
	vlist.customValues = "value1\nvalue2\nvalue3";
	var typeAhead = form.newTypeAhead(columnTextDataProvider,100,100,300,200);
	typeAhead.valuelist = vlist;
	forms['newForm1'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49}{tr:id=name}{td}h6.removeButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeButton{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_des|text=|trigger=button}{sub-section}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_des|trigger=none|class=sIndent}Removes a JSButton that has the specified name. Returns true if removal was successful, false otherwise.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_prs|trigger=none}name -- the specified name of the JSButton to be removed
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_ret|text=|trigger=button}{sub-section}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_ret|trigger=none|class=sIndent}[Boolean] -- true if the JSButton has been removed; false otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_see|text=|trigger=button}{sub-section}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_see|text=|trigger=button}{sub-section}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_sam|text=|trigger=button}{sub-section}{sub-section:1AE9D0C1-ECD1-4CDC-8C25-5A3F16885E49_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newFormX','myServer','myTable',null,true,800,600);
 var b1 = form.newButton('This is button1',100,100,200,50,null);
 b1.name = 'b1';
 var jsmethod = form.newFormMethod("function removeMe(event) { var form = solutionModel.getForm('newFormX'); if (form.removeButton('b1') == true) application.output('Button has been removed ok'); else application.output('Button could not be deleted'); forms['newFormX'].controller.recreateUI();}");
 var b2 = form.newButton('Click here to remove button1',100,230,200,50,jsmethod);
 b2.name = 'b2';
 forms['newFormX'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=EC47001B-113C-4DD3-BFE6-041425CCEB89}{tr:id=name}{td}h6.removeComponent{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeComponent{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_des|text=|trigger=button}{sub-section}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_des|trigger=none|class=sIndent}Removes a component (JSLabel, JSButton, JSField, JSPortal, JSTabpanel) that has the given name. It is the same as calling "if(!removeLabel(name) && !removeButton(name) ....)".
Returns true if removal was successful, false otherwise.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_prs|trigger=none}name -- the specified name of the component to be deleted
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_ret|text=|trigger=button}{sub-section}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_ret|trigger=none|class=sIndent}[Boolean] -- true if component has been successfully deleted; false otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_see|text=|trigger=button}{sub-section}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_see|text=|trigger=button}{sub-section}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_sam|text=|trigger=button}{sub-section}{sub-section:EC47001B-113C-4DD3-BFE6-041425CCEB89_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newFormX','myServer','parentTable',null,true,1000,750);
var jsbutton = form.newButton('JSButton to delete',100,100,200,50,null);
jsbutton.name = 'jsb';
var jslabel = form.newLabel('JSLabel to delete',100,200,200,50,null);
jslabel.name = 'jsl';
jslabel.transparent = false;
jslabel.background = 'green';
var jsfield = form.newField('globals.myGlobalVariable',JSField.TEXT_FIELD,100,300,200,50);
jsfield.name = 'jsf';
var relation = solutionModel.newRelation('parentToChild','myServer','parentTable','myServer','childTable',JSRelation.INNER_JOIN);
relation.newRelationItem('parent_table_id', '=', 'child_table_id');
var jsportal = form.newPortal('jsp',relation,100,400,300,300);
jsportal.newField('child_table_id',JSField.TEXT_FIELD,200,200,120);
var childOne = solutionModel.newForm('childOne','myServer','childTable',null,false,400,300);
childOne.newField('child_table_id', JSField.TEXT_FIELD,10,10,100,20);
var childTwo = solutionModel.newForm('childTwo','myServer','someOtherTable',null,false,400,300);
childTwo.newField('some_table_id', JSField.TEXT_FIELD,10,10,100,100); 
var jstabpanel = form.newTabPanel('jst',450,30,620,460);
jstabpanel.newTab('tab1','Child One',childOne,relation);
jstabpanel.newTab('tab2','Child Two',childTwo);
var jsmethod = form.newFormMethod("function removeMe(event) { var form = solutionModel.getForm('newFormX');\n if ((form.removeComponent('jsb') == true) && (form.removeComponent('jsl') == true) && (form.removeComponent('jsf') == true) && (form.removeComponent('jsp') == true) & (form.removeComponent('jst') == true)) application.output('Components removed ok'); else application.output('Some component(s) could not be deleted'); forms['newFormX'].controller.recreateUI();}");
var removerButton = form.newButton('Click here to remove form components',450,500,250,50,jsmethod);
removerButton.name = 'remover';
forms['newFormX'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=78A976AC-578C-4C0C-9990-007217E3B7B5}{tr:id=name}{td}h6.removeField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeField{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_des|text=|trigger=button}{sub-section}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_des|trigger=none|class=sIndent}Removes a JSField that has the given name. Returns true if removal was successful, false otherwise.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_prs|trigger=none}name -- the specified name of the JSField to remove
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_ret|text=|trigger=button}{sub-section}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_ret|trigger=none|class=sIndent}[Boolean] -- true is the JSField has been successfully removed; false otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_see|text=|trigger=button}{sub-section}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_see|text=|trigger=button}{sub-section}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_sam|text=|trigger=button}{sub-section}{sub-section:78A976AC-578C-4C0C-9990-007217E3B7B5_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newFormX','myServer','myTable',null,true,800,600);
var jsfield = form.newField(globals.myGlobalVariable,JSField.TEXT_FIELD,100,300,200,50);
jsfield.name = 'jsf';
var jsmethod = form.newFormMethod("function removeMe(event) { var form = solutionModel.getForm('newFormX');\n if (form.removeComponent('jsf') == true) application.output('Field has been removed ok'); else application.output('Field could not be deleted'); forms['newFormX'].controller.recreateUI();}");
var removerButton = form.newButton('Click here to remove the field',450,500,250,50,jsmethod);
removerButton.name = 'remover';
forms['newFormX'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7AB06730-FA7E-40FE-B4B4-C0C98121EC00}{tr:id=name}{td}h6.removeLabel{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeLabel{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_des|text=|trigger=button}{sub-section}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_des|trigger=none|class=sIndent}Removes a JSLabel that has the given name. Returns true if removal successful, false otherwise{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_prs|trigger=none}name -- the specified name of the JSLabel to be removed
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_ret|text=|trigger=button}{sub-section}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_ret|trigger=none|class=sIndent}[Boolean] -- true if the JSLabel with the given name has successfully been removed; false otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_see|text=|trigger=button}{sub-section}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_see|text=|trigger=button}{sub-section}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_sam|text=|trigger=button}{sub-section}{sub-section:7AB06730-FA7E-40FE-B4B4-C0C98121EC00_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newFormX','myServer','myTable',null,true,1000,750);
var jslabel = form.newLabel('JSLabel to delete',100,200,200,50,null);
jslabel.name = 'jsl';
jslabel.transparent = false;
jslabel.background = 'green';
var jsmethod = form.newFormMethod("function removeMe(event) { var form = solutionModel.getForm('newFormX'); if (form.removeComponent('jsl') == true) application.output('Label has been removed'); else application.output('Label could not be deleted'); forms['newFormX'].controller.recreateUI();}");
var removerButton = form.newButton('Click here to remove the green label',450,500,250,50,jsmethod);
removerButton.name = 'remover';
forms['newFormX'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA}{tr:id=name}{td}h6.removePart{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removePart{span}{span:id=iets|style=float: left;}\(type, height){span}{td}{tr}{tr:id=des}{td}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_des|text=|trigger=button}{sub-section}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_des|trigger=none|class=sIndent}Removes a JSPart of the given type. Use the height parameter if you want to remove one of multiple
subsummary parts.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_prs|trigger=none}type -- The type of the part that should be removed.
\[height\] -- The height of the part that should be removed. Use this parameter when you want
                        to remove one of multiple Leading/Trailing Subsummary parts.
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_ret|text=|trigger=button}{sub-section}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_ret|trigger=none|class=sIndent}[Boolean] -- True if the part is successfully removed, false otherwise.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_see|text=|trigger=button}{sub-section}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_see|text=|trigger=button}{sub-section}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_sam|text=|trigger=button}{sub-section}{sub-section:BACF1C52-D71C-44F8-B5FF-E31EB7B8AFEA_sam|class=sIndent|trigger=none}{code:language=javascript}
form.removePart(JSPart.HEADER);
form.removePart(JSPart.LEADING_SUBSUMMARY, 160);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2DE9A061-6148-4299-8328-5FA64123A577}{tr:id=name}{td}h6.removePortal{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removePortal{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_des|text=|trigger=button}{sub-section}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_des|trigger=none|class=sIndent}Removes a JSPortal that has the given name. Returns true if removal was successful, false otherwise.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_prs|trigger=none}name -- the specified name of the JSPortal to be removed
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_ret|text=|trigger=button}{sub-section}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_ret|trigger=none|class=sIndent}[Boolean] -- true if the JSPortal has successfully been removed; false otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_see|text=|trigger=button}{sub-section}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_see|text=|trigger=button}{sub-section}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_sam|text=|trigger=button}{sub-section}{sub-section:2DE9A061-6148-4299-8328-5FA64123A577_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newFormX','myServer','myTable',null,true,800,600);
	var relation = solutionModel.newRelation('parentToChild','myServer','myTable','myServer','myOtherTable',JSRelation.INNER_JOIN);
	relation.newRelationItem('parent_table_id', '=', 'child_table_id');
	var jsportal = form.newPortal('jsp',relation,100,400,300,300);
	jsportal.newField('child_table_id',JSField.TEXT_FIELD,200,200,120);
	var jsmethod = form.newFormMethod("function removeMe(event) { var form = solutionModel.getForm('newFormX');\n if (form.removeComponent('jsp') == true) application.output('Portal removed ok'); else application.output('Portal could not be deleted'); forms['newFormX'].controller.recreateUI();}");
	var removerButton = form.newButton('Click here to remove the portal',450,500,250,50,jsmethod);
	removerButton.name = 'remover';
	forms['newFormX'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=608252B8-86CF-43FD-953B-53CF1253F859}{tr:id=name}{td}h6.removeTabPanel{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Boolean]{span}{span:id=iets|style=float: left; font-weight: bold;}removeTabPanel{span}{span:id=iets|style=float: left;}\(name){span}{td}{tr}{tr:id=des}{td}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_des|text=|trigger=button}{sub-section}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_des|trigger=none|class=sIndent}Removes a JSTabPanel that has the given name. Returns true if removal was successful, false otherwise.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_prs|trigger=none}name -- the specified name of the JSTabPanel to be removed
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_ret|text=|trigger=button}{sub-section}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_ret|trigger=none|class=sIndent}[Boolean] -- true is the JSTabPanel has been successfully removed, false otherwise{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_see|text=|trigger=button}{sub-section}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_see|text=|trigger=button}{sub-section}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_sam|text=|trigger=button}{sub-section}{sub-section:608252B8-86CF-43FD-953B-53CF1253F859_sam|class=sIndent|trigger=none}{code:language=javascript}
var form = solutionModel.newForm('newFormX','myServer','parentTable',null,false,800,600);
var childOne = solutionModel.newForm('childOne','myServer','childTable',null,false,400,300);
childOne.newField('child_table_text', JSField.TEXT_FIELD,10,10,100,20); 
var parentToChild = solutionModel.newRelation('parentToChild','myServer','parentTable','myServer','childTable',JSRelation.INNER_JOIN);
parentToChild.newRelationItem('parent_table_id','=','child_table_id');
var childTwo = solutionModel.newForm('childTwo','myServer','anotherTable',null,false,400,300);
childTwo.newField('columnDataProvider', JSField.TEXT_FIELD,10,10,100,100);
var tabPanel = form.newTabPanel('jst',10,10,620,460);
tabPanel.newTab('tab1','Child One',childOne,parentToChild);
tabPanel.newTab('tab2','Child Two',childTwo);
var jsmethod = form.newFormMethod("function removeMe(event) { var form = solutionModel.getForm('newFormX');\n if (form.removeComponent('jst') == true)\n application.output('TabPanel has been removed ok');\n else\n application.output('TabPanel could not be deleted');\n forms['newFormX'].controller.recreateUI();\n}");
var removerButton = form.newButton('Click here to remove the tab panel',450,500,250,50,jsmethod);
removerButton.name = 'remover';
forms['newFormX'].controller.show();
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}