|
A dumb question no doubt
I'm creating a dialog box which SHOULD look like
this:
Current data in the Purchase Table:
Lowest C.E.R.
#:
0
Highest
C.E.R.#:
99410
Notice I want the numbers to the right RIGHT
aligned.
I build the message for the variable, following
models I've seen in the help screens and other programs from Razzak, as
follows:
(variable eEOL is (CHAR(013)) - carriage
return
variable eTab is (CHAR(009)) -
tab)
SET VAR eMessage = (+
'ERROR!! Current data in the PURCHASE table:') SET VAR eMessage = (.eMessage + .eEOL + .eEOL + + 'Lowest C.E.R. #:'+.eTab+.eTab+(RJS((CTXT(.eMinCENO)),10))) SET VAR eMessage = (.eMessage + .eEOL + + 'Highest C.E.R. #:'+.eTab+.eTab+(RJS((CTXT(.eMaxCENO)),10))) IF eMinCeno and eMaxCENO have the same number of
characters, this works fine.
But, because of proportional fonts, if the number
of characters in the eMinCENO is less, they do NOT line up - they look like
this:
Lowest C.E.R.
#: 0
Highest
C.E.R.#:
99410
Any ideas to work around this and get them to line up correctly?
|
