Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - DrawTextNoPrefix
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DrawTextNoPrefix

 Post Reply Post Reply
Author
Message
VDF1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 November 2007
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VDF1 Quote  Post ReplyReply Direct Link To This Post Topic: DrawTextNoPrefix
    Posted: 13 February 2008 at 2:38pm
The DockingPane TabPaintManager has a property called DrawTextNoPrefix. This works fine but since the text that is displayed comes from the Title property of the Pane object I miss this setting for the Pane object to get the same behaviour for the same text
 
So I set the Title for the Pane and see the same text being used for the TabButton Label but for the tabbutton label the "&" can be replaced for an underscore while that does not work for the captionbar of the pane. Is this an oversight or do I miss something.
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609
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: 14 February 2008 at 1:22am
Hello,
 
Do you mean you set caption to "A & B" and don't see "&" ? I tried with last version and it works for me. What version do you have?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
VDF1 View Drop Down
Groupie
Groupie
Avatar

Joined: 28 November 2007
Location: Netherlands
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote VDF1 Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2008 at 1:35am

Oleg,

It is the opposite. I set the title to "Sales&Persons" and in the tabbutton label the "&" gets replaced by an underscore under "P" while the captionbar shows "Sales&Persons". The "&" was meant to indicate the underscore.
 
So why is there a DrawTextNoPrefix for the tabbutton label but not a similar thing for the pane caption or - since the same text value is used for caption and tabbutton label - why not applied to both text strings? And - as the documentation says - a double "&" makes it a real "&". So if I want "Sales & Persons" I write "Sales && Persons".
 
Using 11.2.1
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609
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.