Dock pane programatically |
Post Reply |
Author | |
ctorres
Newbie Joined: 22 November 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 22 November 2005 at 7:00am |
Hi, How can i manage to use the Action event so when the user tries to close a pane it just docks using the standard animation. If i just hide the pane will instanlly disappear. This is my code: Private Sub dpMain_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean) Thanks.
Camilo |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Remove "Action = PaneActionDocking"
If Action = PaneActionClosing Then Cancel = True |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ctorres
Newbie Joined: 22 November 2005 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Oleg, The real issue is that i don't want to use the .hide method because it will just instanlly disappear the pane and what i want is that the usual animation of closing takes place. Thanks for your response. Camilo |
|
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 |