How do you get the name of the window or dialog e.g. application.getWindowName () ??? seems you can get height, width location but where do you get the name.
For example I want to close the first form that the solution opens from another form but what is its default name or how do I specify it.
Also while Im asking how do you in web client remove the title on the window of the form where it says Solutioin Name, Form Name then the " Servoy Web Client ". I know I can use title text of thee solution and form name but it still leaves the "servoy web client’
Maybe I haven’t explained this correctly but when Servoy starts the solution its starts a form that I specified as the first form. I have no idea where the window name is specified or what the name is hence I guess it must be the default.
So after this first form is started it then then starts another form (showforminwindow) which yes I do give it a name.
Now in this second form I want to close the first window (i,e form) but when I try application.closeForm(‘dialog’) it does not close it.
As I said earlier in the earlier posts when I’m in the first form I issue an application.closeForm either before or after I start the second form (application.showforminwindow) the application.closeform closes the second form.
I have this code in the first form, if I change it to application.closeForm(‘dialog’) it does not close it either.