By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,501 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,501 IT Pros & Developers. It's quick & easy.

CrystalReportViewer questions

P: n/a

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

Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

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

Nov 20 '05 #2

P: n/a
Thanks for your reply
In fact, I want to know if the user clicks on the Print icon and the Close
Viewer icon.
By the way, when I click on the Close icon, it doesn't close the view.
Any suggestions ?
Stan

"CJ Taylor" <no****@blowgoats.com> a écrit dans le message de
news:vu************@corp.supernews.com...
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" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

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


Nov 20 '05 #3

P: n/a
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" <no****@blowgoats.com> wrote in message
news:vu************@corp.supernews.com...
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" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

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


Nov 20 '05 #4

P: n/a
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" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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" <no****@blowgoats.com> wrote in message
news:vu************@corp.supernews.com...
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" <st**@cyber972.com> wrote in message
news:eF**************@TK2MSFTNGP09.phx.gbl...

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



Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.