Many thanks Razzak!  I knew it was something simple  I didn't realize that
setting the font for the TITLE would affect the entire dialog box!!

David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message -----
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 2004 2:38 PM
Subject: [RBG7-L] - Re: Aligning data in PAUSE and DIALOG with RJS


> 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