Centering lines on reports...
John Esak
john at valar.com
Mon Jun 21 00:24:27 PDT 2004
Hello all,
There's been a relative paucity of filePro stuff here lately, so here's
something from The FP Room that might be of use.
You may want to center the headings or other lines on your reports or forms.
This came up in the fP Room the other day. Here is a nifty approach. It is a
small rework of the old way we used to have to center SHOW lines before
SHOWCTR. I've couched it here as something you can test in clerk, but
obviously, you would use it in report by placing the filled variable *aa at
the beginning of the line. Do something similar with all lines you want to
center.
John
Visit The FP Room www.tinyurl.com/yuag7 24/7
1 ------- - - - - - - - - -
. If:
Then: end
2 ------- - - - - - - - - -
@keyT . If: '@keyT
Then:
2 ------- - - - - - - - - -
. If:
Then: aa(80); ab="I am centered"
3 ------- - - - - - - - - -
. If:
Then: mid(aa,"40"-len(ab)/"2",len(ab))=ab
4 ------- - - - - - - - - -
. If:
Then: show("18","1") aa; end
More information about the Filepro-list
mailing list