Minimize-maximize a form

vasilisvasilis Member Posts: 6
I want to open a form in standard height and width. When I open the form the other forms are minimized automatically. I want all the forms to be maximized and the specific one to be minimized. Any Idea? I tried to write it with code but nothing.

Comments

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    As far as I know there is no statement that allows you to minimize or maximize a form at runtime.

    You can change the size of the form at runime using WIDTH and HEIGHT.
    Also the XPOS and YPOS can be changed.

    Maybe you can make the width and height value small and move the xpos and yos to a location at the bottom of the screen.

    Then there is the problem of letting a form know that it should change.

    I once did that using a table which contained the forms that are currently open with the actual size and pos.

    All forms need to have the Navision Timer OCX and need to respond to changes in the table.

    It requires a lot of programming but it can work!
  • kinekine Member Posts: 12,562
    Sorry, but in Navision, if you maximize one window, all are maximized. if you minimize (or restore) one window, all windows are restored (from maximized state)...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.