Well, what do you want to do with the buttons? The event fires letting you
know the button has been clicked. If you want to do your own processing
such as the ViewZoom event, you can.
I was mistaken about printing, the viewer doesn't have a print event, but if
you (in your Designer) click on the CrystalReportViewer object you can see
all of its events. I'm sure you knew that, just wanted to throw it out
there..
So with those events available you can do whatever you want. As for getting
to the actual buttons, I just looked at the object heirarchy in object
browser for
CrystalDesicions.Windows.Forms.CrystalReportViewer
The buttons aren't declared within there it looks like only properties
enabling if you can see them or not. So my assumption is that they are
declared private (or drawn within a paint event) But modifying them or
hooking them doesn't appear to be possible.
I hope this helps some.
-CJ
"Bernie Yaeger" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi CJ,
>
> You said: 'if you want to do more with them they are available'. How so?
> When you look at the events that are available, I don't see any way of
> getting to the various buttons. If there is a way, I'd love to know it
> also.
>
> Tx,
>
> Bernie Yaeger
>
> "CJ Taylor" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > No, CRV will handle most of those events on its own, but if you want to
do
> > more with them they are availible. And you handle them sthe same as
other
> > events.
> >
> > -CJ
> > "Stan Sainte-Rose" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > >
> > > Hi,
> > >
> > > How to capture the CrystalReportViewer Events.
> > > I need to do some actions when the user clicks on the close and print
> > icons.
> > > By the way, I thank you for your contributions...
> > >
> > > Stan
> > >
> > >
> > >
> >
> >
>
>
|