Child pages
  • RuntimeDataButton

Versions Compared

Key

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

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

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{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}[#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]
Gets or 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 an element for number and text values; does not affect the actual value stored in the database column.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#imageURL]
Gets/Sets the image displayed on a button or label; based on URL.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#mnemonic]
Gets or sets the specified character(s) \- typically an underlined letter\- used with/without the modifier key(s) for the label, button or image.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#rolloverImageURL]
Gets/Sets the image displayed on a button or label roll over; based on URL.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#toolTipText]
Gets or sets the tool 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 sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[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}[Object]{td}{td}[#getDesignTimeProperty]\()
Get a design\-time property of an element.{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}[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}byte[]{td}{td}[#getThumbnailJPGImage]\()
Returns the image data in .{td}{tr}{tbody}{tbody}{tr}{td}byte[]{td}{td}[#getThumbnailJPGImage]\(width, height)
Returns the image data in .{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]\()
Request the focus in this element.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#requestFocus]\(mustExecuteOnFocusGainedMethod)
Request the focus in this 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 an element.{td}{tr}{tbody}{table}\\ 

{table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:bgcolor_des|trigger=button|text=}{sub-section}{sub-section:bgcolor_des|trigger=none|class=sIndent}GetsReplace or sets the background color of a field. The color has to be set using the hexadecimal RGB value as used in HTML.
It only returns it's correct value if it was explicitly set.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:bgcolor_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=border|class=node}{tr:id=name}{td}h6.border{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:border_des|trigger=button|text=}{sub-section}{sub-section:border_des|trigger=none|class=sIndent}GetsReplace or 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).

It only returns it's correct value if it was explicitly set.

NOTE: Use the same value(s) and order of attribute(s) from the element design time property "borderType".{sub-section}{td}{trwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:border_snc|trigger=button|text=}{sub-section}{sub-section:border_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:border_sncprs|trigger=button|text=}{sub-section}{sub-section:border_sncprs|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prsret}{td}*ParametersReturns*\\{sub-section:border_prsret|trigger=button|text=}{sub-section}{sub-section:border_prsret|trigger=none|class=sIndent}spec -- the border attributes
[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=retsee}{td}*ReturnsAlso see*\\{sub-section:border_retsee|trigger=button|text=}{sub-section}{div:class=sIndent}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:border_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:border_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:border_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:border_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:border_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"
forms.customer.elements.customer_id.border = 'LineBorder,1,#ccffcc';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=enabled|class=node}{tr:id=name}{td}h6.enabled{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:enabled_des|trigger=button|text=}{sub-section}{sub-section:enabled_des|trigger=none|class=sIndent}GetsReplace or sets the enabled state of a specified field, also known 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:permissionwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:enabled_snc|trigger=button|text=}{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=sncprs}{td}*SinceParameters*\\{sub-section:enabled_sncprs|trigger=button|text=}{sub-section}{sub-section:enabled_sncprs|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-showtr:permission=edit}{tr:id=prsid=ret}{td}*Parameters*\\{sub-section:enabled_prs|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:fgcolor_des|trigger=button|text=}{sub-section}{sub-section:fgcolor_des|trigger=none|class=sIndent}GetsReplace or sets the foreground color of a field. The color has to be set using the hexadecimal RGB value as used in HTML.
It only returns it's correct value if it was explicitly set.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:fgcolor_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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=font|class=node}{tr:id=name}{td}h6.font{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:font_des|trigger=button|text=}{sub-section}{sub-section:font_des|trigger=none|class=sIndent}GetsReplace or sets 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). 

It only returns it's correct value if it was explicitly set.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:font_snc|trigger=button|text=}{sub-section}{sub-section:font_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:font_prs|trigger=button|text=}{sub-section}{sub-section:font_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:font_ret|trigger=button|text=}{sub-section}{sub-section:font_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:font_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:font_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:font_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:font_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:font_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:font_sam|trigger=none}{code:language=javascript}
forms.customer.elements.customer_id.font = 'Tahoma,1,11';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=format|class=node}{tr:id=name}{td}h6.format{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:format_des|trigger=button|text=}{sub-section}{sub-section:format_des|trigger=none|class=sIndent}GetsReplace or sets the display formatting of an element for number and text values; does not affect the actual value stored in the database column.

There are different options for the different dataprovider types that are assigned to this field.
For Integer fields, there is a display and an edit format, using http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html and the max (string) length can be set.
For Text/String fields, there are options to force uppercase,lowercase or only numbers. Or a mask can be set that restrict the input the pattern chars can be found here: http://docs.oracle.com/javase/7/docs/api/javax/swing/text/MaskFormatter.html
A mask can have a placehoder (what is shown when there is no data) and if the data must be stored raw (without literals of the mask). A max text length can also be set to force
the max text length input, this doesn't work on mask because that max length is controlled with the mask.
For Date fields a display and edit format can be set by using a pattern from here: http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html, you can also say this must behave like a mask (the edit format)
A mask only works with when the edit format is exactly that mask (1 char is 1 number/char), because for example MM then only 2 numbers are allowed MMM that displays the month as a string is not supported as a mask.
Some examples are "dd\-MM\-yyyy", "MM\-dd\-yyyy", etc.
The format property is also used to set the UI Converter, this means that you can convert the value object to something else before it gets set into the field, this can also result in a type change of the data. 
So a string in scripting/db is converted to a integer in the ui, then you have to set an integer format.
It only returns it's correct value if it was explicitly set, otherwise null.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:format_snc|trigger=button|text=}{sub-section}{sub-section:format_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:format_prs|trigger=button|text=}{sub-section}{sub-section:format_prs|trigger=with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:format_snc|trigger=button|text=}{sub-section}{sub-section:format_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:format_prs|trigger=button|text=}{sub-section}{sub-section:format_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:format_ret|trigger=button|text=}{sub-section}{sub-section:format_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:format_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:format_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:format_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:format_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:format_sam|trigger=button|text=}{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 = forms.customer.elements.customer_id.format;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=imageURL|class=node}{tr:id=name}{td}h6.imageURL{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:imageURL_des|trigger=button|text=}{sub-section}{sub-section:imageURL_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:imageURL_snc|trigger=button|text=}{sub-section}{sub-section:imageURL_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:imageURL_prs|trigger=button|text=}{sub-section}{sub-section:imageURL_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:formatimageURL_ret|trigger=button|text=}{sub-section}{sub-section:formatimageURL_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:formatimageURL_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:formatimageURL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:formatimageURL_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:formatimageURL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:formatimageURL_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:formatimageURL_sam|trigger=none}{code:language=javascript}
//sets the display formatting of the fielddynamically sets an image displayed on a button or label
forms.customer.elements.customer_id.imageURL = "http://www.servoy.com/images/test.gif";

//sets an image from your own image library
forms.customer.elements.customer_id.formatimageURL = '###'"media:///arrow.gif";

//getsloads thean displayimage formatting(BLOB) offrom thea field
var format = in a selected record into HTML
forms.customer.elements.customer_id.formatimageURL = 'media:///servoy_blobloader?datasource='+controller.getDataSource()+'&dataprovider=image_data&mimetype=image/jpeg&rowid1=2';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=imageURLmnemonic|class=node}{tr:id=name}{td}h6.imageURLmnemonic{td}{tr}{trbuilder-show:permission=edit}{tr:id=des}{td}{sub-section:imageURLmnemonic_des|trigger=button|text=}{sub-section}{sub-section:imageURLmnemonic_des|trigger=none|class=sIndent}Gets/SetsReplace the image displayed on a button or label; based on URL.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:imageURLmnemonic_snc|trigger=button|text=}{sub-section}{sub-section:imageURLmnemonic_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:imageURLmnemonic_prs|trigger=button|text=}{sub-section}{sub-section:imageURLmnemonic_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:imageURLmnemonic_ret|trigger=button|text=}{sub-section}{sub-section:imageURLmnemonic_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:imageURLmnemonic_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:imageURLmnemonic_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:imageURLmnemonic_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:imageURLmnemonic_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:imageURLmnemonic_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:imageURLmnemonic_sam|trigger=none}{code:language=javascript}
//dynamicallygets setsthe anmnemonic imageof displayedthe onelement
avar button or labelmy_mnemoic = forms.customer.elements.customer_id.imageURL = "http://www.servoy.com/images/test.gif"mnemonic;

