Closes an Added (custom) form that has been previously opened. Corresponds to the CloseForm action.
App.CloseForm()
Newlook Smartclient
Newlook Server
The OpenForm and CloseForm methods are used to load and unload custom (Added) Newlook forms. If a custom form is not open, this method does nothing. This method is typically assigned to the OnClick property of a command button or PictureBox control, giving users a means of exiting the form.
No arguments.
No return value.
In the following example we are opening the "SendMessagePath.nll" Newlook batch file, executing some action and then closing the file. 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; } |
OpenForm method | Working with Forms
© 2004-2021 looksoftware. All rights reserved.