Access Keys:
Skip to content (Access Key - 0)
iServoy.com | Servoy.com | Forum index | Store | Developers | Documentation | Events | Products | Support

Forms

All versions
Click for all versions
Servoy 7.1.x
Toggle Sidebar


Property Summary
RuntimeForm [name]
Get a form by name.
Numberlength
Get the number of forms loaded into memory.

Property Details
[name]

Get a form by name.

Returns

RuntimeForm

Sample
var allForms = solutionModel.getForms();
application.output("There are " + allForms.length + " forms.");
for (var i=0; i<allForms.length; i++) 
{
	var f = forms[allForms[i].name];
	application.output("Form " + allForms[i].name + " has selected index " + f.controller.getSelectedIndex());
}
length

Get the number of forms loaded into memory.

Returns

Number

Sample
application.output("Number of forms loaded into memory: " + forms.length);
Visit our website at http://www.servoy.com or read our blogs at http://www.servoy.com/blog
Powered by Atlassian Confluence (w/ Adaptavist Theme Builder) | Terms of Use | Privacy Policy