Kbase P137777: 4GL/ABL: How to make the application window fill the screen regardless of resolution settings?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/25/2008 |
|
Status: Unverified
GOAL:
4GL/ABL: How to make the application window fill the screen regardless of resolution settings?
GOAL:
How to position the application window's top left corner at screen's top left corner?
FACT(s) (Environment):
Windows
Progress 9.x
OpenEdge 10.x
FIX:
The following statement, which may be executed from the main block of the Window procedure, will make the application's CURRENT-WINDOW widget fill the screen regardless of resolution settings of that screen and position its top left corner at screen's top left corner:
ASSIGN
CURRENT-WINDOW:X = 0
CURRENT-WINDOW:Y = 0
CURRENT-WINDOW:HEIGHT-PIXELS = SESSION:HEIGHT-PIXELS
CURRENT-WINDOW:WIDTH-PIXELS = SESSION:WIDTH-PIXELS.