ActiveReports 6 Support

Started by DavyMac23 at 03-08-2010 9:23 AM. Topic has 2 replies.

Print Search Rate
Sort Posts:    
   03-08-2010, 9:23 AM
DavyMac23 is not online. Last active: 3/9/2010 3:44:21 AM DavyMac23

Not Ranked
Joined on 02-27-2008
Posts 5
Document.Print() Focus
I'm printing a report by calling Report.Document.Print(False, False, True). This should print the report in the background without harassing the user with pop ups. When I do this my main form (windows forms application) loses focus and I cannot regain it. I've tried calling Me.Focus(), MyBase.Focus(), I even tried setting a variable and re-setting focus through a timer. Anyone know of a way to get this report to release the focus?
   Report 
   03-08-2010, 12:52 PM
SankalpS is not online. Last active: 1/19/2012 9:03:40 AM SankalpS

Top 10 Posts
Joined on 12-11-2008
Posts 2,414

DDStaff
Re: Document.Print() Focus

Attachment: Print_Test.zip
DavyMac23,

Unfortunately I was unable to reproduce the issue which you are experiencing. I created a small sample windows application and printed the report by calling Report.Document.Print(False, False, True); however the focus was still on the windows form. I have attached the sample application which I used for testing.

Could you kindly let me know the build of ActiveReports 6 you are using at the moment? Also if possible could you kindly modify the attached sample application, so that it replicates the issue and send it back to us, so that we may take a look as to what is happening with the application? Any further information provided to narrow down the issue would be appreciated.

Regards,
Sankalp
Sankalp Sen
GrapeCity- DataDynamics
   Report 
   03-08-2010, 1:45 PM
DavyMac23 is not online. Last active: 3/9/2010 3:44:21 AM DavyMac23

Not Ranked
Joined on 02-27-2008
Posts 5
Re: Document.Print() Focus
Calling Application.DoEvents() fixes this issue.
   Report 
GrapeCity » Product Support » ActiveReports 6... » Document.Print() Focus

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.