Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - How to Pin a Pane programmatically
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to Pin a Pane programmatically

 Post Reply Post Reply
Author
Message
GMWade View Drop Down
Newbie
Newbie


Joined: 11 October 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote GMWade Quote  Post ReplyReply Direct Link To This Post Topic: How to Pin a Pane programmatically
    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
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: 13 October 2010 at 1:02am
Hi,

Try frist call ClosePane.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post 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
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.141 seconds.