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
- [RBG7-L] - List boxes and headings KarenTellef
- [RBG7-L] - Re: List boxes and headings A. Razzak Memon
