Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - No Caption only when tabbed.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

No Caption only when tabbed.

 Post Reply Post Reply
Author
Message
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Topic: No Caption only when tabbed.
    Posted: 05 January 2006 at 1:40pm

Is there a way to remove the caption bar from a pane only when it's tabbed?  If panes are tabbed they can be ripped away using the tab so there is no need for the caption but, but I want a caption bar when they aren't tabbed so the panes can be arranged and/or re-tabbed.

Eg:

I don't want the 'List' caption when they are tabbed.  I'd like it to look like this:  (Where I set the ShowCaptoin property to false)

The problem with setting that property to false is when the 2 views are no longer tabbed they don't have a caption so you can't drag them back into tabbed layout.

How is this possible?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 January 2006 at 9:06am

Hello,

There is no simple way for it. But you can hide caption always and call

DockingPaneManager.PaintManager.DrawSingleTab = True

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Posted: 06 January 2006 at 11:04am
Thanks Oleg,  that's a reasonable work-around...
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.