Print Page | Close Window

Remove Pane TitleBar & Prevent Grouping

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=1851
Printed Date: 27 September 2024 at 7:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Remove Pane TitleBar & Prevent Grouping
Posted By: idolpx
Subject: Remove Pane TitleBar & Prevent Grouping
Date Posted: 24 February 2005 at 2:03pm

It's me again! I thought i should start a seperate message for this. :)

Is there a way to remove the TitleBar of a Pane?

I also need to prevent it from allowing other Panes to be grouped with it.

 




Replies:
Posted By: JamesH
Date Posted: 24 February 2005 at 2:19pm
Have you tried the Pane objects "Options" property... setting it to PaneNoCaption?


Posted By: idolpx
Date Posted: 24 February 2005 at 2:31pm

That doesn't appear to be an option for me.  I'm using v9.51.

Maybe I need to upgrade.



Posted By: SuperMario
Date Posted: 24 February 2005 at 2:33pm
Yes, it is new in 9.60.  


Posted By: SuperMario
Date Posted: 24 February 2005 at 3:04pm
I can't think if a good way to stop a single pane from "accepting" another pane to group with.  About all I can think of is to stop them all from grouping.  Still group them by code, but you would then need to stop the user from removing them from the group as they couldn't put them back in a group.

Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, Cancel As Boolean)
    On Error Resume Next

    If (Action = PaneActionAttaching) Then
         &nbs p;  Cancel = True
    End If
End Sub



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