| |
ActiveReports 6 Support
Started by DavyMac23 at 03-08-2010 9:23 AM. Topic has 2 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
03-08-2010, 9:23 AM
|
DavyMac23
Joined on 02-27-2008
Posts 5
|
|
|
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
Joined on 12-11-2008
Posts 2,414

|
|
|
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
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
|
|
|
|
|