Consultor Eletrônico



Kbase P11365: Problem with focus using _osprint.p
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

SYMPTOM(s):

When _osprint.p is called from a dialogue box the _osprint.p window has the incorrect z-order (in other words it appears behind the application's dialog box)

The wrong window is at the front

CAUSE:

Bug# 20000607-005

FIX:

Fixed in 8.3E,9.1Bpatch,9.1C
A workaround is to pass the frame handle to _osprint:
RUN adecomm/_osprint.p
( INPUT FRAME {&FRAME-NAME}:HANDLE, /* p_Window */
INPUT "test.txt", /* p_PrintFile */
INPUT 15, /* p_FontNumber */
INPUT 1, /* p_flags where 1 = _UseDialog 3 = Landscape*/
INPUT ?, /* p_PageSize */
INPUT 1, /* p_PageCount */
OUTPUT v-printed ).