Child pages
  • RuntimeCalendar

Versions Compared

Key

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

{table:id=|class=servoy sSummerysSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property SummerySummary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#bgcolor]
Gets or sets the background color of a field.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#border]
Gets or sets the border attribute(s) of a specified element.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#editable]
Gets or sets the editable/read\-only state of a field; true \- editable; false \- read\-only.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#enabled]
Gets or sets the enabled state of a specified field, also known as "grayed".{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#fgcolor]
Gets or sets the foreground color of a field.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#font]
Sets the font name, style, and size of an element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#format]
Gets or sets the display formatting of a field for number and text values; does not affect the actual value stored in the database column.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#readOnly]
Gets or sets the editable/read\-only state of a field; true \- read\-only; false \- editable; ! \- the editable/read\-only state is inverted (the opposite).{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toolTipText#titleText]
Gets or sets the tooltitle tip text of an element; text displays when the mouse cursor hovers over an element.{td}{tr}{tbody}{tbody}{tr}{td}[BooleanString]{td}{td}[#transparent#toolTipText]
Gets or sets the transparencytool of tip text of an element; text displays when the mouse cursor hovers over an element.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#transparent]
Gets or sets the transparency of an element; true \- transparent; false \- not transparent.{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#visible]
Gets or sets the visibility of an element; true \- visible; false \- not visible; ! \- the visibility state is inverted (the opposite).{td}{tr}{tbody}{table}\\ 

{table:id=|class=servoy sSummerysSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method SummerySummary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#getAbsoluteFormLocationY]\()
Returns the absolute form (designed) Y location.{td}{tr}{tbody}{tbody}{tr}{td}[Object]{td}{td}[#getClientProperty]\(key)
Gets the specified client property for the element based on a key.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getDataProviderID]\()
Get the data provider this UI element (display) is showing.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getElementType]\()
Returns the type of a specified element.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getHeight]\()
Returns the height of the current element.{td}{tr}{tbody}{tbody}{tr}{td}[String]\[]{td}{td}[#getLabelForElementNames]\()
Returns an Array of label element names that has this field filled in as the labelFor.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getLocationX]\()
Returns the x location of the current element.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getLocationY]\()
Returns the y location of the current element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getName]\()
Returns the name of an element.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getTitleText]\()
Get the title text.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getWidth]\()
Returns the width of the current element.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#putClientProperty]\(key, value)
Sets the value for the specified element client property key.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#requestFocus]\(\[mustExecuteOnFocusGainedMethod\])
Requests the focus for an element; can skip the onFocusGained event for an element by using requestFocus(false).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setBorder#setLocation]\(specx, y)
Sets the borderlocation attribute(s) of aan specified element.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setFont#setSize]\(specwidth, height)
Sets the fontsize name,of style, and size of an element.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setLocation]\(x, y)
Sets the location of an element.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setSize]\(width, height)
Sets the size of the fieldthe field.{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=bgcolor|class=node}{tr:id=name}{td}h6.bgcolor{td}{tr}{tr:id=des}{td}{sub-section:bgcolor_des|text=|trigger=button}{sub-section}{sub-section:bgcolor_des|trigger=none|class=sIndent}Gets or sets the background color of a field. The color has to be set using the hexadecimal RGB value as used in HTML.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:bgcolor_snc|text=|trigger=button}{sub-section}{sub-section:bgcolor_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:bgcolor_prs|text=|trigger=button}{sub-section}{sub-section:bgcolor_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:bgcolor_ret|text=|trigger=button}{sub-section}{sub-section:bgcolor_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:bgcolor_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:bgcolor_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:bgcolor_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:bgcolor_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:bgcolor_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:bgcolor_sam|trigger=none}{code:language=javascript}
//sets the background color of the field
forms.customer.elements.customer_id.bgcolor = "#FFFFFF";
//gets the background color of the field
var c = forms.customer.elements.customer_id.bgcolor;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=editableborder|class=node}{tr:id=name}{td}h6.editableborder{td}{tr}{tr:id=des}{td}{sub-section:editableborder_des|text=|trigger=button}{sub-section}{sub-section:editableborder_des|trigger=none|class=sIndent}Gets or sets the editable/read\-only stateborder attribute(s) of a field; true \- editable; false \- read\-only.

NOTE the "!" operator can be used to invert the editable state.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:editable_snc|text=|trigger=button}{sub-section}{sub-section:editable_snc|trigger=none|class=sIndent} Replace with version info{sub-section}specified element. 

The border attributes:

borderType \- EmptyBorder, EtchedBorder, BevelBorder, LineBorder, TitleBorder, MatteBorder, SpecialMatteBorder.
size \- (numeric value) for: bottom, left, right, top.
color \- (hexadecimal value) for: bottom, left, right, top.
dash pattern \- (numeric value) for selected side(s).
rounding radius \- (numeric value) for selected side(s).

NOTE: Use the same value(s) and order of attribute(s) from the element design time property "borderType".{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prssnc}{td}*ParametersSince*\\{sub-section:editableborder_prssnc|text=|trigger=button}{sub-section}{sub-section:editableborder_prssnc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=retprs}{td}*ReturnsParameters*\\{sub-section:editableborder_retprs|text=|trigger=button}{sub-section}{sub-section:editableborder_retprs|trigger=none|class=sIndent}[Boolean]spec -- the border attributes
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=seeret}{td}*Also seeReturns*\\{sub-section:editableborder_seeret|text=|trigger=button}{sub-section}{sub-section:border_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:border_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:editableborder_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:editableborder_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:editableborder_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:editableborder_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:editableborder_sam|trigger=none}{code:language=javascript}
var currentState = forms.customer.elements.customer_id.editable;
forms.customer.elements.customer_id.editable = !currentState;
{code}{sub-section}{div
//sets the border type to "LineBorder"
//sets a 1 px line width for the bottom and left side of the border
//sets the hexadecimal color of the border to "#ccffcc"
var b = forms.customer.elements.customer_id.setBorder('LineBorder,1,#ccffcc');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=enablededitable|class=node}{tr:id=name}{td}h6.enablededitable{td}{tr}{tr:id=des}{td}{sub-section:enablededitable_des|text=|trigger=button}{sub-section}{sub-section:enablededitable_des|trigger=none|class=sIndent}Gets or sets the enablededitable/read\-only state of a specified field, also known as "grayed".
; true \- enablededitable; false \- not enabled; ! \- the enabled state is inverted (the opposite)read\-only.

