Question How to Maximize the Window?

napsee

New Member
Could anyone there knows how to maximize the window that will fit in any screen resolution?..

Please help.. :(
 

oli

Member
Code:
ASSIGN {&WINDOW-NAME}:MAX-WIDTH = ?
       {&WINDOW-NAME}:MAX-HEIGHT = ?
       {&WINDOW-NAME}:WINDOW-STATE = WINDOW-MAXIMIZED.

But it's up to you to resize the content of the window, for instance inside the WINDOW-RESIZED event.
 

napsee

New Member
Code:
ASSIGN {&WINDOW-NAME}:MAX-WIDTH = ?
      {&WINDOW-NAME}:MAX-HEIGHT = ?
      {&WINDOW-NAME}:WINDOW-STATE = WINDOW-MAXIMIZED.

But it's up to you to resize the content of the window, for instance inside the WINDOW-RESIZED event.


Thanks it works..

but how do I resize my image the will fit my window when it is maximized..?
 
Top