|Subject:||[XForms] Closing of sub forms|
|Date:||Sun, 20 Nov 2022 16:33:53 +0100|
I made an application that uses sub forms.
The windows are displayed used the fl_show_form( ) call and everything works fine.
Except, when I close a sub form with the standard close button that is displayed in the border of the sub form (X) , the main application (and all other sub forms) are closed automatically.
It is if the application is killed from within the window manager.
If I close the sub form using a fl_hide_form( ), all works as it should.
I developed this application on a MacOS environment but the behaviour is exactly the same on a Linux pc.
I studied the demo-programms and read the Forms 1.2 manual, but it seems I can’t figure out how to do it.
Probably it has to do with some options I have to give to the window manager, but I can’t ind out how.
Does anyone have an idea how to do it?
|[Prev in Thread]||Current Thread||[Next in Thread]|