NOTE: Athe disabled"!" elementoperator cannotcan be selectedused byto clickinginvert the element (or by pressing the TAB key even if this option is supported by the operating system).

NOTE: A label or button element will not disable if the "displayType" design time property for a field is set to HTML\_AREA.

NOTE: The disabled "grayed" color is dependent on the LAF set in the Servoy Client Application Preferences. For more information see Preferences: Look And Feel in the Servoy Developer User's Guide.{sub-section}{td}{treditable state.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:editable_snc|text=|trigger=button}{sub-section}{sub-section:editable_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sncprs}{td}*SinceParameters*\\{sub-section:enablededitable_sncprs|text=|trigger=button}{sub-section}{sub-section:enablededitable_sncprs|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prsret}{td}*ParametersReturns*\\{sub-section:enablededitable_prsret|text=|trigger=button}{sub-section}{sub-section:enablededitable_prsret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=retsee}{td}*Returns*\\{sub-section:enabled_ret|text=|trigger=button}{sub-section}{sub-section:enabled_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*AlsoAlso see*\\{sub-section:enablededitable_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enablededitable_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:enablededitable_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enablededitable_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:enablededitable_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enablededitable_sam|trigger=none}{code:language=javascript}
//gets the enabled state of the
field
var currStatecurrentState = forms.customer.elements.customer_id.enabled;

//sets the enabled state of the field
editable;
forms.customer.elements.customer_id.enablededitable = !currentState;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=fgcolorenabled|class=node}{tr:id=name}{td}h6.fgcolorenabled{td}{tr}{tr:id=des}{td}{sub-section:fgcolorenabled_des|text=|trigger=button}{sub-section}{sub-section:fgcolorenabled_des|trigger=none|class=sIndent}Gets or sets the foregroundenabled colorstate of a specified field., Thealso colorknown has to be set using the hexadecimal RGB value as used in HTML.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:fgcolor_snc|text=|trigger=button}{sub-section}{sub-section:fgcolor_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-as "grayed".
true \- enabled; false \- not enabled; ! \- the enabled state is inverted (the opposite).

NOTE: A disabled element cannot be selected by clicking the element (or by pressing the TAB key even if this option is supported by the operating system).

NOTE: A label or button element will not disable if the "displayType" design time property for a field is set to HTML\_AREA.

NOTE: The disabled "grayed" color is dependent on the LAF set in the Servoy Client Application Preferences. For more information see Preferences: Look And Feel in the Servoy Developer User's Guide.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:enabled_snc|text=|trigger=button}{sub-section}{sub-section:enabled_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:enabled_prs|text=|trigger=button}{sub-section}{sub-section:enabled_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:enabled_ret|text=|trigger=button}{sub-section}{sub-section:enabled_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:enabled_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enabled_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:enabled_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enabled_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:enabled_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:enabled_sam|trigger=none}{code:language=javascript}
//gets the enabled state of the field
var currState = forms.customer.elements.customer_id.enabled;

//sets the enabled state of the field
forms.customer.elements.customer_id.enabled = !currentState;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=fgcolor|class=node}{tr:id=name}{td}h6.fgcolor{td}{tr}{tr:id=des}{td}{sub-section:fgcolor_des|text=|trigger=button}{sub-section}{sub-section:fgcolor_des|trigger=none|class=sIndent}Gets or sets the foreground color of a field. The color has to be set using the hexadecimal RGB value as used in HTML.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:fgcolor_snc|text=|trigger=button}{sub-section}{sub-section:fgcolor_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:fgcolor_prs|text=|trigger=button}{sub-section}{sub-section:fgcolor_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:fgcolor_ret|text=|trigger=button}{sub-section}{sub-section:fgcolor_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:fgcolor_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:fgcolor_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:fgcolor_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:fgcolor_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:fgcolor_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:fgcolor_sam|trigger=none}{code:language=javascript}
//sets the foreground color of the field
forms.customer.elements.customer_id.fgcolor = "#000000";

//gets the foreground color of the field
var c = forms.customer.elements.customer_id.fgcolor;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=formatfont|class=node}{tr:id=name}{td}h6.formatfont{td}{tr}{tr:id=des}{td}{sub-section:formatfont_des|text=|trigger=button}{sub-section}{sub-section:formatfont_des|trigger=none|class=sIndent}Gets or sets the display formatting of a field for number and text values; does not affect the actual value stored in the database columnSets the font name, style, and size of an element. 

font name \- the name of the font family.
style \- the type of the font. (plain = 0; bold = 1; italic = 2; bold\-italic = 3).
size \- the size of the font (in points).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:formatfont_snc|text=|trigger=button}{sub-section}{sub-section:formatfont_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:formatfont_prs|text=|trigger=button}{sub-section}{sub-section:formatfont_prs|trigger=none|class=sIndent}spec -- the font name, style, size
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:formatfont_ret|text=|trigger=button}{sub-section}{sub-section:formatfont_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:formatfont_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formatfont_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:formatfont_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:formatfont_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:formatfont_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:format_sam|trigger=none}{code:language=javascript}
//sets the display formatting of the field
forms.customer.elements.customer_id.format = '###';

//gets the display formatting of the field
var format =:font_sam|trigger=none}{code:language=javascript}
forms.customer.elements.customer_id.formatsetFont('Tahoma,1,11');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=readOnlyformat|class=node}{tr:id=name}{td}h6.readOnlyformat{td}{tr}{tr:id=des}{td}{sub-section:readOnlyformat_des|text=|trigger=button}{sub-section}{sub-section:readOnlyformat_des|trigger=none|class=sIndent}Gets or sets the editable/read\-only statedisplay formatting of a field; truefor \- read\-only; false \- editable; ! \- the editable/read\-only state is inverted (the opposite). 

