|
-
Jun 20th, 2009, 01:51 AM
#1
Thread Starter
Hyperactive Member
A crystal report viewer problem
I am using Crystal report Viewer to load a report
The reports are loaded on the button on the form.
I need whenever I press the button the button is disabled until the reports are loaded.
How can I do it
Thanks in Advance
Rgrds
A. Haider
-
Jun 20th, 2009, 02:20 AM
#2
Re: A crystal report viewer problem
-
Jun 20th, 2009, 02:55 AM
#3
Thread Starter
Hyperactive Member
Re: A crystal report viewer problem
 Originally Posted by formlesstree4
Button1.enabled = false
HAHAHA
Did u clearly read my post I said until the report is loaded
I have to enable the button when the report is visible on crystal report viewer
So there must be some event or method?
Plz help
-
Jun 20th, 2009, 01:02 PM
#4
Re: A crystal report viewer problem
Use a BackgroundWorker to load the Crystal Report. When its finished, in the BGWorker's Work completed event, enable the button.
I directly answered your question, just not in a helpful way. Is this better?
-
Jun 21st, 2009, 07:53 AM
#5
Thread Starter
Hyperactive Member
Re: A crystal report viewer problem
And that exaclty I want to do. But How?
I cannot do it
I have used several crystal report viewer methods but the thing that I wish is not working
-
Jun 21st, 2009, 12:39 PM
#6
Re: A crystal report viewer problem
Look up information on using BackgroundWorkers. They're difficult at first, but trust me, they're not that bad.
-
Jun 22nd, 2009, 06:08 AM
#7
Re: A crystal report viewer problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|