Function closeSolution
Description Closes the currently open solution; can also include an argument to load (and open) a
specified solution when the currently active solution is closed.
Syntax
application.closeSolution([solution_to_load],[method],[argument]
)
Parameters
solution_to_load - the specified solution to load when the currently active
solution is closed; optional.
method - the specified method run from the currently active solution; optional.
argument - the argument for the specified method; optional.
Method objects are usually passed without using quotes.
So your code should probably look like this:```
application.closeSolution(‘mySolution’, forms.myForm._dev_test, ‘test’)
Hmm…I can’t get any method to trigger using this function. String, variable, form method, global method or otherwise.
I tested this on Servoy Version 3.5.6-build 519, Java version 1.5.0_13-119 (Mac OS X) and Java version 10.0-b19 (Windows XP).
Harjo, do you use the method part of this function and if so does it work for you ?