Print Page | Close Window

How to Pin a Pane programmatically

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=17401
Printed Date: 15 May 2024 at 8:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to Pin a Pane programmatically
Posted By: GMWade
Subject: How to Pin a Pane programmatically
Date Posted: 11 October 2010 at 12:05pm
If I hide a pane...
 
DockingPaneManager.HidePane DockingPaneManager.Panes(1)
 
...then show it again...
 
DockingPaneManager.ShowPane 1
 
...the pane is shown, but not pinned. 
 
How can I do that?


-------------
     Product: Xtreme Suite (ActiveX) version 13.0.0
     Platform: Windows XP (32bit) - SP 2
     Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 13 October 2010 at 1:02am
Hi,

Try frist call ClosePane.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Hemesh
Date Posted: 13 October 2010 at 5:25am
yeah, that'll work. I use a function...

Public Sub ShortcutBarVisible(ByVal blnVisible As Boolean)
    If blnVisible Then
        dpmMain.DockPane dpmMain.Panes(1), 205, 205, DockLeftOf, Nothing
    Else
        dpmMain.Panes(1).Close
    End If
End Sub


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net