NOTE: A field set as read\-only can be selected by clicking (or pressing the TAB key if this option is supported by the operating system) and the field data can be copiednumber and text values; does not affect the actual value stored in the database column.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:readOnlyformat_snc|text=|trigger=button}{sub-section}{sub-section:readOnlyformat_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:readOnlyformat_prs|text=|trigger=button}{sub-section}{sub-section:readOnlyformat_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:readOnlyformat_ret|text=|trigger=button}{sub-section}{sub-section:readOnlyformat_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:readOnlyformat_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:readOnlyformat_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:readOnlyformat_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:readOnlyformat_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:readOnlyformat_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:readOnlyformat_sam|trigger=none}{code:language=javascript}
//getssets the editable/read-only statedisplay formatting of the field
var currentState =
forms.customer.elements.customer_id.readOnlyformat = '###';

//setsgets the editable/read-only statedisplay formatting of the field
var format = forms.customer.elements.customer_id.readOnly = !currentStateformat;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toolTipTextreadOnly|class=node}{tr:id=name}{td}h6.toolTipTextreadOnly{td}{tr}{tr:id=des}{td}{sub-section:toolTipTextreadOnly_des|text=|trigger=button}{sub-section}{sub-section:toolTipTextreadOnly_des|trigger=none|class=sIndent}Gets or sets the editable/read\-only state of a field; true \- read\-only; false \- editable; ! \- the tool tip text of an element; text displays when the mouse cursor hovers over an element. 
 
 NOTE: HTML should be used for multi\-line tooltips; you can also use any valid HTML tags to format tooltip texteditable/read\-only state is inverted (the opposite). 

NOTE: A field set as read\-only can be selected by clicking (or pressing the TAB key if this option is supported by the operating system) and the field data can be copied.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:toolTipTextreadOnly_snc|text=|trigger=button}{sub-section}{sub-section:toolTipTextreadOnly_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:toolTipTextreadOnly_prs|text=|trigger=button}{sub-section}{sub-section:toolTipTextreadOnly_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:toolTipTextreadOnly_ret|text=|trigger=button}{sub-section}{sub-section:toolTipTextreadOnly_ret|trigger=none|class=sIndent}[StringBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:toolTipTextreadOnly_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:toolTipTextreadOnly_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:toolTipTextreadOnly_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:toolTipTextreadOnly_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:toolTipTextreadOnly_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:toolTipTextreadOnly_sam|trigger=none}{code:language=javascript}
//gets the tooltip texteditable/read-only state of the elementfield
var toolTipcurrentState = forms.customer.elements.customer_id.toolTipTextreadOnly;

//sets the tooltip text of the element
forms.customer.elements.customer_id.toolTipText = "New tip";editable/read-only state of the field
forms.customer.elements.customer_id.toolTipTextreadOnly = "<html>This includes <b>bolded text</b> and <font color='blue'>BLUE</font> text as well."!currentState;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=transparenttitleText|class=node}{tr:id=name}{td}h6.transparenttitleText{td}{tr}{tr:id=des}{td}{sub-section:transparenttitleText_des|text=|trigger=button}{sub-section}{sub-section:transparenttitleText_des|trigger=none|class=sIndent}Gets or sets the transparency of an element; true \- transparent; false \- not transparent.
 
NOTE: transparency can be inverted using ! operator: elements.elementName.transparent = !elements.elementName.transparent;

NOTE: transparency will be mostly used for background color, a transparent element will receive the background of the element "beneath" it, a non transparent one will use its own background color=sIndent}Gets or sets the title text.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:transparenttitleText_snc|text=|trigger=button}{sub-section}{sub-section:transparenttitleText_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:transparenttitleText_prs|text=|trigger=button}{sub-section}{sub-section:transparenttitleText_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:transparenttitleText_ret|text=|trigger=button}{sub-section}{sub-section:transparenttitleText_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:transparenttitleText_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:transparenttitleText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:transparenttitleText_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:transparenttitleText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:transparenttitleText_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:transparenttitleText_sam|trigger=none}{code:language=javascript}
//gets the transparency of the element
var currentStatetitleText = forms.customer.elements.customer_id.transparent;

//sets the transparency of the element
forms.customer.elements.customer_id.transparent = !currentStatetitleText;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=visibletoolTipText|class=node}{tr:id=name}{td}h6.visibletoolTipText{td}{tr}{tr:id=des}{td}{sub-section:visibletoolTipText_des|text=|trigger=button}{sub-section}{sub-section:visibletoolTipText_des|trigger=none|class=sIndent}Gets or sets the visibilitytool tip text of an element; true \- visible; false \- not visible; ! \-text displays when the visibilitymouse statecursor ishovers invertedover (thean opposite)element. 
 
 NOTE: TheHTML visibilityshould ofbe anused element is not persistent; the state of visibility only applies to the current user in his/her current sessionfor multi\-line tooltips; you can also use any valid HTML tags to format tooltip text.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:visibletoolTipText_snc|text=|trigger=button}{sub-section}{sub-section:visibletoolTipText_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:visibletoolTipText_prs|text=|trigger=button}{sub-section}{sub-section:visibletoolTipText_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:visibletoolTipText_ret|text=|trigger=button}{sub-section}{sub-section:visibletoolTipText_ret|trigger=none|class=sIndent}[BooleanString]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:visibletoolTipText_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:visibletoolTipText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:visibletoolTipText_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:visibletoolTipText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:visibletoolTipText_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:visibletoolTipText_sam|trigger=none}{code:language=javascript}
//setsgets the tooltip text of the element
asvar toolTip visible= forms.companycustomer.elements.faxBtn.visible = truecustomer_id.toolTipText;

//getssets the visibilitytooltip text of the element
var currentState =
forms.customer.elements.customer_id.toolTipText = "New tip";
forms.companycustomer.elements.faxBtn.visible;

//sets the element as not visible when the current state is visible
forms.company.elements.faxBtn.visible = !currentStatecustomer_id.toolTipText = "<html>This includes <b>bolded text</b> and <font color='blue'>BLUE</font> text as well.";
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{tabletbody:id=functiontransparent|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroupnode}{tr:style=height: 30px;}{th:colspan=1}Method Details{thid=name}{td}h6.transparent{td}{tr}{tbody:id=getAbsoluteFormLocationY|class=node}{tr:id=name}{td}h6.getAbsoluteFormLocationYdes}{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getAbsoluteFormLocationY{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getAbsoluteFormLocationY_des|text=|trigger=button}{sub-section}{sub-section:getAbsoluteFormLocationY_des|trigger=none|class=sIndent}Returns the absolute form (designed) Y location.sub-section:transparent_des|text=|trigger=button}{sub-section}{sub-section:transparent_des|trigger=none|class=sIndent}Gets or sets the transparency of an element; true \- transparent; false \- not transparent.
 
