
Panel Formatting
How do I ...
How do I set up multiple columns
on a panel?
You can set up multiple columns on a panel to provide a "spreadsheet
type" view (multiple columns left-aligned) by using the <Define
Format> command.
For example, define a series of formats using the LEFT and RIGHT parameters
in the Column function to set up the column widths:
<Define Format> "Column 1", Column(6,20,80),
"Espy Serif", 10, , ,Left, FALSE
<Define Format> "Column 2", Column(6,81,140), "Espy
Serif", 10, , ,Left, FALSE
<Define Format> "Column 3", Column(6,141,200), "Espy
Serif", 10, , ,Left, FALSE
Then, use the <Format>
command to place data into each
column:
<Define Panel> "My columns"
<Format> "Column 1"
My column 1 data.
<Format> "Column 2"
My column 2 data.
<Format> "Column 3"
My column 3 data.
<End Panel>
Getting the text to line up horizontally to create the appearance of rows
may take a few trials, but this method should achieve the desired effect.
Some alternate approaches include:
- Adding tabs to the panel text - doesn't work, because Guide Maker reads
the tabs as spaces.
- Switching to a monospaced font (Courier or Monaco) - works, but sticking
with the Espy font may be more visually-appealing.
- Build the table in Word or Excel, then place a PICT of the table using
the
<PICT>
command - works well for formatting the table,
but requires you to work in the other environment and recreate the PICT
whenever you need to change the table text.
© 1997, guideWorks, LLC -- Last updated: 970325 GPB