Hiding columns
Is there a way to "hide columns" in a tabular report?
I know i canset the Visible property to false in the fields, but is
there a way to shift the rightmost controls to fill the space?
thanks
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com
Quid quid latine dictum sit, altum viditur
I know i canset the Visible property to false in the fields, but is
there a way to shift the rightmost controls to fill the space?
thanks
--
Guillermo Castaño Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
GuillermoC@GrupoMillennium.com
www.GrupoMillennium.com
Quid quid latine dictum sit, altum viditur
This discussion has been closed.
Comments
print across the page in columns? I will guess that you have one
Report.Column and have labels and dbtexts aligned next to each other to give
you a tabular appearance. Before each band prints, you can set the
visibility and position of controls for that band. The bands have a
BeforePrint event that you can use. You can also use the BeforeGenerate
event. See the RBuilder help file for all event descriptions of the bands.
You'll need to set the components to the right, to be the component to the
left's left + width + offset space. You'll want to use the printer canvas
for the report to measure the width of the data field so that you can set
the dbText to the right's left position correctly as the detail bands
generate (only if Autosize is True). TppReport.Printer.Canvas.TextWidth()
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com