//sets anthe imagemnemonic fromof yourthe own imageelement
library
forms.customer.elements.customer_id.imageURLmnemonic = "media:///arrow.gif";

//loads an image (BLOB) from a field in a selected record into HTML
forms.customer.elements.customer_id.imageURL = 'media:///servoy_blobloader?datasource='+controller.getDataSource()+'&dataprovider=image_data&mimetype=image/jpeg&rowid1=2';
{code}{sub-section}'f';
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=mnemonicrolloverImageURL|class=node}{tr:id=name}{td}h6.mnemonicrolloverImageURL{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:mnemonicrolloverImageURL_des|trigger=button|text=}{sub-section}{sub-section:mnemonicrolloverImageURL_des|trigger=none|class=sIndent}GetsReplace or sets the specified character(s) \- typically an underlined letter\- used with/without the modifier key(s) for the label, button or image. 

Modifiers key values: 
1 SHIFT 
2 CTRL 
4 Meta/CMD (Macintosh)
8 ALT(Windows, Unix); OPTION (Macintosh) 

NOTE: A mnemonic is usually a single key used with/without the CTRL, CMD, SHIFT, ALT, or OPTION key(s) to activate a menu item or command \- depending, in part on whether the menmonic applies in a command line or graphic interface. For one description, you can refer to this web page: http://msdn.microsoft.com/en\-us/library/bb158536.aspx or perform a search in a web browser search engine using the criteria "mnemonic".
NOTE2: Mnemonic is only supported in Smart Client.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:rolloverImageURL_snc|trigger=button|text=}{sub-section}{sub-section:rolloverImageURL_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:rolloverImageURL_prs|trigger=button|text=}{sub-section}{sub-section:rolloverImageURL_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=sncret}{td}*SinceReturns*\\{sub-section:mnemonicrolloverImageURL_sncret|trigger=button|text=}{sub-section}{sub-section:mnemonicrolloverImageURL_sncret|trigger=none|class=sIndent} Replace with version info[String]{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prssee}{td}*ParametersAlso see*\\{sub-section:mnemonicrolloverImageURL_prssee|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:mnemonicrolloverImageURL_prssee|trigger=none|class=sIndent}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=retlink}{td}*ReturnsExternal links*\\{sub-section:mnemonicrolloverImageURL_retlink|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:mnemonicrolloverImageURL_retlink|trigger=none|class=sIndent}[String]{sub-section}{tddiv}{td}{tr}{builder-show:permission=edit}{tr:id=seesam}{td}*Also seeSample*\\{sub-section:mnemonicrolloverImageURL_seesam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:mnemonicrolloverImageURL_seesam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:mnemonic_link|trigger=button|text=code:language=javascript}
//dynamically sets a roll over image displayed on a button or label
forms.customer.elements.customer_id.rolloverImageURL = "http://www.servoy.com/images/test.gif";

