Opens an Added (custom) form from the Repository. Corresponds to the OpenForm action.
App.OpenForm(Form[, Tag])
Newlook Smartclient
Newlook Server
Form - (String, Required)
String value specifying the name of the form to open.
Tag - (String, Optional)
A string value that will become the Tag property for the opened form.
This method cannot be used to open a master form at runtime. To assign a master form to a solution you will need to use the SetValue method or action to set the App.MasterForm property to the desired master form.
No return value.
In the following example we are opening the "TestForm" added form, executing some action, then closing the form. VB SCRIPTopenCustomForm () 'Execute some action closeCustomForm ()
Sub openCustomForm App.OpenForm "TestForm" End Sub
Sub closeCustomForm App.CloseForm End Sub
JSCRIPTOpenTestForm (); //execute some action CloseTestForm ();
function OpenTestForm() { App.OpenForm ("TestForm"); }
function CloseTestForm() { App.CloseForm; } |
CloseForm method | OpenForm action | Added Forms
© 2004-2021 looksoftware. All rights reserved.