Karen:
To
make it work, you need to use mono spaced fonts (such as Courier) with your
LJSĀ
statements, this way the width will always stay the same and not shrink
like you get with proportional fonts.
Javier,
Javier
Valencia, PE
President
Valencia
Technology Group, L.L.C.
14315
S. Twilight Ln, Suite #14
Olathe,
Kansas 66062-4578
Office
(913)829-0888
Fax
(913)649-2904
Cell
(913)915-3137
================================================
Attention:
The
information contained in this message and or attachments is
intended
only
for the person or entity to which it is addressed and may
contain
confidential
and/or privileged material. Any
review, retransmission,
dissemination
or other use of, or taking of any action in reliance upon,
this
information by persons or entities other than the intended
recipient
is
prohibited. If you received this in error, please contact the sender
and
delete
the material from all system and destroy all copies.
======================================================
-----Original
Message-----
From:
[email protected] [mailto:[EMAIL PROTECTED]On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 5:23
PM
To: RBG7-L Mailing
List
Subject: [RBG7-L] - List
boxes and headings
I really like
using list boxes for purposes where the user will
select a record and then
probably press a button to do something.
I like it over a DBGrid because
the entire record is highlighted when
you select it. And it's
a much cleaner look than a scrolling region.
However, I wish it could
put headings over the columns. RBase makes
a "best guess" on how
wide to make the columns, so the list box
column widths can change.
I put a bunch of LJS on each of the columns
to be displayed, and
that sorta works. I can then with trial and error locate
a static
label above each column.
At least, I thought that worked. Turns
out that if I do a (LJS(colname,30))
and no data in that column is 30
long, then it will make that column
narrower and now my theadings no
longer line up. The data is not in
a temp table. All I can
think of doing is dump it to a temp table and use
an SFIL to put hard
spaces after one row in each column that is not the
maximumn width.
I think this will work, but I'm not sure.
Anyone done anything
to make lining up headings easier?
Karen