//sets an image from your own image library
forms.customer.elements.customer_id.rolloverImageURL = "media:///arrow.gif";

//loads an image (BLOB) from a field in a selected record into HTML
forms.customer.elements.customer_id.rolloverImageURL = 'media:///servoy_blobloader?datasource='+controller.getDataSource()+'&dataprovider=image_data&mimetype=image/jpeg&rowid1=2';
{code}{sub-section}{div}{td}{tr}{tr:class=sIndentlastDetailRow}{td}{td}{tr}{tbody}{sub-section:mnemonic_link|trigger=none}{sub-section}{div}tbody:id=toolTipText|class=node}{tr:id=name}{td}h6.toolTipText{td}{tr}{builder-show:permission=edit}{tr:id=samdes}{td}*Sample*\\{{sub-section:mnemonictoolTipText_samdes|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:mnemonictoolTipText_samdes|trigger=none}{code:language=javascript}
//gets the mnemonic of the element
var my_mnemoic = forms.customer.elements.customer_id.mnemonic;

//sets the mnemonic of the element
forms.customer.elements.customer_id.mnemonic = 'f';
{code}{sub-section}{div|class=sIndent}Replace with description{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=rolloverImageURL|class=nodebuilder-show}{builder-show:permission=edit}{tr:id=namesnc}{td}h6.rolloverImageURL{td}{tr}{tr:id=des}{td}{sub-section:rolloverImageURL_des|trigger=button|text=}{sub-section}{sub-section:rolloverImageURL_des|trigger=none|class=sIndent}Gets/Sets the image displayed on a button or label roll over; based on URL.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:rolloverImageURL*Since*\\{sub-section:toolTipText_snc|trigger=button|text=}{sub-section}{sub-section:rolloverImageURLtoolTipText_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:rolloverImageURLtoolTipText_prs|trigger=button|text=}{sub-section}{sub-section:rolloverImageURLtoolTipText_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:rolloverImageURLtoolTipText_ret|trigger=button|text=}{sub-section}{sub-section:rolloverImageURLtoolTipText_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:rolloverImageURLtoolTipText_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:rolloverImageURLtoolTipText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:rolloverImageURLtoolTipText_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:rolloverImageURLtoolTipText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:rolloverImageURLtoolTipText_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:rolloverImageURLtoolTipText_sam|trigger=none}{code:language=javascript}
//dynamicallygets setsthe atooltip rolltext overof imagethe displayedelement
onvar a button or labeltoolTip = forms.customer.elements.customer_id.rolloverImageURL = "http://www.servoy.com/images/test.gif"toolTipText;

//sets anthe imagetooltip fromtext yourof ownthe imageelement
library
forms.customer.elements.customer_id.rolloverImageURLtoolTipText = "media:///arrow.gif";

//loads an image (BLOB) from a field in a selected record into HTMLNew tip";
forms.customer.elements.customer_id.rolloverImageURLtoolTipText = 'media:///servoy_blobloader?datasource='+controller.getDataSource()+'&dataprovider=image_data&mimetype=image/jpeg&rowid1=2' "<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}{tbody:id=toolTipTexttransparent|class=node}{tr:id=name}{td}h6.toolTipTexttransparent{td}{tr}{trbuilder-show:id=permission=edit}{tr:id=des}{td}{sub-section:toolTipTexttransparent_des|trigger=button|text=}{sub-section}{sub-section:toolTipTexttransparent_des|trigger=none|class=sIndent}GetsReplace or sets 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 text.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:toolTipTexttransparent_snc|trigger=button|text=}{sub-section}{sub-section:toolTipTexttransparent_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:toolTipTexttransparent_prs|trigger=button|text=}{sub-section}{sub-section:toolTipTexttransparent_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:toolTipTexttransparent_ret|trigger=button|text=}{sub-section}{sub-section:toolTipTexttransparent_ret|trigger=none|class=sIndent}[StringBoolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:toolTipTexttransparent_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:toolTipTexttransparent_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:toolTipTexttransparent_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:toolTipTexttransparent_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:toolTipTexttransparent_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:toolTipTexttransparent_sam|trigger=none}{code:language=javascript}
//gets the tooltip texttransparency of the element
var toolTipcurrentState = forms.customer.elements.customer_id.toolTipTexttransparent;

//sets the tooltiptransparency text of the element
forms.customer.elements.customer_id.toolTipTexttransparent = "New tip";
forms.customer.elements.customer_id.toolTipText = "<html>This includes <b>bolded text</b> and <font color='blue'>BLUE</font> text as well.";
{code}!currentState;
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=transparentvisible|class=node}{tr:id=name}{td}h6.transparentvisible{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:transparentvisible_des|trigger=button|text=}{sub-section}{sub-section:transparentvisible_des|trigger=none|class=sIndent}GetsReplace 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}with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:transparentvisible_snc|trigger=button|text=}{sub-section}{sub-section:transparentvisible_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:transparentvisible_prs|trigger=button|text=}{sub-section}{sub-section:transparentvisible_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:transparentvisible_ret|trigger=button|text=}{sub-section}{sub-section:transparentvisible_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:transparentvisible_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:transparentvisible_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:transparentvisible_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:transparentvisible_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:transparentvisible_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:transparentvisible_sam|trigger=none}{code:language=javascript}
//gets the transparency ofsets the element varas currentStatevisible
= forms.customercompany.elements.customer_id.transparentfaxBtn.visible = true;

