[progress Communities] [progress Openedge Abl] Forum Post: Session:work-area-height-pixel...

  • Thread starter Thread starter Blake Stanford
  • Start date Start date
Status
Not open for further replies.
B

Blake Stanford

Guest
All, I'm attempting to set the size of an ABL window to the maximum size of the work area, when I have the windows task bar set to not hide. When I use the following code to set the window size, the ABL window is larger than the work area and part of the window is below the windows task bar. ASSIGN {&WINDOW-NAME}:WIDTH-PIXELS = SESSION:WORK-AREA-WIDTH-PIXELS {&WINDOW-NAME}:HEIGHT-PIXELS = SESSION:WORK-AREA-HEIGHT-PIXELS. If I subtract 44 from the height, the ABL window displays correctly, nothing below the windows task bar. ASSIGN {&WINDOW-NAME}:WIDTH-PIXELS = SESSION:WORK-AREA-WIDTH-PIXELS {&WINDOW-NAME}:HEIGHT-PIXELS = SESSION:WORK-AREA-HEIGHT-PIXELS - 44. I came up with 44 by maximizing the window with the max button, checking its height via a message statement, then subtracting it from the session:work-area-height-pixels. NOTE: The maximized window always honors the windows taskbar. Am I missing or misunderstanding something about the work-area? OpenEdge 11.6.2 Windows 10 Thx, Blake

Continue reading...
 
Status
Not open for further replies.
Back
Top