At 01:05 PM 8/3/2004 -0400, David Blocker wrote:

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?


David,

In a situation like that, you need to use the OPTION for
mono spaced font.

So, add the following to your code:

OPTION TITLE_FONT_NAME Courier New

If you already have other OPTIONs included, then add the
following:

|TITLE_FONT_NAME Courier New

That should take care of it and your lovely customer will
live happily ever after!

Very Best R:egards,

Razzak.



Reply via email to