//setsgets the transparencyvisibility of the element
forms.customer.elements.customer_id.transparentvar 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:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=visiblegetAbsoluteFormLocationY|class=node}{tr:id=name}{td}h6.visiblegetAbsoluteFormLocationY{td}{tr}{tr:id=dessig}{td}{sub-section:visible_des|trigger=button|text=}{sub-section}{sub-section:visible_des|trigger=none|class=sIndent}Gets or sets the visibility of an element; true \- visible; false \- not visible; ! \- the visibility state is inverted (the opposite).

NOTE: The visibility of an element is not persistent; the state of visibility only applies to the current user in his/her current session.{sub-sectionspan: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}{builder-show:permission=edit}{tr:id=sncdes}{td}*Since*\\{sub-section:visiblegetAbsoluteFormLocationY_sncdes|trigger=button|text=}{sub-section}{sub-section:visible_getAbsoluteFormLocationY_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getAbsoluteFormLocationY_snc|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationY_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:visiblegetAbsoluteFormLocationY_prs|trigger=button|text=}{sub-section}{sub-section:visiblegetAbsoluteFormLocationY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:visiblegetAbsoluteFormLocationY_ret|trigger=button|text=}{sub-section}{sub-section:visiblegetAbsoluteFormLocationY_ret|trigger=none|class=sIndent}[Boolean]Number] -- The y location of the form in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:visiblegetAbsoluteFormLocationY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:visiblegetAbsoluteFormLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:visiblegetAbsoluteFormLocationY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:visiblegetAbsoluteFormLocationY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:visiblegetAbsoluteFormLocationY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:visiblegetAbsoluteFormLocationY_sam|trigger=none}{code:language=javascript}
//sets the element as visible
forms.companyvar absolute_y = forms.customer.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}{customer_id.getAbsoluteFormLocationY();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getAbsoluteFormLocationYgetClientProperty|class=node}{tr:id=name}{td}h6.getAbsoluteFormLocationYgetClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[NumberObject]{span}{span:id=iets|style=float: left; font-weight: bold;}getAbsoluteFormLocationYgetClientProperty{span}{span:id=iets|style=float: left;}\(key){span}{td}{tr}{tr:builder-show:permission=edit}{tr:id=des}{td}{sub-section:getAbsoluteFormLocationYgetClientProperty_des|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationYgetClientProperty_des|trigger=none|class=sIndent}ReturnsReplace the absolute form (designed) Y location.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getAbsoluteFormLocationYgetClientProperty_snc|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationYgetClientProperty_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:getAbsoluteFormLocationYgetClientProperty_prs|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationYgetClientProperty_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:getAbsoluteFormLocationYgetClientProperty_ret|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationYgetClientProperty_ret|trigger=none|class=sIndent}[NumberObject] -- The yvalue location of the property formfor inspecified pixelskey.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getAbsoluteFormLocationYgetClientProperty_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationYgetClientProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getAbsoluteFormLocationYgetClientProperty_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationYgetClientProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getAbsoluteFormLocationYgetClientProperty_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationYgetClientProperty_sam|trigger=none}{code:language=javascript}
var absolute_yproperty = forms.customer.elements.customer_id.getAbsoluteFormLocationYgetClientProperty('ToolTipText');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClientPropertygetDataProviderID|class=node}{tr:id=name}{td}h6.getClientPropertygetDataProviderID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[ObjectString]{span}{span:id=iets|style=float: left; font-weight: bold;}getClientPropertygetDataProviderID{span}{span:id=iets|style=float: left;}\(key){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getClientPropertygetDataProviderID_des|trigger=button|text=}{sub-section}{sub-section:getClientPropertygetDataProviderID_des|trigger=none|class=sIndent}GetsReplace the specified client property for the element based on a key.

