B4J Question Help minimizing an undecorated form (tried setIconified)

Discussion in 'B4J Questions' started by MegatenFreak, Jan 3, 2019.

  1. MegatenFreak

    MegatenFreak Member

    Hello.
    My app has a main window which shows all the options and submenus and covers most of the screen. It is "undecorated". The problem is, when I open other forms from that main form, they don't show as separate "tabs" in Windows, so as soon as I click on another part of the screen, the smaller forms disappear behind the my app's main window. So the only way to see them is to minimize the main window and get it out of the way. But I haven't been able to do that. I HAVE tried setting SetIconified to true, as the forum suggests, but that doesn't exactly minimize the window; it makes it totally disappear! or turns it into a rather empty bar in Windows Taskbar and I can't bring it back up.
    Please tell me what I can do to minimize the main window or at least make sure it stays "behind" all other forms opened in my app.
    Thank you so much.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you setting the main form to be the owner of the small forms?
     
    MegatenFreak likes this.
  3. MegatenFreak

    MegatenFreak Member

    Oh my God! That fixed it!
    Thank you so much Erel;)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice