AttachPane --> OpenCrystalReport |
Post Reply |
Author | |
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
Posted: 30 April 2008 at 9:05am |
I like to load a CrystalReport only if needed. That means only if the user like to see the pane with the CrystalReport-ViewerControl on it.
But if I load the Report in the AttachPane-Event, the application is kind of locked. You have to click on the desktop to unlock the application. Please check the sample. Run it and click on the Crystl-Tab. With a timer (to decouple the AttachPane event from the OpenReport function) I can solve this problem, but is there another solution? VB6 SP6 Crystal Reports 11 Release 2 Components CodeJock Docking Panes 11.2.2 Windows XP SP2 uploads/20080430_090445_DockingPaneCrys.zip |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
As workaround you can disable dragging while CrystalReport was not initialize:
Private Sub DockingPane1_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, ByVal Container As XtremeDockingPane.IPaneActionContainer, Cancel As Boolean) If (Action = PaneActionDragging) And (Pane.Id = 2) And (Picture2.Visible = False) Then Cancel = True End Sub |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Jean
Senior Member Joined: 11 December 2006 Status: Offline Points: 110 |
Post Options
Thanks(0)
|
Thank you, Oleg. It's working!
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |