Hi,
We have a FORM whit to char fields on it. We´re trying to change the position and width of the first column. We just change the FORMAT property of this char variable and its LABEL in order to fit perfectly with the new format. The troubles come when we move the COLUMN position of the second field, because the field moves perfectly but its LABEL doesn´t.
I post you all the code we´re using as an example in order to show you want´s the problem. If anyone knows how to position column labels on its correct places when they´re are moved, please post the solution.
Thanks for your help.
Best regards.
DEF VAR char1 AS CHAR FORMAT "X(10)" LABEL "first-char" INIT "aaabbbcccdddeeefff".
DEF VAR char2 AS CHAR FORMAT "X(10)" LABEL "second-char" INIT "aaabbbcccdddeeefff".
FORM
char1 char2 SKIP
WITH FRAME f03 WIDTH 80 OVERLAY WITH
TITLE "title".
DISPLAY
char1 char2 WITH FRAME f03.
ASSIGN char1:FORMAT IN FRAME f03 = "x(20)"
char1:LABEL IN FRAME f03 = "first-char "
char2:COLUMN IN FRAME f03 = 24.
We have a FORM whit to char fields on it. We´re trying to change the position and width of the first column. We just change the FORMAT property of this char variable and its LABEL in order to fit perfectly with the new format. The troubles come when we move the COLUMN position of the second field, because the field moves perfectly but its LABEL doesn´t.
I post you all the code we´re using as an example in order to show you want´s the problem. If anyone knows how to position column labels on its correct places when they´re are moved, please post the solution.
Thanks for your help.
Best regards.
DEF VAR char1 AS CHAR FORMAT "X(10)" LABEL "first-char" INIT "aaabbbcccdddeeefff".
DEF VAR char2 AS CHAR FORMAT "X(10)" LABEL "second-char" INIT "aaabbbcccdddeeefff".
FORM
char1 char2 SKIP
WITH FRAME f03 WIDTH 80 OVERLAY WITH
TITLE "title".
DISPLAY
char1 char2 WITH FRAME f03.
ASSIGN char1:FORMAT IN FRAME f03 = "x(20)"
char1:LABEL IN FRAME f03 = "first-char "
char2:COLUMN IN FRAME f03 = 24.