Kbase 34306: Dialog-box does not appear on second screen with dual monitors
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Solution ID: P4306
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
Dialog-box does not appear on wanted screen/virtual desktop
Dual monitors
Multiple virtual desktop
CAUSE:
Expected behavior: a DIALOG-BOX is displayed on the desktop that manages its PARENT WINDOW, which is sometimes a hidden DEFAULT-WINDOW.
FIX:
Hide the DIALOG-BOX, move the PARENT WINDOW to wanted desktop then make the DIALOG-BOX visible as illustrated below:
DEFINE VARIABLE h AS HANDLE NO-UNDO.
ASSIGN FRAME fMain:VISIBLE = NO
h = FRAME fMain:PARENT
h:X = 3000 /*desktop on the right*/
FRAME fMain:X = 3000
FRAME fMain:VISIBLE = YES.
You might want to manage an additional hidden window on the wanted desktop as the PARENT of the DIALOG-BOX.