Print Page | Close Window

How to check if Pane pinned

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=16186
Printed Date: 06 October 2024 at 5:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to check if Pane pinned
Posted By: chrisABC
Subject: How to check if Pane pinned
Date Posted: 13 February 2010 at 6:12am
I have a Pane normally set to autohide. The user can click the little pin to prevent Pane from hiding. This all works OK.

How can I check if the Pane is pinned or not?


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: Aaron
Date Posted: 14 February 2010 at 2:19am
Hi Chris,
 
You can check this in DockingPane Action event:
 
Private Sub DockingPaneMain_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal pane As XtremeDockingPane.IPane, ByVal Container As XtremeDockingPane.IPaneActionContainer, Cancel As Boolean)
   
    If Action = PaneActionPinned Then
        .....
    End If
End Sub
 
 


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

Zero replies is not an option....


Posted By: chrisABC
Date Posted: 14 February 2010 at 3:35am
Thanks Aaron,

That means I must catch the user in the act of pinning the Pane.

I was hoping for a property that I could check at a later time,
   eg.  Pane.Pinned = True   ?


But if there is only the Action, I guess I can set my own variable in the Action, and then check the variable later?


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: Aaron
Date Posted: 14 February 2010 at 9:40am
Hi Chris,
 
You could do that or...
 
There's a property Pane.Hidden but I don't know if this covers all cases. You could try though...
 
 
 


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

Zero replies is not an option....



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