Dynamic fill-in - label format

dev1

New Member
Hi there,

I have created a dynamic fill-in with a label. However i cannot get all of the text in the side-label to appear. It seems to default to a format of eight, regardless of any other settings.

Anyone have a clue where i am going wrong?

/*Code*/
define variable vh-fill-in as handle no-undo.
define variable vh-label as handle no-undo.

CREATE TEXT vh-label
ASSIGN ROW = 3
COLUMN = 15
FRAME = FRAME {&frame-name}:HANDLE
VISIBLE = TRUE
SCREEN-VALUE = "Hello I am the side label" + ":"
width-chars = 50
format = "X(30)".

CREATE FILL-IN vh-fill-in
ASSIGN FRAME = frame {&frame-name}:HANDLE
DATA-TYPE = "Decimal"
FORMAT = ">99.99"
ROW = 3
COLUMN = 38
SENSITIVE = true
VISIBLE = true
BGCOLOR = 15
width-chars = 39
height-chars = 1.14
side-label = vh-label.
 
Sorted. The code should be as below (i had the format statement before the screen-value statement):

CREATE TEXT vh-label
ASSIGN ROW = 3
COLUMN = 15
FRAME = FRAME {&frame-name}:HANDLE
VISIBLE = TRUE
format = "X(30)"
SCREEN-VALUE = "Hello I am the side label" + ":"
width-chars = 50.


CREATE FILL-IN vh-fill-in
ASSIGN FRAME = frame {&frame-name}:HANDLE
DATA-TYPE = "Decimal"
FORMAT = ">99.99"
ROW = 3
COLUMN = 38
SENSITIVE = true
VISIBLE = true
BGCOLOR = 15
width-chars = 39
height-chars = 1.14
side-label-handle = vh-label.
 
Back
Top