Page History
Wiki Markup |
---|
{hiddendiv:style=display:none} DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACTAUTO CHANGES FROMUPDATE THE PAGECONTENT ANDTHROUGH MERGETHE THEM BACK INTO SERVOY SOURCE{hiddenDOC GENERATOR{div} {sub-sectiondiv:id=description|text=}{sub-sectiondiv}\\ {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}[#text] Gets or sets the text that is displayed on the label, button or image.{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=desret}{td}{sub-section:bgcolor_des|trigger=button|text=}{sub-section}{sub-section:bgcolor_des|trigger=none|*Returns*\\{div:class=sIndent}Replace with description{sub-section[String]{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:tr:id=sncsam}{td}*SinceSample*\\{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-showdiv:class=sIndent}{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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=border}{tr:id=name}{td}h6.border{td}{tr}{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}{div:class=sIndent}[String]{div}{td}{tr}{tr:id=seesam}{td}*Also seeSample*\\{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}{divcode: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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{tbody:id=enabled}{tr:id=name}{td}h6.enabled{td}{tr}{tr:id=samret}{td}*SampleReturns*\\{sub-section:bgcolor_sam|trigger=button|text=}{sub-section}div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{sub-section:bgcolor_sam|trigger=none}{code:language=javascript} //setsgets the backgroundenabled colorstate of the field var currState = forms.customer.elements.customer_id.bgcolor = "#FFFFFF";enabled; //getssets the backgroundenabled colorstate of the field var c = forms.customer.elements.customer_id.bgcolorenabled = !currentState; {code}{sub-section}{div}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=border|class=nodefgcolor}{tr:id=name}{td}h6.borderfgcolor{td}{tr}{builder-show:permission=edit}{tr:id=desret}{td}{sub-section:border_des|trigger=button|text=}{sub-section}{sub-section:border_des|trigger=none|*Returns*\\{div:class=sIndent}Replace with description{sub-section[String]{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sncsam}{td}*SinceSample*\\{sub-section:border_snc|trigger=button|text=}{sub-section}{sub-section:border_snc|trigger=none|class=sIndent} Replace with version info{sub-sectiondiv:class=sIndent}{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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permissionid=editfont}{tr:id=prs}name}{td}h6.font{td}*Parameters*\\{sub-section:border_prs|trigger=button|text=}{sub-section}{sub-section:border_prs|trigger=none|}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}{sub-section[String]{div}{td}{tr}{builder-show}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:border_ret|trigger=button|text=}{sub-section}{sub-section:border_ret|trigger=none|class=sIndent}[String]{sub-sectiondiv:class=sIndent}{code:language=javascript} forms.customer.elements.customer_id.font = 'Tahoma,1,11'; {code}{div}{td}{tr}{builder-showtr:permissionclass=editlastDetailRow}{tr:id=seetd}{td}*Also see*\\{sub-section:border_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:border_see|trigger=none}{sub-section}{div}{tr}{tbody}{tbody:id=format}{tr:id=name}{td}h6.format{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:border_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:border_link|trigger=none}{sub-section}[String]{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=nonediv:class=sIndent}{code:language=javascript} //sets the borderdisplay type to "LineBorder" //sets a 1 px line width forformatting of the bottom and left side of the borderfield forms.customer.elements.customer_id.format = '###'; //setsgets the hexadecimaldisplay colorformatting of the field bordervar toformat "#ccffcc"= forms.customer.elements.customer_id.border = 'LineBorder,1,#ccffcc'format; {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=enabled|class=nodeimageURL}{tr:id=name}{td}h6.enabledimageURL{td}{tr}{builder-show:permission=edit}{tr:tr:id=desret}{td}{sub-section:enabled_des|trigger=button|text=}{sub-section}{sub-section:enabled_des|trigger=none|*Returns*\\{div:class=sIndent}Replace with description{sub-section[String]{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sncsam}{td}*SinceSample*\\{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=prs}{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}Replace 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}Replace 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}Replace 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:imageURL_ret|trigger=button|text=}{sub-section}{sub-section:imageURL_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:imageURL_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:imageURL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:imageURL_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:imageURL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:imageURL_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:imageURL_sam|trigger=none}{code:language=javascript} //dynamically 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.imageURL = "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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=mnemonic|class=node}{tr:id=name}{td}h6.mnemonic{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:mnemonic_des|trigger=button|text=}{sub-section}{sub-section:mnemonic_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:mnemonic_snc|trigger=button|text=}{sub-section}{sub-section:mnemonic_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:mnemonic_prs|trigger=button|text=}{sub-section}{sub-section:mnemonic_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:mnemonic_ret|trigger=button|text=}{sub-section}{sub-section:mnemonic_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:mnemonic_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:mnemonic_see|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=}{sub-section}{div:class=sIndent}{sub-section:mnemonic_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:mnemonic_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:mnemonic_sam|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}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=rolloverImageURL|class=node}{tr:id=name}{td}h6.rolloverImageURL{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:rolloverImageURL_des|trigger=button|text=}{sub-section}{sub-section:rolloverImageURL_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: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}{tr:id=ret}{td}*Returns*\\{sub-section:rolloverImageURL_ret|trigger=button|text=}{sub-section}{sub-section:rolloverImageURL_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:rolloverImageURL_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:rolloverImageURL_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:rolloverImageURL_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:rolloverImageURL_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:rolloverImageURL_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:rolloverImageURL_sam|trigger=none}{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=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=text|class=node}{tr:id=name}{td}h6.text{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:text_des|trigger=button|text=}{sub-section}{sub-section:text_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:text_snc|trigger=button|text=}{sub-section}{sub-section:text_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:text_prs|trigger=button|text=}{sub-section}{sub-section:text_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:text_ret|trigger=button|text=}{sub-section}{sub-section:text_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:text_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:text_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:text_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:text_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:text_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:text_sam|trigger=none}{code:language=javascript} //gets the text of the element var my_text = forms.customer.elements.customer_id.text; //sets the text of the element forms.customer.elements.customer_id.text = my_text + 'is cool'; {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=toolTipText|class=node}{tr:id=name}{td}h6.toolTipText{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:toolTipText_des|trigger=button|text=}{sub-section}{sub-section:toolTipText_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:toolTipText_snc|trigger=button|text=}{sub-section}{sub-section:toolTipText_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:toolTipText_prs|trigger=button|text=}{sub-section}{sub-section:toolTipText_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:toolTipText_ret|trigger=button|text=}{sub-section}{sub-section:toolTipText_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:toolTipText_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:toolTipText_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:toolTipText_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:toolTipText_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:toolTipText_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:toolTipText_sam|trigger=none}{code:language=javascript} //gets the tooltip text of the element var toolTip = forms.customer.elements.customer_id.toolTipText; //sets the tooltip text of the element forms.customer.elements.customer_id.toolTipText = "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}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=transparent|class=node}{tr:id=name}{td}h6.transparent{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:transparent_des|trigger=button|text=}{sub-section}{sub-section:transparent_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:transparent_snc|trigger=button|text=}{sub-section}{sub-section:transparent_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:transparent_prs|trigger=button|text=}{sub-section}{sub-section:transparent_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:transparent_ret|trigger=button|text=}{sub-section}{sub-section:transparent_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:transparent_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:transparent_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:transparent_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:transparent_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:transparent_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:transparent_sam|trigger=none}{code:language=javascript} //gets the transparency of the element var currentState = forms.customer.elements.customer_id.transparent; //sets the transparency of the element forms.customer.elements.customer_id.transparent = !currentState; {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=visible|class=node}{tr:id=name}{td}h6.visible{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:visible_des|trigger=button|text=}{sub-section}{sub-section:visible_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:visible_snc|trigger=button|text=}{sub-section}{sub-section:visible_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:visible_prs|trigger=button|text=}{sub-section}{sub-section:visible_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:visible_ret|trigger=button|text=}{sub-section}{sub-section:visible_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:visible_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:visible_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:visible_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:visible_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:visible_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section: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:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getAbsoluteFormLocationY|class=node}{tr:id=name}{td}h6.getAbsoluteFormLocationY{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getAbsoluteFormLocationY_des|trigger=button|text=}{sub-section}{sub-section: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:getAbsoluteFormLocationY_prs|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getAbsoluteFormLocationY_ret|trigger=button|text=}{sub-section}{sub-section:getAbsoluteFormLocationY_ret|trigger=none|class=sIndent}[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:getAbsoluteFormLocationY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getAbsoluteFormLocationY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getAbsoluteFormLocationY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getAbsoluteFormLocationY_sam|trigger=none}{code:language=javascript} var absolute_y = forms.customer.elements.customer_id.getAbsoluteFormLocationY(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClientProperty-Object|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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getClientProperty-Object_des|trigger=button|text=}{sub-section}{sub-section:getClientProperty-Object_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:getClientProperty-Object_snc|trigger=button|text=}{sub-section}{sub-section:getClientProperty-Object_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:getClientProperty-Object_prs|trigger=button|text=}{sub-section}{sub-section:getClientProperty-Object_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system) {sub-section}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:getClientProperty-Object_ret|trigger=button|text=}{sub-section}{sub-section:getClientProperty-Object_ret|trigger=none|class=sIndent}[Object] -- The value of the property for specified key.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClientProperty-Object_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientProperty-Object_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClientProperty-Object_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientProperty-Object_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClientProperty-Object_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientProperty-Object_sam|trigger=none}{code:language=javascript} var property = forms.customer.elements.customer_id.getClientProperty('ToolTipText'); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDataProviderID|class=node}{tr:id=name}{td}h6.getDataProviderID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getDataProviderID{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDataProviderID_des|trigger=button|text=}{sub-section}{sub-section:getDataProviderID_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:getDataProviderID_snc|trigger=button|text=}{sub-section}{sub-section:getDataProviderID_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:getDataProviderID_prs|trigger=button|text=}{sub-section}{sub-section:getDataProviderID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDataProviderID_ret|trigger=button|text=}{sub-section}{sub-section:getDataProviderID_ret|trigger=none|class=sIndent}[String] -- The data provider as String.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDataProviderID_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDataProviderID_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDataProviderID_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDataProviderID_sam|trigger=none}{code:language=javascript} forms.customer.elements.customer_id.getDataProviderID(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getDesignTimeProperty|class=node}{tr:id=name}{td}h6.getDesignTimeProperty{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Object]{span}{span:id=iets|style=float: left; font-weight: bold;}getDesignTimeProperty{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getDesignTimeProperty_des|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_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:getDesignTimeProperty_snc|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getDesignTimeProperty_prs|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getDesignTimeProperty_ret|trigger=button|text=}{sub-section}{sub-section:getDesignTimeProperty_ret|trigger=none|class=sIndent}[Object]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getDesignTimeProperty_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getDesignTimeProperty_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getDesignTimeProperty_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getDesignTimeProperty_sam|trigger=none}{code:language=javascript} var prop = forms.orders.elements.mylabel.getDesignTimeProperty('myprop') {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getElementType|class=node}{tr:id=name}{td}h6.getElementType{td}{tr}{tr:id=sig}{td}{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:permission=edit}{tr:id=des}{td}{sub-section:getElementType_des|trigger=button|text=}{sub-section}{sub-section:getElementType_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:getElementType_snc|trigger=button|text=}{sub-section}{sub-section:getElementType_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:getElementType_prs|trigger=button|text=}{sub-section}{sub-section:getElementType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getElementType_ret|trigger=button|text=}{sub-section}{sub-section:getElementType_ret|trigger=none|class=sIndent}[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:getElementType_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getElementType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getElementType_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getElementType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getElementType_sam|trigger=button|text=}{sub-section}{div: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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getHeight_des|trigger=button|text=}{sub-section}{sub-section:getHeight_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: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:getHeight_prs|trigger=button|text=}{sub-section}{sub-section:getHeight_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getHeight_ret|trigger=button|text=}{sub-section}{sub-section:getHeight_ret|trigger=none|class=sIndent}[Number] -- The height of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getHeight_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHeight_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getHeight_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHeight_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getHeight_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHeight_sam|trigger=none}{code:language=javascript} var ht = forms.customer.elements.customer_id.getHeight(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{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}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getLocationX_des|trigger=button|text=}{sub-section}{sub-section:getLocationX_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: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:getLocationX_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getLocationX_ret|trigger=button|text=}{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|trigger=button|text=}{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|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationX_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getLocationX_sam|trigger=button|text=}{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}{tr}{tr:id=sig}{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}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getLocationY_des|trigger=button|text=}{sub-section}{sub-section:getLocationY_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: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=prs}{td}*Parameters*\\{sub-section:getLocationY_prs|trigger=button|text=}{sub-section}{sub-section:getLocationY_prs|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 of the element in pixels.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getLocationY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getLocationY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getLocationY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getLocationY_sam|trigger=none}{code:language=javascript} var y = div:class=sIndent}{code:language=javascript} //dynamically sets an image displayed on a button or label forms.customer.elements.customer_id.getLocationY(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getName|class=node}{tr:id=name}{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}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:getName_des|trigger=button|text=}{sub-section}{sub-section:getName_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:getName_snc|trigger=button|text=}{sub-section}{sub-section:getName_snc|trigger=none|class=sIndent} Replace with version info{sub-sectionimageURL = "http://www.servoy.com/images/test.gif"; //sets an image from your own image library forms.customer.elements.customer_id.imageURL = "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}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permissionid=editmnemonic}{tr:id=prs}name}{td}h6.mnemonic{td}*Parameters*\\{sub-section:getName_prs|trigger=button|text=}{sub-section}{sub-section:getName_prs|trigger=none|}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}{sub-section[String]{div}{td}{tr}{builder-show}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:getName_ret|trigger=button|text=}{sub-section}{sub-section:getName_ret|trigger=none|class=sIndent}[String] -- The namediv:class=sIndent}{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.{sub-sectionmnemonic = 'f'; {code}{div}{td}{tr}{builder-show:permission=edit}{tr:id=seeclass=lastDetailRow}{td}{td}*Also see*\\{sub-section:getName_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getName_see|trigger=none}{sub-section}{div}{tr}{tbody}{tbody:id=rolloverImageURL}{tr:id=name}{td}h6.rolloverImageURL{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:getName_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getName_link|trigger=none}{sub-section}[String]{div}{td}{tr}{builder-showtr}{tr:id=sam}{td}*Sample*\\{sub-section:getName_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getName_sam|trigger=none}{code:language=javascript} var name =div:class=sIndent}{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.getName(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getThumbnailJPGImage|class=node}{tr:id=name}{td}h6.getThumbnailJPGImagerolloverImageURL = 'media:///servoy_blobloader?datasource='+controller.getDataSource()+'&dataprovider=image_data&mimetype=image/jpeg&rowid1=2'; {code}{div}{td}{tr}{tr:id=sigclass=lastDetailRow}{td}{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;}\(){span}tr}{tbody}{tbody:id=text}{tr:id=name}{td}h6.text{td}{tr}{builder-show:permission=edit}{tr:id=desret}{td}{sub-section:getThumbnailJPGImage_des|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage_des|trigger=none|*Returns*\\{div:class=sIndent}Replace with description{sub-section[String]{div}{td}{tr}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getThumbnailJPGImage_snc|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage_snc|trigger=none|class=sIndent} Replace with version info{sub-section:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} //gets the text of the element var my_text = forms.customer.elements.customer_id.text; //sets the text of the element forms.customer.elements.customer_id.text = my_text + 'is cool'; {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permissionid=edittoolTipText}{tr:id=prs}name}{td}h6.toolTipText{td}*Parameters*\\{sub-section:getThumbnailJPGImage_prs|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage_prs|trigger=none|}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}{sub-section[String]{div}{td}{tr}{builder-show}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:getThumbnailJPGImage_ret|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage_ret|trigger=none|class=sIndent}byte[] -- An array of bytes.{sub-sectiondiv:class=sIndent}{code:language=javascript} //gets the tooltip text of the element var toolTip = forms.customer.elements.customer_id.toolTipText; //sets the tooltip text of the element forms.customer.elements.customer_id.toolTipText = "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}{div}{td}{tr}{builder-showtr:permissionclass=editlastDetailRow}{tr:id=seetd}{td}*Also see*\\{sub-section:getThumbnailJPGImage_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit{tr}{tbody}{tbody:id=transparent}{tr:id=name}{td}h6.transparent{td}{tr}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:getThumbnailJPGImage_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage_link|trigger=none}{sub-section}{[Boolean]{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getThumbnailJPGImage_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage_sam|trigger=none}{code:language=javascript} var jpgData =code:language=javascript} //gets the transparency of the element var currentState = forms.customer.elements.customer_id.transparent; //sets the transparency of the element forms.customer.elements.customer_id.getThumbnailJPGImage(); plugins.file.writeFile("mypicture.jpg", jpgData)transparent = !currentState; {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getThumbnailJPGImage-Number_Number|class=nodevisible}{tr:id=name}{td}h6.getThumbnailJPGImagevisible{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Boolean]{div}{td}{tr}{tr:id=sigsam}{td}*Sample*\\{div:class=sIndent}{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){spancode: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}{div}{td}{tr}{builder-showtr:permission=editclass=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ {table:id=des=function|class=servoy sDetail}{tdcolgroup}{sub-section:getThumbnailJPGImage-Number_Number_des|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=editcolumn:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getAbsoluteFormLocationY}{tr:id=name}{td}h6.getAbsoluteFormLocationY{td}{tr}{tr:id=sncsig}{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{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getAbsoluteFormLocationY{span}{span}\(){span}{td}{tr}{builder-show}{tr:id=prsret}{td}*ParametersReturns*\\{sub-section:getThumbnailJPGImage-Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:getThumbnailJPGImage-Number_Number_prs|trigger=none|div:class=sIndent}\{[Number]} width -- The targety width,location useof \-1the forform originalin image width. \{[Number]} height -- The target height, use \-1 for original image height. {sub-sectionpixels.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} var absolute_y = forms.customer.elements.customer_id.getAbsoluteFormLocationY(); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClientProperty-Object}{tr:id=ret}name}{td}h6.getClientProperty{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{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Object]{span}{span:style=font-weight: bold;}getClientProperty{span}{span}\(key){span}{td}{tr}{builder-show:permission=edit}{tr:id=seeprs}{td}*Also seeParameters*\\{sub-section:getThumbnailJPGImage-Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_Number_see|trigger=none}{sub-section}\{[Object]} key -- user interface key (depends on operating system) {div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:getThumbnailJPGImage-Number_Number_link|trigger=button|text=}{sub-section}\\{div:class=sIndent}{sub-section:getThumbnailJPGImage-Number_Number_link|trigger=none}{sub-section}[Object] -- The value of the property for specified key.{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 jpgDataproperty = forms.customer.elements.customer_id.getThumbnailJPGImage(50, 50); plugins.file.writeFile("mypicture.jpg", jpgDatagetClientProperty('ToolTipText'); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getWidth|class=nodegetDataProviderID}{tr:id=name}{td}h6.getWidthgetDataProviderID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[NumberString]{span}{span:id=iets|style=float: left; font-weight: bold;}getWidthgetDataProviderID{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=ret}{td}{builder-show:permission=edit*Returns*\\{div:class=sIndent}[String] -- The data provider as String.{div}{td}{tr}{tr:id=dessam}{td}*Sample*\\{div:class=sIndent}{sub-section:getWidth_des|trigger=button|text=}{sub-section}{sub-section:getWidth_des|trigger=none|class=sIndent}Replace with description{sub-sectioncode:language=javascript} forms.customer.elements.customer_id.getDataProviderID(); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permissionid=editgetDesignTimeProperty}{tr:id=snc}name}{td}h6.getDesignTimeProperty{td}*Since*\\{sub-section:getWidth_snc|trigger=button|text=}{sub-section}{sub-section:getWidth_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Object]{span}{span:style=font-weight: bold;}getDesignTimeProperty{span}{span}\(){span}{td}{tr}{tr:id=prsret}{td}*ParametersReturns*\\{sub-section:getWidth_prs|trigger=button|text=}{sub-section}{sub-section:getWidth_prs|trigger=none|div:class=sIndent}{sub-section[Object]{div}{td}{tr}{builder-show}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:getWidth_ret|trigger=button|text=}{sub-section}{sub-section:getWidth_ret|trigger=none|class=sIndent}[Number] -- The width of the element in pixels.{sub-section{div:class=sIndent}{code:language=javascript} var prop = forms.orders.elements.mylabel.getDesignTimeProperty('myprop') {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{builder-showtbody:permissionid=editgetElementType}{tr:id=see}name}{td}h6.getElementType{td}*Also see*\\{sub-section:getWidth_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWidth_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[String]{span}{span:style=font-weight: bold;}getElementType{span}{span}\(){span}{td}{tr}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:getWidth_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getWidth_link|trigger=none}{sub-section}[String] -- The display type of the element as String.{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 wet = forms.customer.elements.customer_id.getWidthgetElementType(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=putClientProperty-Object_Object|class=nodegetHeight}{tr:id=name}{td}h6.putClientPropertygetHeight{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;}putClientProperty{span}{span:id=iets|style=float: left;}\(key, value){span}getHeight{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The height of the element in pixels.{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript} var ht = forms.customer.elements.customer_id.getHeight(); {code}{div}{td}{tr}{builder-showtr:permissionclass=editlastDetailRow}{tr:id=destd}{td}{sub-section:putClientProperty-Object_Object_des|trigger=button|text=}{sub-section}{sub-section:putClientProperty-Object_Object_des|trigger=none|class=sIndent}Replace with description{sub-sectiontr}{tbody}{tbody:id=getLocationX}{tr:id=name}{td}{tr}{builder-show}{builder-show:permission=edith6.getLocationX{td}{tr}{tr:id=sncsig}{td}*Since*\\{sub-section:putClientProperty-Object_Object_snc|trigger=button|text=}{sub-section}{sub-section:putClientProperty-Object_Object_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{tr:id=prs}{td}*Parameters*\\{sub-section:putClientProperty-Object_Object_prs|trigger=button|text=}{sub-section}{sub-section:putClientProperty-Object_Object_prs|trigger=none|class=sIndent}\{[Object]} key -- user interface key (depends on operating system) \{[Object]} value -- a predefined value for the key {sub-section}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getLocationX{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number] -- The x location of the element in pixels.{div}{td}{tr}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:putClientProperty-Object_Object_ret|trigger=button|text=}{sub-section}{sub-section:putClientProperty-Object_Object_ret|trigger=none|class=sIndent}void{sub-section{div:class=sIndent}{code:language=javascript} var x = forms.customer.elements.customer_id.getLocationX(); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{builder-showtbody:permissionid=editgetLocationY}{tr:id=see}name}{td}h6.getLocationY{td}*Also see*\\{sub-section:putClientProperty-Object_Object_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientProperty-Object_Object_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getLocationY{span}{span}\(){span}{td}{tr}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:putClientProperty-Object_Object_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:putClientProperty-Object_Object_link|trigger=none}{sub-section}[Number] -- The y location of the element in pixels.{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:putClientProperty-Object_Object_sam|trigger=button|text=}{sub-section}:id=sam}{td}*Sample*\\{div:class=sIndent}{sub-section:putClientProperty-Object_Object_sam|trigger=none}{code:language=javascript} var y = forms.customer.elements.customer_id.putClientProperty('ToolTipText','some text'getLocationY(); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=requestFocus|class=nodegetName}{tr:id=name}{td}h6.requestFocusgetName{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;}requestFocusgetName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=desret}{td}{sub-section:requestFocus_des|trigger=button|text=}{sub-section}{sub-section:requestFocus_des|trigger=none|*Returns*\\{div:class=sIndent}Replace with description{sub-section[String] -- The name of the element.{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=sncsam}{td}*SinceSample*\\{sub-section:requestFocus_snc|trigger=button|text=}{sub-section}{sub-section:requestFocus_snc|trigger=none|class=sIndent} Replace with version info{sub-sectiondiv:class=sIndent}{code:language=javascript} var name = forms.customer.elements.customer_id.getName(); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permissionid=editgetThumbnailJPGImage}{tr:id=prs}name}{td}h6.getThumbnailJPGImage{td}*Parameters*\\{sub-section:requestFocus_prs|trigger=button|text=}{sub-section}{sub-section:requestFocus_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:requestFocus_ret|trigger=button|text=}{sub-section}{sub-section:requestFocus_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}byte[]{span}{span:style=font-weight: bold;}getThumbnailJPGImage{span}{span}\(){span}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}byte[] -- An array of bytes.{div}{td}{tr}{tr:id=seesam}{td}*Also seeSample*\\{sub-section:requestFocus_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus_see|trigger=none}{sub-section}{divdiv:class=sIndent}{code:language=javascript} var jpgData = forms.customer.elements.customer_id.getThumbnailJPGImage(); plugins.file.writeFile("mypicture.jpg", jpgData); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permission=editid=getThumbnailJPGImage-Number_Number}{tr:id=link}name}{td}h6.getThumbnailJPGImage{td}*External links*\\{sub-section:requestFocus_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus_link|trigger=none}{sub-section}{div}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}byte[]{span}{span:style=font-weight: bold;}getThumbnailJPGImage{span}{span}\(width, height){span}{td}{tr}{builder-show}{tr:id=samprs}{td}*SampleParameters*\\{sub-section:requestFocus_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus_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}{\{[Number]} width -- The target width, use \-1 for original image width. \{[Number]} height -- The target height, use \-1 for original image height. {div}{td}{tr}{tr:classid=lastDetailRowret}{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*Returns*\\{div:class=sIndent}byte[] -- An array of bytes.{div}{td}{tr}{builder-show:permission=edit}{tr:id=dessam}{td}*Sample*\\{div:class=sIndent}{sub-section:requestFocus-Boolean_des|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_des|trigger=none|class=sIndent}Replace with description{sub-sectioncode:language=javascript} var jpgData = forms.customer.elements.customer_id.getThumbnailJPGImage(50, 50); plugins.file.writeFile("mypicture.jpg", jpgData); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{builder-showtbody}{builder-showtbody:permissionid=editgetWidth}{tr:id=sncname}{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-showh6.getWidth{td}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}[Number]{span}{span:style=font-weight: bold;}getWidth{span}{span}\(){span}{td}{tr}{tr:id=prsret}{td}*ParametersReturns*\\{sub-section:requestFocus-Boolean_prs|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_prs|trigger=none|div:class=sIndent}\{[BooleanNumber]} mustExecuteOnFocusGainedMethod -- IfThe truewidth willof executethe onFocusGainedelement method, else will not; default value is true. {sub-sectionin pixels.{div}{td}{tr}{tr:id=retsam}{td}*ReturnsSample*\\{sub-section:requestFocus-Boolean_ret|trigger=button|text=}{sub-section}{sub-section:requestFocus-Boolean_ret|trigger=none|class=sIndent}void{sub-section{div:class=sIndent}{code:language=javascript} var w = forms.customer.elements.customer_id.getWidth(); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{builder-showtbody:permission=editid=putClientProperty-Object_Object}{tr:id=see}name}{td}h6.putClientProperty{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}{tr}{tr:id=sig}{td}{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}putClientProperty{span}{span}\(key, value){span}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkprs}{td}*External linksParameters*\\{sub-section:requestFocus-Boolean_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:requestFocus-Boolean_link|trigger=none}{sub-section}div:class=sIndent}\{[Object]} key -- user interface key (depends on operating system) \{[Object]} value -- a predefined value for the key {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}void{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.putClientProperty('ToolTipText','some text'); {code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setLocation-Number_Number|class=noderequestFocus}{tr:id=name}{td}h6.setLocationrequestFocus{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-Number_Number_des|trigger=button|text=}{sub-section}{sub-section:setLocation-Number_Number_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}requestFocus{span}{span}\(){span}{td}{tr}{tr:id=sncret}{td}*SinceReturns*\\{sub-section:setLocation-Number_Number_snc|trigger=button|text=}{sub-section}{sub-section:setLocation-Number_Number_snc|trigger=none|div:class=sIndent} Replace with version info{sub-sectionvoid{div}{td}{tr}{builder-show}{tr:id=prssam}{td}*ParametersSample*\\{sub-section:setLocation-Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:setLocation-Number_Number_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-sectiondiv:class=sIndent}{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}{div}{td}{tr}{tr:id=retclass=lastDetailRow}{td}{td}*Returns*\\{sub-section:setLocation-Number_Number_ret|trigger=button|text=}{sub-section}{sub-section:setLocation-Number_Number_ret|trigger=none|class=sIndent}void{sub-section}{tr}{tbody}{tbody:id=requestFocus-Boolean}{tr:id=name}{td}h6.requestFocus{td}{tr}{builder-show:permission=edit}{tr:id=seesig}{td}*Also see*\\{sub-section:setLocation-Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setLocation-Number_Number_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}requestFocus{span}{span}\(mustExecuteOnFocusGainedMethod){span}{td}{tr}{tr:id=linkprs}{td}*External linksParameters*\\{div:class=sIndent}\{sub-section:setLocation-Number_Number_link|trigger=button|text=}{sub-section}[Boolean]} mustExecuteOnFocusGainedMethod -- If true will execute onFocusGained method, else will not; default value is true. {div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}{sub-section:setLocation-Number_Number_link|trigger=none}{sub-section}{void{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setLocation-Number_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setLocation-Number_Number_sam|trigger=none}{code:language=javascript}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.setLocationrequestFocus(200,200false); {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=setSizesetLocation-Number_Number|class=node}{tr:id=name}{td}h6.setSizesetLocation{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:style=font-weight:id=iets|style=float: left; font-weight: bold;}setSize{span}{span:id=iets|style=float: left;}\(width, height){span bold;}setLocation{span}{span}\(x, y){span}{td}{tr}{tr:id=prs}{td}*Parameters*\\{div:class=sIndent}\{[Number]} x -- the X coordinate of the element in pixels. \{[Number]} y -- the Y coordinate of the element in pixels. {div}{td}{tr}{builder-show:permission=edit}{tr:id=desret}{td}{sub-section:setSize-Number_Number_des|trigger=button|text=}{sub-section}{sub-section:setSize-Number_Number_des|trigger=none|*Returns*\\{div:class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=editvoid{div}{td}{tr}{tr:id=sncsam}{td}*SinceSample*\\{sub-section:setSize-Number_Number_snc|trigger=button|text=}{sub-section}{sub-section:setSize-Number_Number_snc|trigger=none|class=sIndent} Replace with version info{sub-sectiondiv:class=sIndent}{code:language=javascript} forms.customer.elements.customer_id.setLocation(200,200); {code}{div}{td}{tr}{builder-show}{tr:id=prsclass=lastDetailRow}{td}{td}*Parameters*\\{sub-section:setSize-Number_Number_prs|trigger=button|text=}{sub-section}{sub-section:{tr}{tbody}{tbody:id=setSize-Number_Number_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}{tr:id=name}{td}h6.setSize{td}{tr}{tr:id=retsig}{td}*Returns*\\{sub-section:setSize-Number_Number_ret|trigger=button|text=}{sub-section}{sub-section:setSize-Number_Number_ret|trigger=none|class=sIndent}void{sub-section{span:style=margin-right: 5px;}void{span}{span:style=font-weight: bold;}setSize{span}{span}\(width, height){span}{td}{tr}{builder-show:permission=edit}{tr:id=seeprs}{td}*Also seeParameters*\\{sub-section:setSize-Number_Number_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setSize-Number_Number_see|trigger=none}{sub-section}{\{[Number]} width -- the width of the element in pixels. \{[Number]} height -- the height of the element in pixels. {div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=linkret}{td}*External linksReturns*\\{sub-section:setSize-Number_Number_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setSize-Number_Number_link|trigger=none}{sub-section}{void{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:setSize-Number_Number_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:setSize-Number_Number_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} |
Overview
Content Tools
Activity