NOTE: transparency can be inverted using ! operator: elements.elementName.transparent = !elements.elementName.transparent;

NOTE: transparency will be mostly used for background color, a transparent element will receive the background of the element "beneath" it, a non transparent one will use its own background color{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getAbsoluteFormLocationYtransparent_snc|text=|trigger=button}{sub-section}{sub-section:getAbsoluteFormLocationYtransparent_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getAbsoluteFormLocationYtransparent_prs|text=|trigger=button}{sub-section}{sub-section:getAbsoluteFormLocationYtransparent_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getAbsoluteFormLocationYtransparent_ret|text=|trigger=button}{sub-section}{sub-section:getAbsoluteFormLocationYtransparent_ret|trigger=none|class=sIndent}[Number] -- The y location of the form in pixels.Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getAbsoluteFormLocationYtransparent_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationYtransparent_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getAbsoluteFormLocationYtransparent_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationYtransparent_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getAbsoluteFormLocationYtransparent_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationYtransparent_sam|trigger=none}{code:language=javascript}
//gets the transparency of the element
var absolute_y = currentState = forms.customer.elements.customer_id.transparent;

//sets the transparency of the element
forms.customer.elements.customer_id.getAbsoluteFormLocationY()transparent = !currentState;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClientProperty|class=node}{tr:id=name}{td}h6.getClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getClientProperty{span}{span:id=iets|style=float: left;}\(key){span}td}{tr}{tbody}{tbody:id=visible|class=node}{tr:id=name}{td}h6.visible{td}{tr}{tr:id=des}{td}{sub-section:getClientPropertyvisible_des|text=|trigger=button}{sub-section}{sub-section:getClientPropertyvisible_des|trigger=none|class=sIndent}Gets or sets the specified client property for the element based on a key visibility of an element; true \- visible; false \- not visible; ! \- the visibility state is inverted (the opposite).

NOTE: Depending on The visibility of an element is not persistent; the operating system, a user interface property name may be availablestate of visibility only applies to the current user in his/her current session.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClientPropertyvisible_snc|text=|trigger=button}{sub-section}{sub-section:getClientPropertyvisible_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getClientPropertyvisible_prs|text=|trigger=button}{sub-section}{sub-section:getClientPropertyvisible_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system)
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getClientPropertyvisible_ret|text=|trigger=button}{sub-section}{sub-section:getClientPropertyvisible_ret|trigger=none|class=sIndent}[Object] -- The value of the property for specified key.Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClientPropertyvisible_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClientPropertyvisible_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClientPropertyvisible_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClientPropertyvisible_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClientPropertyvisible_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getClientProperty_sam|trigger=none}{code:language=javascript}
var property = forms.customer.elements.customer_id.getClientProperty('ToolTipText')visible_sam|trigger=none}{code:language=javascript}
//sets the element as visible
forms.company.elements.faxBtn.visible = true;

//gets the visibility of the element
var currentState = forms.company.elements.faxBtn.visible;

//sets the element as not visible when the current state is visible
forms.company.elements.faxBtn.visible = !currentState;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getDataProviderIDgetAbsoluteFormLocationY|class=node}{tr:id=name}{td}h6.getDataProviderIDgetAbsoluteFormLocationY{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[StringNumber]{span}{span:id=iets|style=float: left; font-weight: bold;}getDataProviderIDgetAbsoluteFormLocationY{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_des|text=|trigger=button}{sub-section}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_des|trigger=none|class=sIndent}GetReturns the data provider this UI element (display) is showingabsolute form (designed) Y location.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDataProviderIDgetAbsoluteFormLocationY_snc|text=|trigger=button}{sub-section}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getDataProviderIDgetAbsoluteFormLocationY_prs|text=|trigger=button}{sub-section}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDataProviderIDgetAbsoluteFormLocationY_ret|text=|trigger=button}{sub-section}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_ret|trigger=none|class=sIndent}[StringNumber] -- The data provider as String y location of the form in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDataProviderIDgetAbsoluteFormLocationY_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDataProviderIDgetAbsoluteFormLocationY_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDataProviderIDgetAbsoluteFormLocationY_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getDataProviderIDgetAbsoluteFormLocationY_sam|trigger=none}{code:language=javascript}
var absolute_y = forms.customer.elements.customer_id.getDataProviderIDgetAbsoluteFormLocationY();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getElementTypegetClientProperty|class=node}{tr:id=name}{td}h6.getElementTypegetClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[StringObject]{span}{span:id=iets|style=float: left; font-weight: bold;}getElementTypegetClientProperty{span}{span:id=iets|style=float: left;}\(key){span}{td}{tr}{tr:id=des}{td}{sub-section:getElementTypegetClientProperty_des|text=|trigger=button}{sub-section}{sub-section:getElementTypegetClientProperty_des|trigger=none|class=sIndent}ReturnsGets the specified client property for the element based on a key.

NOTE: Depending on the typeoperating ofsystem, a specified element user interface property name may be available.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getElementTypegetClientProperty_snc|text=|trigger=button}{sub-section}{sub-section:getElementTypegetClientProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getElementTypegetClientProperty_prs|text=|trigger=button}{sub-section}{sub-section:getElementTypegetClientProperty_prs|trigger=none|class=sIndent}sIndent}\{[Object]} key -- user interface key (depends on operating system)
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getElementTypegetClientProperty_ret|text=|trigger=button}{sub-section}{sub-section:getElementTypegetClientProperty_ret|trigger=none|class=sIndent}[StringObject] -- The display typevalue of the property elementfor asspecified Stringkey.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getElementTypegetClientProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getElementTypegetClientProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getElementTypegetClientProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getElementTypegetClientProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getElementTypegetClientProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getElementTypegetClientProperty_sam|trigger=none}{code:language=javascript}
var etproperty = forms.customer.elements.customer_id.getElementTypegetClientProperty('ToolTipText');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHeightgetDataProviderID|class=node}{tr:id=name}{td}h6.getHeightgetDataProviderID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[NumberString]{span}{span:id=iets|style=float: left; font-weight: bold;}getHeightgetDataProviderID{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getHeightgetDataProviderID_des|text=|trigger=button}{sub-section}{sub-section:getHeight_des|trigger=none|class=sIndent}Returns the height of the current element. 
NOTE: getHeight() can be used with getWidth() to set the size of an element using the setSize function. For example:

