Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - AttachPane --> OpenCrystalReport
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AttachPane --> OpenCrystalReport

 Post Reply Post Reply
Author
Message Reverse Sort Order
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post Topic: AttachPane --> OpenCrystalReport
    Posted: 06 May 2008 at 7:47am
Thank you, Oleg. It's working! 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2008 at 3:12am
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
Back to Top
Jean View Drop Down
Senior Member
Senior Member
Avatar

Joined: 11 December 2006
Status: Offline
Points: 110
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jean Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.