Probably a really simple solution, but I'm creating a dynamic widget and side label as follows:
The trouble is, the text in the side labels is left aligned and I want it right aligned as would be the case when creating static fill ins. Any thoughts?! Cheers.
Code:
CREATE TEXT tt-DynamicWidgets.LabelHandle IN WIDGET-POOL lv-WidgetPool
ASSIGN X = lv-X - 102
Y = lv-Y + 2
WIDTH-PIXELS = 100
FRAME = FRAME {&FRAME-NAME}:HANDLE
FORMAT = "X(25)"
VISIBLE = TRUE
SCREEN-VALUE = tt-CompulsoryColumns.ColumnLabel + ":".
CREATE FILL-IN tt-DynamicWidgets.WidgetHandle IN WIDGET-POOL lv-WidgetPool
ASSIGN DATA-TYPE = "CHARACTER"
NAME = "Fil-" + tt-CompulsoryColumns.ColumnName
FRAME = FRAME {&FRAME-NAME}:HANDLE
SIDE-LABEL-HANDLE = tt-DynamicWidgets.LabelHandle
SENSITIVE = FALSE
HIDDEN = FALSE
PRIVATE-DATA = tt-CompulsoryColumns.ColumnName
FORMAT = tt-CompulsoryColumns.ColumnFormat
BGCOLOR = ?
X = lv-X
Y = lv-Y
WIDTH-PIXELS = 200.
The trouble is, the text in the side labels is left aligned and I want it right aligned as would be the case when creating static fill ins. Any thoughts?! Cheers.