Hi,
I am using history.removeForm(formName) to remove my form from memory so that the second time I access it, it will run form_load again. Do we have a method which forces the form to be unloaded?
Hi,
I am using history.removeForm(formName) to remove my form from memory so that the second time I access it, it will run form_load again. Do we have a method which forces the form to be unloaded?
that method is what you describe so history.removeForm()
What do you exactly want besides that?
It’s just that when I use the history.removeForm() method it returns “false” and it does not remove the form from cache.
I tried placing application.closeFormDialog(WINDOW_POPUP_NAME); before the call but it still does not work.
Hi erikd
if the method that tries to remove the form is one of his own,
removeForm will return false.
If you are trying to do that, check this
http://www.servoy.com/forum/viewtopic.p … orm#p76995
yes the form will only be destroyed if it can be destroyed.
so it cant be visible, it can’t be referenced in a global variable and it cant currently execute a function.