Print Page | Close Window

missing property ShowCaption

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=1918
Printed Date: 28 June 2024 at 9:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: missing property ShowCaption
Posted By: jiri
Subject: missing property ShowCaption
Date Posted: 06 March 2005 at 9:35am

Hi,

I cannot find following property:

DockingPaneManager.Options.ShowCaption = False

(ver. >= 9.60)

Thanks for answer

Jiri




Replies:
Posted By: ianp
Date Posted: 06 March 2005 at 11:07am

Hi Jiri

I believe ShowCaption has now been moved to the PaintManager when refering to all panes and Options when referring to a single pane.

The code below is from the help for 9.60.1

'Hides the caption for ALL docking panes.
DockingPaneManager.PaintManager.ShowCaption = False
'Finds the pane with ID ID_PANE_SEARCH and hides its caption. All other panes
'will still display a caption.
DockingPaneManager.FindPane(ID_PANE_SEARCH).Options = PaneNoCaption
 
The PaintManager also contains a few new members such as DrawSingleTab, CaptionFont and HighlightActiveCaption


Posted By: Superpippo
Date Posted: 11 March 2005 at 6:40am

I am a little confused.

I have used the DockingPaneManager.Options.ShowCaption option in my code with rel. 9.51.

Now i load a 9.6 release and my code does'nt work. Looking at the forum i see that the ShowCaption as been moved.

But i am really worry, i don't think this is so safe: what appened at a distributed application if a user load a new release of XtremeDock ? If the XtremeDock dll and ocx have the same name the old application fall, if the name are different every time i change minor release of xtremedock i have to put the new file in my installation (better but not so good).

Do you often move property in this way ?

 

 

 



-------------
SuperPippo



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