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

{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#code]
The full source code of this method (including doc and function declaration).{td}{tr}{tbody}{tbody}{tr}{td}[Boolean]{td}{td}[#showInMenu]
Flag that tells if the method appears or not in the "Methods" menu of Servoy Client.{td}{tr}{tbody}{table}\\ 

{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[String]{td}{td}[#getName]\()
The name of the method.{td}{tr}{tbody}{table}\\ 

{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=ADA73147-4B5D-44B6-BECB-4B43B66EF76B}{tr:id=name}{td}h6.code{td}{tr}{tr:id=des}{td}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_des|text=|trigger=button}{sub-section}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_des|trigger=none|class=sIndent}The full source code of this method (including doc and function declaration).{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_ret|text=|trigger=button}{sub-section}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_see|text=|trigger=button}{sub-section}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_see|text=|trigger=button}{sub-section}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_sam|text=|trigger=button}{sub-section}{sub-section:ADA73147-4B5D-44B6-BECB-4B43B66EF76B_sam|class=sIndent|trigger=none}{code:language=javascript}
var method = form.newFormMethod('function original() { application.output("Original function."); }');
application.output('original method name: ' + method.getName());
application.output('original method code: ' + method.code);
method.code = 'function changed() { application.output("This is another function."); }';
method.showInMenu = false;
var button = form.newButton('Click me!', 10, 10, 100, 30, method);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3DA26998-49C6-42B5-B526-7425D8198DD8}{tr:id=name}{td}h6.showInMenu{td}{tr}{tr:id=des}{td}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_des|text=|trigger=button}{sub-section}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_des|trigger=none|class=sIndent}Flag that tells if the method appears or not in the "Methods" menu of Servoy Client.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_ret|text=|trigger=button}{sub-section}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_ret|trigger=none|class=sIndent}[Boolean]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_see|text=|trigger=button}{sub-section}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_see|text=|trigger=button}{sub-section}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_sam|text=|trigger=button}{sub-section}{sub-section:3DA26998-49C6-42B5-B526-7425D8198DD8_sam|class=sIndent|trigger=none}{code:language=javascript}
var method = form.newFormMethod('function original() { application.output("Original function."); }');
application.output('original method name: ' + method.getName());
application.output('original method code: ' + method.code);
method.code = 'function changed() { application.output("This is another function."); }';
method.showInMenu = false;
var button = form.newButton('Click me!', 10, 10, 100, 30, method);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}\\ 

{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1}{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}{tr:id=des}{td}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_des|text=|trigger=button}{sub-section}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_des|trigger=none|class=sIndent}The name of the method.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_ret|text=|trigger=button}{sub-section}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_ret|trigger=none|class=sIndent}[String] -- A String holding the name of this method.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_see|text=|trigger=button}{sub-section}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_see|text=|trigger=button}{sub-section}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_sam|text=|trigger=button}{sub-section}{sub-section:8EF49BEE-6CDA-4EF4-AC94-0DB843AA2DB1_sam|class=sIndent|trigger=none}{code:language=javascript}
var method = form.newFormMethod('function original() { application.output("Original function."); }');
application.output('original method name: ' + method.getName());
application.output('original method code: ' + method.code);
method.code = 'function changed() { application.output("This is another function."); }';
method.showInMenu = false;
var button = form.newButton('Click me!', 10, 10, 100, 30, method);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}