![]() |
DestroyPane Problem |
Post Reply
|
| Author | |
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Topic: DestroyPane ProblemPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 February 2006 at 8:05am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 February 2006 at 8:49am |
|
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 |