//returns the width (w) and height (h)
var w = forms.company.elements.faxBtn.getWidth();
var h = forms.company.elements.faxBtn.getHeight();
 
//sets the new size
forms.company.elements.faxBtn.setSize(w,h);

//sets the new size and adds 1 px to both the width and height
forms.company.elements.faxBtn.setSize(w+1,h+1);getDataProviderID_des|trigger=none|class=sIndent}Get the data provider this UI element (display) is showing.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getHeightgetDataProviderID_snc|text=|trigger=button}{sub-section}{sub-section:getHeightgetDataProviderID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getHeightgetDataProviderID_prs|text=|trigger=button}{sub-section}{sub-section:getHeightgetDataProviderID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getHeightgetDataProviderID_ret|text=|trigger=button}{sub-section}{sub-section:getHeightgetDataProviderID_ret|trigger=none|class=sIndent}[NumberString] -- The heightdata ofprovider the element in pixelsas String.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getHeightgetDataProviderID_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getHeightgetDataProviderID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getHeightgetDataProviderID_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getHeightgetDataProviderID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getHeightgetDataProviderID_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getHeightgetDataProviderID_sam|trigger=none}{code:language=javascript}
var ht = forms.customer.elements.customer_id.getHeightgetDataProviderID();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLabelForElementNames|class=node}{tr:id=name}{td}h6.getLabelForElementNames{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getLabelForElementNames{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getLabelForElementNames_des|text=|trigger=button}{sub-section}{sub-section:getLabelForElementNames_des|trigger=none|class=sIndent}Returns an Array of label element names that has this field filled in as the labelFor.{sub-section}{td}{tr}{builder-show:permission=edittr}{tbody}{tbody:id=getElementType|class=node}{tr:id=name}{td}h6.getElementType{td}{tr}{tr:id=sncsig}{td}*Since*\\{sub-section:getLabelForElementNames_snc|text=|trigger=button}{sub-section}{sub-section:getLabelForElementNames_snc|trigger=none|class=sIndent} Replace with version info{sub-section{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getElementType{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prsdes}{td}*Parameters*\\{sub-section:getLabelForElementNamesgetElementType_prsdes|text=|trigger=button}{sub-section}{sub-section:getLabelForElementNamesgetElementType_prsdes|trigger=none|class=sIndent}Returns the type of a specified element.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=retsnc}{td}*ReturnsSince*\\{sub-section:getLabelForElementNamesgetElementType_retsnc|text=|trigger=button}{sub-section}{sub-section:getLabelForElementNamesgetElementType_retsnc|trigger=none|class=sIndent}[String]\[] -- An array with element names. Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=seeprs}{td}*Also seeParameters*\\{sub-section:getLabelForElementNamesgetElementType_seeprs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLabelForElementNamesgetElementType_seeprs|trigger=none|class=sIndent}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:getLabelForElementNamesgetElementType_linkret|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLabelForElementNamesgetElementType_linkret|trigger=none|class=sIndent}[String] -- The display type of the element as String.{sub-section}{div}{td}{tr}{builder-show:permission=edit}{tr:id=samsee}{td}*SampleAlso see*\\{sub-section:getLabelForElementNamesgetElementType_samsee|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLabelForElementNamesgetElementType_samsee|trigger=none}{code:language=javascript}
var array =elements.name_first.getLabelForElementNames();
for (var i =0; i<array.length;i++)
{
	elements[array[i]].fgcolor = "#ff00ff";
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{sub-section}{div}{td}{tr}{tbodybuilder-show}{tbodybuilder-show:id=getLocationX|class=nodepermission=edit}{tr:id=namelink}{td}h6.getLocationX{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getLocationX{span}{span:id=iets|style=float: left;}\(){span}{td}{tr*External links*\\{sub-section:getElementType_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getElementType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=dessam}{td}td}*Sample*\\{sub-section:getLocationXgetElementType_dessam|text=|trigger=button}{sub-section}{sub-section:getLocationX_des|trigger=none|class=sIndent}Returns the x location of the current element. 

NOTE: getLocationX() can be used with getLocationY() to set the location of an element using the setLocation function. For Example:

//returns the X and Y coordinates
var x = forms.company.elements.faxBtn.getLocationX();
var y = forms.company.elements.faxBtn.getLocationY();
 
//sets the new location 10 px to the right; 10 px down from the current location
forms.company.elements.faxBtn.setLocation(x+10,y+10);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getLocationX_snc|text=|trigger=button}{sub-section}{sub-section:getLocationX_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getLocationX_prsdiv:class=sIndent}{sub-section:getElementType_sam|trigger=none}{code:language=javascript}
var et = forms.customer.elements.customer_id.getElementType();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHeight|class=node}{tr:id=name}{td}h6.getHeight{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getHeight{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getHeight_des|text=|trigger=button}{sub-section}{sub-section:getLocationXgetHeight_prsdes|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getLocationX_ret|text=|trigger=button}{sub-section}{sub-section:getLocationX_ret|trigger=none|class=sIndent}[Number] -- The x location of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getLocationX_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getLocationX_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationX_link|trigger=none}{sub-section}{divReturns the height of the current element. 
NOTE: getHeight() can be used with getWidth() to set the size of an element using the setSize function. For example:

//returns the width (w) and height (h)
var w = forms.company.elements.faxBtn.getWidth();
var h = forms.company.elements.faxBtn.getHeight();
 
//sets the new size
forms.company.elements.faxBtn.setSize(w,h);

//sets the new size and adds 1 px to both the width and height
forms.company.elements.faxBtn.setSize(w+1,h+1);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=samsnc}{td}*SampleSince*\\{sub-section:getLocationXgetHeight_samsnc|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationX_sam|trigger=none}{code:language=javascript}
var x = forms.customer.elements.customer_id.getLocationX();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLocationY|class=node}{tr:id=name}{td}h6.getLocationY{td}{trsection:getHeight_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sigprs}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getLocationY{span}{span:id=iets|style=float: left;}\(){span*Parameters*\\{sub-section:getHeight_prs|text=|trigger=button}{sub-section}{sub-section:getHeight_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=desret}{td}*Returns*\\{sub-section:getLocationYgetHeight_desret|text=|trigger=button}{sub-section}{sub-section:getLocationYgetHeight_desret|trigger=none|class=sIndent}Returns the y location of the current element. 

NOTE: getLocationY() can be used with getLocationX() to set the location of an element using the setLocation function. For Example:

//returns the X and Y coordinates
var x = forms.company.elements.faxBtn.getLocationX();
var y = forms.company.elements.faxBtn.getLocationY();

//sets the new location 10 px to the right; 10 px down from the current location
forms.company.elements.faxBtn.setLocation(x+10,y+10);[Number] -- The height of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=sncsee}{td}*SinceAlso see*\\{sub-section:getLocationYgetHeight_sncsee|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetHeight_sncsee|trigger=none|class=sIndent} Replace with version info{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prslink}{td}*ParametersExternal links*\\{sub-section:getLocationYgetHeight_prslink|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetHeight_prslink|trigger=none|class=sIndent}{sub-section}{div}{td}{tr}{builder-show}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:getLocationYgetHeight_retsam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetHeight_retsam|trigger=none|class=sIndent}[Number] -- The y location of the element in pixels.{sub-section}{code:language=javascript}
var ht = forms.customer.elements.customer_id.getHeight();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{builder-show:permission=edittbody:id=getLabelForElementNames|class=node}{tr:id=see}name}{td}h6.getLabelForElementNames{td}*Also see*\\{sub-section:getLocationY_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getLabelForElementNames{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=linkdes}{td}*External links*\\{sub-section:getLocationYgetLabelForElementNames_linkdes|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetLabelForElementNames_linkdes|trigger=none|class=sIndent}Returns an Array of label element names that has this field filled in as the labelFor.{sub-section}{div}{td}{tr}{builder-show:permission=edit}{tr:id=samsnc}{td}*SampleSince*\\{sub-section:getLocationYgetLabelForElementNames_samsnc|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetLabelForElementNames_samsnc|trigger=none}{code:language=javascript|class=sIndent} varReplace ywith =  forms.customer.elements.customer_id.getLocationY();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{tdversion info{sub-section}{td}{tr}{tbodybuilder-show}{tbodybuilder-show:id=getName|class=nodepermission=edit}{tr:id=nameprs}{td}h6.getName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getName{span}{span:id=iets|style=float: left;}\(){span*Parameters*\\{sub-section:getLabelForElementNames_prs|text=|trigger=button}{sub-section}{sub-section:getLabelForElementNames_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=desret}{td}*Returns*\\{sub-section:getNamegetLabelForElementNames_desret|text=|trigger=button}{sub-section}{sub-section:getNamegetLabelForElementNames_desret|trigger=none|class=sIndent}Returns the name of an element. (may be null as well)[String]\[] -- An array with element names.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=sncsee}{td}*SinceAlso see*\\{sub-section:getNamegetLabelForElementNames_sncsee|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getNamegetLabelForElementNames_sncsee|trigger=none|class=sIndent} Replace with version info{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prslink}{td}*ParametersExternal links*\\{sub-section:getNamegetLabelForElementNames_prslink|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getNamegetLabelForElementNames_prslink|trigger=none|class=sIndent}{sub-section}{div}{td}{tr}{builder-show}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:getNamegetLabelForElementNames_retsam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getNamegetLabelForElementNames_retsam|trigger=none|class=sIndent}[String] -- The name of the element.}{code:language=javascript}
var array =elements.name_first.getLabelForElementNames();
for (var i =0; i<array.length;i++)
{
	elements[array[i]].fgcolor = "#ff00ff";
}
{code}{sub-section}{div}{td}{tr}{builder-showtr:permissionclass=editlastDetailRow}{tr:id=seetd}{td}*Also see*\\{sub-section:getName_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getName_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getName_sam{tr}{tbody}{tbody:id=getLocationX|class=node}{tr:id=name}{td}h6.getLocationX{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getLocationX{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getLocationX_des|text=|trigger=button}{sub-section}{div:sub-section:getLocationX_des|trigger=none|class=sIndent}{sub-section:getName_sam|trigger=none}{code:language=javascript}
var nameReturns the x location of the current element. 

NOTE: getLocationX() can be used with getLocationY() to set the location of an element using the setLocation function. For Example:

//returns the X and Y coordinates
var x = forms.customercompany.elements.customer_idfaxBtn.getNamegetLocationX();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getTitleText|class=node}{tr:id=name}{td}h6.getTitleText{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getTitleText{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getTitleText_des|text=|trigger=button}{sub-section}{sub-section:getTitleText_des|trigger=none|class=sIndent}Get the title text.var y = forms.company.elements.faxBtn.getLocationY();
 
//sets the new location 10 px to the right; 10 px down from the current location
forms.company.elements.faxBtn.setLocation(x+10,y+10);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getTitleTextgetLocationX_snc|text=|trigger=button}{sub-section}{sub-section:getTitleTextgetLocationX_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getTitleTextgetLocationX_prs|text=|trigger=button}{sub-section}{sub-section:getTitleTextgetLocationX_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getTitleTextgetLocationX_ret|text=|trigger=button}{sub-section}{sub-section:getTitleTextgetLocationX_ret|trigger=none|class=sIndent}[StringNumber] -- The title text x location of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getTitleTextgetLocationX_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getTitleTextgetLocationX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getTitleTextgetLocationX_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getTitleTextgetLocationX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getTitleTextgetLocationX_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getTitleTextgetLocationX_sam|trigger=none}{code:language=javascript}
var titleTextx = forms.customer.elements.customer_id.getTitleTextgetLocationX();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWidthgetLocationY|class=node}{tr:id=name}{td}h6.getWidthgetLocationY{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getWidthgetLocationY{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getWidthgetLocationY_des|text=|trigger=button}{sub-section}{sub-section:getWidthgetLocationY_des|trigger=none|class=sIndent}Returns the y widthlocation of the current element. 

NOTE: getWidthgetLocationY() can be used with getHeightgetLocationX() to set the sizelocation of an element using the setSizesetLocation function. For Example:

 //returns the widthX (w) and height (h)
Y coordinates
var wx = forms.company.elements.faxBtn.getWidthgetLocationX();
 var hy = forms.company.elements.faxBtn.getHeightgetLocationY();


 //sets the new sizelocation  forms.company.elements.faxBtn.setSize(w,h);
 
 //sets10 px to the newright; size and adds 1 10 px todown bothfrom the widthcurrent and heightlocation
 forms.company.elements.faxBtn.setSizesetLocation(wx+110,hy+110);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getWidthgetLocationY_snc|text=|trigger=button}{sub-section}{sub-section:getWidthgetLocationY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getWidthgetLocationY_prs|text=|trigger=button}{sub-section}{sub-section:getWidthgetLocationY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getWidthgetLocationY_ret|text=|trigger=button}{sub-section}{sub-section:getWidthgetLocationY_ret|trigger=none|class=sIndent}[Number] -- The widthy location of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getWidthgetLocationY_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWidthgetLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getWidthgetLocationY_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWidthgetLocationY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWidthgetLocationY_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:getWidthgetLocationY_sam|trigger=none}{code:language=javascript}