NOTE: Depending on the operating system, a user interface property name may be available.{sub-section}{td}{trwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClientPropertygetDataProviderID_snc|trigger=button|text=}{sub-section}{sub-section:getClientPropertygetDataProviderID_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:getClientPropertygetDataProviderID_prs|trigger=button|text=}{sub-section}{sub-section:getClientPropertygetDataProviderID_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:getClientPropertygetDataProviderID_ret|trigger=button|text=}{sub-section}{sub-section:getClientPropertygetDataProviderID_ret|trigger=none|class=sIndent}[ObjectString] -- The valuedata ofprovider the property for specified keyas String.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClientPropertygetDataProviderID_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientPropertygetDataProviderID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClientPropertygetDataProviderID_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientPropertygetDataProviderID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClientPropertygetDataProviderID_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientPropertygetDataProviderID_sam|trigger=none}{code:language=javascript}
var property = forms.customer.elements.customer_id.getClientPropertygetDataProviderID('ToolTipText');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDataProviderIDgetDesignTimeProperty|class=node}{tr:id=name}{td}h6.getDataProviderIDgetDesignTimeProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[StringObject]{span}{span:id=iets|style=float: left; font-weight: bold;}getDataProviderIDgetDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDataProviderIDgetDesignTimeProperty_des|trigger=button|text=}{sub-section}{sub-section:getDataProviderIDgetDesignTimeProperty_des|trigger=none|class=sIndent}GetReplace the data provider this UI element (display) is showing.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDataProviderIDgetDesignTimeProperty_snc|trigger=button|text=}{sub-section}{sub-section:getDataProviderIDgetDesignTimeProperty_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:getDataProviderIDgetDesignTimeProperty_prs|trigger=button|text=}{sub-section}{sub-section:getDataProviderIDgetDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDataProviderIDgetDesignTimeProperty_ret|trigger=button|text=}{sub-section}{sub-section:getDataProviderIDgetDesignTimeProperty_ret|trigger=none|class=sIndent}[String] -- The data provider as String.Object]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDataProviderIDgetDesignTimeProperty_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderIDgetDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDataProviderIDgetDesignTimeProperty_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderIDgetDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDataProviderIDgetDesignTimeProperty_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderIDgetDesignTimeProperty_sam|trigger=none}{code:language=javascript}
var prop = forms.customerorders.elements.customer_idmylabel.getDataProviderIDgetDesignTimeProperty('myprop');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDesignTimePropertygetElementType|class=node}{tr:id=name}{td}h6.getDesignTimePropertygetElementType{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[ObjectString]{span}{span:id=iets|style=float: left; font-weight: bold;}getDesignTimePropertygetElementType{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDesignTimePropertygetElementType_des|trigger=button|text=}{sub-section}{sub-section:getDesignTimePropertygetElementType_des|trigger=none|class=sIndent}GetReplace a design\-time property of an element.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getDesignTimePropertygetElementType_snc|trigger=button|text=}{sub-section}{sub-section:getDesignTimePropertygetElementType_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:getDesignTimePropertygetElementType_prs|trigger=button|text=}{sub-section}{sub-section:getDesignTimePropertygetElementType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDesignTimePropertygetElementType_ret|trigger=button|text=}{sub-section}{sub-section:getDesignTimePropertygetElementType_ret|trigger=none|class=sIndent}[Object]String] -- The display type of the element as String.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDesignTimePropertygetElementType_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimePropertygetElementType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDesignTimePropertygetElementType_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimePropertygetElementType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDesignTimePropertygetElementType_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimePropertygetElementType_sam|trigger=none}{code:language=javascript}
var propet = forms.orderscustomer.elements.mylabelcustomer_id.getDesignTimePropertygetElementType('myprop');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getElementTypegetHeight|class=node}{tr:id=name}{td}h6.getElementTypegetHeight{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[StringNumber]{span}{span:id=iets|style=float: left; font-weight: bold;}getElementTypegetHeight{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getElementTypegetHeight_des|trigger=button|text=}{sub-section}{sub-section:getElementTypegetHeight_des|trigger=none|class=sIndent}ReturnsReplace the type of a specified element.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getElementTypegetHeight_snc|trigger=button|text=}{sub-section}{sub-section:getElementTypegetHeight_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:getElementTypegetHeight_prs|trigger=button|text=}{sub-section}{sub-section:getElementTypegetHeight_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getElementTypegetHeight_ret|trigger=button|text=}{sub-section}{sub-section:getElementTypegetHeight_ret|trigger=none|class=sIndent}[StringNumber] -- The display typeheight of the element asin Stringpixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getElementTypegetHeight_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getElementTypegetHeight_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getElementTypegetHeight_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getElementTypegetHeight_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getElementTypegetHeight_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getElementTypegetHeight_sam|trigger=none}{code:language=javascript}
var etht = forms.customer.elements.customer_id.getElementTypegetHeight();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHeightgetLocationX|class=node}{tr:id=name}{td}h6.getHeightgetLocationX{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getHeightgetLocationX{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getHeightgetLocationX_des|trigger=button|text=}{sub-section}{sub-section:getHeightgetLocationX_des|trigger=none|class=sIndent}ReturnsReplace 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=snc}{td}*Since*\\{sub-section:getHeight_snc|trigger=button|text=}{sub-section}{sub-section:getHeight_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:getHeightwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getLocationX_snc|trigger=button|text=}{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_prs|trigger=button|text=}{sub-section}{sub-section:getHeightgetLocationX_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getHeightgetLocationX_ret|trigger=button|text=}{sub-section}{sub-section:getHeightgetLocationX_ret|trigger=none|class=sIndent}[Number] -- The x heightlocation of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getHeightgetLocationX_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHeightgetLocationX_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getHeightgetLocationX_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHeightgetLocationX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getHeightgetLocationX_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHeightgetLocationX_sam|trigger=none}{code:language=javascript}
var htx = forms.customer.elements.customer_id.getHeightgetLocationX();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLocationXgetLocationY|class=node}{tr:id=name}{td}h6.getLocationXgetLocationY{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getLocationXgetLocationY{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getLocationXgetLocationY_des|trigger=button|text=}{sub-section}{sub-section:getLocationXgetLocationY_des|trigger=none|class=sIndent}ReturnsReplace 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}{trwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getLocationY_snc|trigger=button|text=}{sub-section}{sub-section:getLocationY_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:getLocationXgetLocationY_sncprs|trigger=button|text=}{sub-section}{sub-section:getLocationXgetLocationY_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:getLocationXgetLocationY_prsret|trigger=button|text=}{sub-section}{sub-section:getLocationXgetLocationY_prsret|trigger=none|class=sIndent}[Number] -- The y location of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=retsee}{td}*ReturnsAlso see*\\{sub-section:getLocationXgetLocationY_retsee|trigger=button|text=}{sub-section}{sub-section:getLocationX_ret|trigger=none|div: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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationX:getLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getLocationXgetLocationY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationXgetLocationY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getLocationXgetLocationY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationXgetLocationY_sam|trigger=none}{code:language=javascript}
var xy =  forms.customer.elements.customer_id.getLocationXgetLocationY();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getLocationYgetName|class=node}{tr:id=name}{td}h6.getLocationYgetName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[NumberString]{span}{span:id=iets|style=float: left; font-weight: bold;}getLocationYgetName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getLocationYgetName_des|trigger=button|text=}{sub-section}{sub-section:getLocationYgetName_des|trigger=none|class=sIndent}ReturnsReplace 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);{sub-section}{td}{tr}{builder-show:permission=editwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getName_snc|trigger=button|text=}{sub-section}{sub-section:getName_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:getLocationYgetName_sncprs|trigger=button|text=}{sub-section}{sub-section:getLocationYgetName_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:getLocationYgetName_prsret|trigger=button|text=}{sub-section}{sub-section:getLocationYgetName_prsret|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getLocationY_ret|trigger=button|text=}{sub-section}{sub-section:getLocationY_ret|trigger=none|class=sIndent}[Number] -- The y location [String] -- The name of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getLocationYgetName_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetName_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getLocationYgetName_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetName_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getLocationYgetName_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationYgetName_sam|trigger=none}{code:language=javascript}
var yname =  forms.customer.elements.customer_id.getLocationYgetName();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getNamegetThumbnailJPGImage|class=node}{tr:id=name}{td}h6.getNamegetThumbnailJPGImage{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}byte[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getNamegetThumbnailJPGImage{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getNamegetThumbnailJPGImage_des|trigger=button|text=}{sub-section}{sub-section:getNamegetThumbnailJPGImage_des|trigger=none|class=sIndent}ReturnsReplace the name of an element. (may be null as well)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getNamegetThumbnailJPGImage_snc|trigger=button|text=}{sub-section}{sub-section:getNamegetThumbnailJPGImage_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:getNamegetThumbnailJPGImage_prs|trigger=button|text=}{sub-section}{sub-section:getNamegetThumbnailJPGImage_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getNamegetThumbnailJPGImage_ret|trigger=button|text=}{sub-section}{sub-section:getNamegetThumbnailJPGImage_ret|trigger=none|class=sIndent}byte[String] -- TheAn namearray of the elementbytes.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getNamegetThumbnailJPGImage_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getNamegetThumbnailJPGImage_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getNamegetThumbnailJPGImage_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getNamegetThumbnailJPGImage_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getNamegetThumbnailJPGImage_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getNamegetThumbnailJPGImage_sam|trigger=none}{code:language=javascript}
var namejpgData = forms.customer.elements.customer_id.getNamegetThumbnailJPGImage();
plugins.file.writeFile("mypicture.jpg", jpgData);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getThumbnailJPGImage-Number_Number|class=node}{tr:id=name}{td}h6.getThumbnailJPGImage{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}byte[]{span}{span:id=iets|style=float: left; font-weight: bold;}getThumbnailJPGImage{span}{span:id=iets|style=float: left;}\(width, height){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getThumbnailJPGImage-Number_Number_des|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_Number_des|trigger=none|class=sIndent}ReturnsReplace the image data in .jpg format from an icon; thumbnailing only works in record view.with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getThumbnailJPGImage-Number_Number_snc|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_Number_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:getThumbnailJPGImage-Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_Number_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{\{[Number]} width -- The target width, use \-1 for original image width.
\{[Number]} height -- The target height, use \-1 for original image height.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getThumbnailJPGImage-Number_Number_ret|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_Number_ret|trigger=none|class=sIndent}byte[] -- An array of bytes.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getThumbnailJPGImage-Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getThumbnailJPGImage-Number_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_Number_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getThumbnailJPGImage-Number_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_Number_sam|trigger=none}{code:language=javascript}
var jpgData = forms.customer.elements.customer_id.getThumbnailJPGImage(50, 50);
plugins.file.writeFile("mypicture.jpg", jpgData);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getThumbnailJPGImage-Number_NumbergetWidth|class=node}{tr:id=name}{td}h6.getThumbnailJPGImagegetWidth{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}byte[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getThumbnailJPGImagegetWidth{span}{span:id=iets|style=float: left;}\(width, height){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_des|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-NumbergetWidth_Number_des|trigger=none|class=sIndent}ReturnsReplace the image data in .jpg format from an icon; thumbnailing only works in record view.{sub-section}{td}{trwith description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getThumbnailJPGImage-NumbergetWidth_Number_snc|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_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:getThumbnailJPGImage-NumbergetWidth_Number_prs|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_prs|trigger=none|class=sIndent}\{[Number]} width -- The target width, use \-1 for original image width.
\{[Number]} height -- The target height, use \-1 for original image height.
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_ret|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-NumbergetWidth_Number_ret|trigger=none|class=sIndent}byte[Number] -- AnThe arraywidth of bytesthe element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getThumbnailJPGImage-NumbergetWidth_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_NumbergetWidth_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getThumbnailJPGImage-NumbergetWidth_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-NumbergetWidth_Number_sam|trigger=none}{code:language=javascript}
var jpgDataw = forms.customer.elements.customer_id.getThumbnailJPGImagegetWidth(50, 50);
plugins.file.writeFile("mypicture.jpg", jpgData);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWidthputClientProperty|class=node}{tr:id=name}{td}h6.getWidthputClientProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]void{span}{span:id=iets|style=float: left; font-weight: bold;}getWidthputClientProperty{span}{span:id=iets|style=float: left;}\(key, value){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getWidthputClientProperty_des|trigger=button|text=}{sub-section}{sub-section:getWidthputClientProperty_des|trigger=none|class=sIndent}ReturnsReplace the width of the current element. 

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);with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:putClientProperty_snc|trigger=button|text=}{sub-section}{sub-section:putClientProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:putClientProperty_prs|trigger=button|text=}{sub-section}{sub-section:putClientProperty_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system)
\{[Object]} value -- a predefined value for the key
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=sncret}{td}*SinceReturns*\\{sub-section:getWidthputClientProperty_sncret|trigger=button|text=}{sub-section}{sub-section:getWidthputClientProperty_sncret|trigger=none|class=sIndent} Replace with version infovoid{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prssee}{td}*ParametersAlso see*\\{sub-section:getWidthputClientProperty_prssee|trigger=button|text=}{sub-section}{sub-section:getWidth_prs|trigger=none|div:class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getWidth_ret|trigger=button|text=:putClientProperty_see|trigger=none}{sub-section}{sub-section:getWidth_ret|trigger=none|class=sIndent}[Number] -- The width of the element in pixels.{sub-section}{td}{trdiv}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=seelink}{td}*AlsoExternal seelinks*\\{sub-section:getWidthputClientProperty_seelink|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWidthputClientProperty_seelink|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linksam}{td}*External linksSample*\\{sub-section:getWidthputClientProperty_linksam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWidthputClientProperty_linksam|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getWidth_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWidth_sam|trigger=none}{code:language=javascript}
var w
= forms.customer.elements.customer_id.getWidth(putClientProperty('ToolTipText','some text');
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=putClientPropertyrequestFocus|class=node}{tr:id=name}{td}h6.putClientPropertyrequestFocus{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}putClientPropertyrequestFocus{span}{span:id=iets|style=float: left;}\(key, value){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:putClientPropertyrequestFocus_des|trigger=button|text=}{sub-section}{sub-section:putClientPropertyrequestFocus_des|trigger=none|class=sIndent}SetsReplace 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-with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:putClientPropertyrequestFocus_snc|trigger=button|text=}{sub-section}{sub-section:putClientPropertyrequestFocus_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:putClientPropertyrequestFocus_prs|trigger=button|text=}{sub-section}{sub-section:putClientPropertyrequestFocus_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system)
\{[Object]} value -- a predefined value for the key
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:putClientPropertyrequestFocus_ret|trigger=button|text=}{sub-section}{sub-section:putClientPropertyrequestFocus_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:putClientPropertyrequestFocus_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientPropertyrequestFocus_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:putClientPropertyrequestFocus_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientPropertyrequestFocus_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:putClientPropertyrequestFocus_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientPropertyrequestFocus_sam|trigger=none}{code:language=javascript}
//request the focus in this forms.customer.elements.customer_id.putClientProperty('ToolTipText','some text' (focus is also a text cursor on text components)
forms.customer.elements.customer_id.requestFocus();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=requestFocus-Boolean|class=node}{tr:id=name}{td}h6.requestFocus{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}requestFocus{span}{span:id=iets|style=float: left;}\(mustExecuteOnFocusGainedMethod){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:requestFocus-Boolean_des|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_des|trigger=none|class=sIndent}RequestReplace the focus in this element. (Focus is also a text cursor on text components).with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:requestFocus-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_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:requestFocus-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} mustExecuteOnFocusGainedMethod -- If true will execute onFocusGained method, else will not; default value is true.
{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:requestFocus-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:requestFocus-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:requestFocus-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:requestFocus-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_sam|trigger=none}{code:language=javascript}
//request the focus in this forms.customer.elements.customer_id (focus is also a text cursor on text components)
forms.customer.elements.customer_id.requestFocus();
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=requestFocus-Boolean|class=node}{tr:id=name}{td}h6.requestFocus{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}requestFocus{span}{span:id=iets|style=float: left;}\(mustExecuteOnFocusGainedMethod){span}{td}{tr}{tr:id=des}{td}{sub-section:requestFocus-Boolean_des|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_des|trigger=none|class=sIndent}Request the focus in this element. (Focus is also a text cursor on text components).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:requestFocus-Boolean_snc|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:requestFocus-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_prs|trigger=none|class=sIndent}\{[Boolean]} mustExecuteOnFocusGainedMethod -- If true will execute onFocusGained method, else will not; default value is true.
{sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:requestFocus-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:requestFocus-Boolean_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:requestFocus-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:requestFocus-Boolean_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_sam|trigger=none}{code:language=javascript}
//request the focus in this forms.customer.elements.customer_id (focus is also a text cursor on text components), skip on focus gained method call
forms.customer.elements.customer_id.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|trigger=button|text=}{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.
Please note that location should not be altered at runtime when an element is anchored. Use the solutionModel in such a situation.

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);:language=javascript}
//request the focus in this forms.customer.elements.customer_id (focus is also a text cursor on text components), skip on focus gained method call
forms.customer.elements.customer_id.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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setLocation_des|trigger=button|text=}{sub-section}{sub-section:setLocation_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setLocation_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setLocation_see|trigger=none} in pixels.
\{[Number]} y -- the Y coordinate of the element in pixels.
{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:setLocation_linkret|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setLocation_linkret|trigger=none|class=sIndent}void{sub-section}{div}{td}{tr}{builder-show:permission=edit}{tr:id=samsee}{td}*SampleAlso see*\\{sub-section:setLocation_samsee|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setLocation_samsee|trigger=none}{code:language=javascript}
forms.customer.elements.customer_id.setLocation(200,200);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{tdsub-section}{div}{td}{tr}{tbodybuilder-show}{tbodybuilder-show:id=setSize|class=nodepermission=edit}{tr:id=namelink}{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*External links*\\{sub-section:setLocation_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setLocation_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=dessam}{td}*Sample*\\{sub-section:setSizesetLocation_dessam|trigger=button|text=}{sub-sectionsection}{div:class=sIndent}{sub-section:setSizesetLocation_dessam|trigger=none|class=sIndent}Sets the size of an element. It takes as input the width and the height. 
Please note that size should not be altered at runtime when an element is anchored. Use the solutionModel in such a situation.

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);}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:setSize_des|trigger=button|text=}{sub-section}{sub-section:setSize_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:setSize_snc|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{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}