Print Page | Close Window

Create floating panes by double clicking titlebar

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=6437
Printed Date: 31 January 2025 at 1:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Create floating panes by double clicking titlebar
Posted By: Jean
Subject: Create floating panes by double clicking titlebar
Date Posted: 16 February 2007 at 2:53am

I like to implement the following behavior for my application:
If the user double clicks on the titlebar of a pane, the pane should be floating and the size should be the full size of the form.
But if the user creates floting panes by dragging the pane the size should not be changed by code.

So I have to differentiate this two situations:
-user creates a floating pane by double clicking on the titlebar of the pane
-user creates a floating pane by dragging a not floating pane from a group

How can I do this? Any suggestion is welcome, thanks!




Replies:
Posted By: Jean
Date Posted: 27 February 2007 at 1:21am

Instead of a doubleclicking on the titlebar of a pane I use now the MenuButton (.Options = PaneHasMenuButton).
It would be nice if I could chance the ToolTipText of this button and maybe chance the icon.
There's a similar question about changing the ToolTipText without the translations DLLs: https://forum.codejock.com/forum_posts.asp?TID=6490 - https://forum.codejock.com/forum_posts.asp?TID=6490
It would be great if we could change the ToolTipText in sourcecode.

Or is there a way to add custom buttons in the titlebar of a pane?




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