Consultor Eletrônico



Kbase P42450: 4GL. Messages are not shown in the frame of the main-procedu
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/16/2003
Status: Unverified

SYMPTOM(s):

Messages are not shown in the frame of the main-procedure.

DISPLAY uses different frames if it is run in an internal procedure

DISPLAY uses the correct frame if it is run in the 'main' block.

DISPLAY statement.

CAUSE:

Progress automatically allocates a frame for procedure blocks that display data. If the DISPLAY statement does not explicitly name a frame, Progress displays the data in the default frame for the procedure block in which the statement occurs.

FIX:

Define a frame:

DEFINE FRAME myFrame WITH DOWN SCROLL 1.
And use it when the DISPLAY statement is called:

  DISPLAY ... WITH FRAME myFrame.
  DOWN WITH FRAME myFrame.