Consultor Eletrônico



Kbase P50172: How to reposition a text widget in a frame?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/10/2003
Status: Unverified

GOAL:

How to reposition a text widget in a frame?

FACT(s) (Environment):

Progress 9.x

FACT(s) (Environment):

Progress 8.x

FIX:

Following sample shows how to move a text by changing COLUMN attribute.

DEF VAR text1 AS CHAR FORMAT "x(24)" INIT "ABC" VIEW-AS TEXT.

FORM
text1 NO-LABEL
WITH FRAME fx WIDTH 78 SIDE-LABELS 3 DOWN.

DISPLAY text1 WITH FRAME fx.

REPEAT:
PAUSE.
text1:COLUMN = text1:COLUMN + 1.
DISPLAY text1 WITH FRAME fx.
END.