var wy =  forms.customer.elements.customer_id.getWidthgetLocationY();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=putClientPropertygetName|class=node}{tr:id=name}{td}h6.putClientPropertygetName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void[String]{span}{span:id=iets|style=float: left; font-weight: bold;}putClientPropertygetName{span}{span:id=iets|style=float: left;}\(key, value){span}{td}{tr}{tr:id=des}{td}{sub-section:putClientPropertygetName_des|text=|trigger=button}{sub-section}{sub-section:putClientPropertygetName_des|trigger=none|class=sIndent}SetsReturns the valuename forof thean specified element client property key. (may NOTE:be Dependingnull on the operating system, a user interface property name may be available.as well){sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:putClientPropertygetName_snc|text=|trigger=button}{sub-section}{sub-section:putClientPropertygetName_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:putClientPropertygetName_prs|text=|trigger=button}{sub-section}{sub-section:putClientPropertygetName_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system)
\{[Object]} value -- a predefined value for the key
=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:putClientPropertygetName_ret|text=|trigger=button}{sub-section}{sub-section:putClientPropertygetName_ret|trigger=none|class=sIndent}void[String] -- The name of the element.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:putClientPropertygetName_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:putClientPropertygetName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:putClientPropertygetName_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:putClientPropertygetName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:putClientPropertygetName_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:putClientPropertygetName_sam|trigger=none}{code:language=javascript}
var name = forms.customer.elements.customer_id.putClientProperty('ToolTipText','some text'getName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=requestFocusgetWidth|class=node}{tr:id=name}{td}h6.requestFocusgetWidth{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}requestFocusgetWidth{span}{span:id=iets|style=float: left;}\(\[mustExecuteOnFocusGainedMethod\]){span}{td}{tr}{tr:id=des}{td}{sub-section:requestFocusgetWidth_des|text=|trigger=button}{sub-section}{sub-section:requestFocusgetWidth_des|trigger=none|class=sIndent}RequestsReturns the focuswidth of forthe ancurrent element; can skip. 

