![]() |
DestroyPane Problem |
Post Reply ![]() |
Author | |
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() Posted: 27 February 2006 at 5:02pm |
I am trying to destroy a pane with a command button on the form that is on that pane. I have the following code:
Dim a As Pane Set a = frmParent.DockingPaneManager.FindPane(3) frmParent.DockingPaneManager.DestroyPane (a) I keep getting a type mismatch error and i'm not sure why. Can anyone help? Thanks |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, instead frmParent.DockingPaneManager.DestroyPane (a) use frmParent.DockingPaneManager.DestroyPane a :) |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
Wow. How fried was I?
Thanks! |
|
![]() |
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 |