Print Page | Close Window

Pane Client Area

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=1698
Printed Date: 01 June 2024 at 10:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pane Client Area
Posted By: ianp
Subject: Pane Client Area
Date Posted: 24 January 2005 at 4:43pm

Is there any way of changing the positioning of the window/control attached to a pane?

I would like my forms and pictureboxes to be displayed in my panes with a 50 px border/padding between the pane borders and their border.

TabPaintManager.ClientMargin.SetRect 50, 50, 50, 50 only works if more than one pane are docked together as neighbours

PanelPaintManager.ClientMargin.SetRect 50, 50, 50, 50 doesn't affect the Panes Client area




Replies:
Posted By: SuperMario
Date Posted: 25 January 2005 at 7:28am
PanelPaintManager is for the Auto-hide Tabs.

Client area is only effected when tab is present, in next version you can add:

'Shows tab when only you pane in group
DockingPaneManager.PaintManager.DrawSingleTab = True

Meanwhile, take a look at the Form_Resize event of the frmPaneSeach form in the Office 2003 sample for a work around.





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