NOTE: getWidth() can be used with getHeight() to set the onFocusGainedsize eventof for an element by using requestFocus(false). 
When focus is requested on a text field, a text cursor will be displayed in the specified field.

NOTE: This function is for field elements only; for more information about the optional parameter, see the onFocusGained design time property in the section on Fields.using the setSize function. For Example:

 //returns the width (w) and height (h)
 var w = forms.company.elements.faxBtn.getWidth();
 var h = forms.company.elements.faxBtn.getHeight();
 
 //sets the new size
 forms.company.elements.faxBtn.setSize(w,h);
 
 //sets the new size and adds 1 px to both the width and height
 forms.company.elements.faxBtn.setSize(w+1,h+1);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:requestFocusgetWidth_snc|text=|trigger=button}{sub-section}{sub-section:requestFocusgetWidth_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:requestFocusgetWidth_prs|text=|trigger=button}{sub-section}{sub-section:requestFocusgetWidth_prs|trigger=none|class=sIndent}\[mustExecuteOnFocusGainedMethod\] -- true \- to execute the onFocusGained method;  false \- to prevent the onFocusGained method from executing, default is true (if not specified).
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:requestFocusgetWidth_ret|text=|trigger=button}{sub-section}{sub-section:requestFocusgetWidth_ret|trigger=none|class=sIndent}void[Number] -- The width of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:requestFocusgetWidth_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:requestFocusgetWidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:requestFocusgetWidth_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:requestFocusgetWidth_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:requestFocusgetWidth_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:requestFocusgetWidth_sam|trigger=none}{code:language=javascript}
//requestsvar the focus for the element
//prevents the onFocusGained method from executing
w = forms.customer.elements.customer_id.requestFocusgetWidth(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setBorderputClientProperty|class=node}{tr:id=name}{td}h6.setBorderputClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setBorderputClientProperty{span}{span:id=iets|style=float: left;}\(spec){span}{td}{tr}{tr:id=des}{td}{sub-section:setBorder_des|text=|trigger=button}{sub-section}{sub-section:setBorder_des|trigger=none|class=sIndent}Sets the border attribute(s) of a specified element. 

The border attributes:

borderType \- EmptyBorder, EtchedBorder, BevelBorder, LineBorder, TitleBorder, MatteBorder, SpecialMatteBorder.
size \- (numeric value) for: bottom, left, right, top.
color \- (hexadecimal value) for: bottom, left, right, top.
dash pattern \- (numeric value) for selected side(s).
rounding radius \- (numeric value) for selected side(s).

