Re: Setting the visible property on TQRShape

Tom Nesler <[email protected]> Thu, 29 Aug 2002 09:10:04 -0700 (PDT)
Newsgroups gmane.comp.lang.delphi.quick-reports
Message-ID <[email protected]>
Hi Adam!
--- adam_stewart_99 <[email protected]> wrote:
> I am trying to hide some boxes on a report but setting the visible
> property doesn't seem to work.
> 
> Any help gratefully received.

TQRShape does not have a Visible property.  It has an 'enabled'
property which seems to work for me.

First, are you sure you are using a TQRShape component?
and second, how are you disabling this component?  The best way I know
of is to use the Band's beforePrint event to enable or disable a
component in that band.

Hope this helps!


=====
Tom Nesler

Live Long...Code Well... and Prosper! V

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com