NOTE: Use the same value(s) and order of attribute(s) from the element design time property "borderType" left;}\(key, value){span}{td}{tr}{tr:id=des}{td}{sub-section:putClientProperty_des|text=|trigger=button}{sub-section}{sub-section:putClientProperty_des|trigger=none|class=sIndent}Sets the value for the specified element client property key.

NOTE: Depending on the operating system, a user interface property name may be available.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setBorderputClientProperty_snc|text=|trigger=button}{sub-section}{sub-section:setBorderputClientProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setBorderputClientProperty_prs|text=|trigger=button}{sub-section}{sub-section:setBorderputClientProperty_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system)
\{[StringObject]} specvalue -- a predefined value for the border attributeskey
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setBorderputClientProperty_ret|text=|trigger=button}{sub-section}{sub-section:setBorderputClientProperty_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setBorderputClientProperty_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setBorderputClientProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setBorderputClientProperty_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setBorderputClientProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setBorderputClientProperty_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setBorder_sam|trigger=none}{code:language=javascript}
//sets the border type to "LineBorder"
//sets a 1 px line width for the bottom and left side of the border
//sets the hexadecimal color of the border to "#ccffcc"
var b =putClientProperty_sam|trigger=none}{code:language=javascript}
forms.customer.elements.customer_id.setBorderputClientProperty('LineBorder,1,#ccffccToolTipText','some text');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setFontrequestFocus|class=node}{tr:id=name}{td}h6.setFontrequestFocus{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setFontrequestFocus{span}{span:id=iets|style=float: left;}\(spec\[mustExecuteOnFocusGainedMethod\]){span}{td}{tr}{tr:id=des}{td}{sub-section:setFontrequestFocus_des|text=|trigger=button}{sub-section}{sub-section:setFontrequestFocus_des|trigger=none|class=sIndent}SetsRequests the font name, style, and size of focus for an element; can skip the onFocusGained event for an element by using requestFocus(false). 
When fontfocus nameis \-requested theon namea oftext thefield, fonta family.text stylecursor \-will thebe typedisplayed ofin the specified font. (plain = 0; bold = 1; italic = 2; bold\-italic = 3).
size \- the size of the font (in points)field.

NOTE: This function is for field elements only; for more information about the optional parameter, see the onFocusGained design time property in the section on Fields.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setFontrequestFocus_snc|text=|trigger=button}{sub-section}{sub-section:setFontrequestFocus_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setFontrequestFocus_prs|text=|trigger=button}{sub-section}{sub-section:setFontrequestFocus_prs|trigger=none|class=sIndent}\{[String]} spec -- the font name, style, sizemustExecuteOnFocusGainedMethod\] -- true \- to execute the onFocusGained method;  false \- to prevent the onFocusGained method from executing, default is true (if not specified).
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setFontrequestFocus_ret|text=|trigger=button}{sub-section}{sub-section:setFontrequestFocus_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setFontrequestFocus_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setFontrequestFocus_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setFontrequestFocus_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setFontrequestFocus_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setFontrequestFocus_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setFontrequestFocus_sam|trigger=none}{code:language=javascript}
//requests the focus for the element
//prevents the onFocusGained method from executing
forms.customer.elements.customer_id.setFont('Tahoma,1,11'requestFocus(false);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setLocation|class=node}{tr:id=name}{td}h6.setLocation{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setLocation{span}{span:id=iets|style=float: left;}\(x, y){span}{td}{tr}{tr:id=des}{td}{sub-section:setLocation_des|text=|trigger=button}{sub-section}{sub-section:setLocation_des|trigger=none|class=sIndent}Sets the location of an element. It takes as input the X (horizontal) and Y (vertical) coordinates \- starting from the TOP LEFT side of the screen.

NOTE: getLocationX() can be used with getLocationY() to return the current location of an element; then use the X and Y coordinates with the setLocation function to set a new location. For Example:

 //returns the X and Y coordinates
 var x = forms.company.elements.faxBtn.getLocationX();
 var y = forms.company.elements.faxBtn.getLocationY();
 
 //sets the new location 10 px to the right; 10 px down from the current location
 forms.company.elements.faxBtn.setLocation(x+10,y+10);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setLocation_snc|text=|trigger=button}{sub-section}{sub-section:setLocation_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setLocation_prs|text=|trigger=button}{sub-section}{sub-section:setLocation_prs|trigger=none|class=sIndent}\{[Number]} x -- the X coordinate of the element in pixels.
\{[Number]} y -- the Y coordinate of the element in pixels.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setLocation_ret|text=|trigger=button}{sub-section}{sub-section:setLocation_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setLocation_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setLocation_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setLocation_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setLocation_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setLocation_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setLocation_sam|trigger=none}{code:language=javascript}
forms.customer.elements.customer_id.setLocation(200,200);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setSize|class=node}{tr:id=name}{td}h6.setSize{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setSize{span}{span:id=iets|style=float: left;}\(width, height){span}{td}{tr}{tr:id=des}{td}{sub-section:setSize_des|text=|trigger=button}{sub-section}{sub-section:setSize_des|trigger=none|class=sIndent}Sets the size of the field. It takes as input the width and the height. 

NOTE: getWidth() can be used with getHeight() to set the size of an element using the setSize function. For Example: 

//returns the width (w) and height (h)
var w = forms.company.elements.faxBtn.getWidth();
var h = forms.company.elements.faxBtn.getHeight();

//sets the new size
forms.company.elements.faxBtn.setSize(w,h);

//sets the new size and adds 1 px to both the width and height
forms.company.elements.faxBtn.setSize(w+1,h+1);{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setSize_snc|text=|trigger=button}{sub-section}{sub-section:setSize_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:setSize_prs|text=|trigger=button}{sub-section}{sub-section:setSize_prs|trigger=none|class=sIndent}\{[Number]} width -- the width of the element in pixels.
\{[Number]} height -- the height of the element in pixels.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:setSize_ret|text=|trigger=button}{sub-section}{sub-section:setSize_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:setSize_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setSize_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:setSize_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setSize_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setSize_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:setSize_sam|trigger=none}{code:language=javascript}
forms.customer.elements.customer_id.setSize(20,30);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}