DrawTextNoPrefix |
Post Reply |
Author | |
VDF1
Groupie Joined: 28 November 2007 Location: Netherlands Status: Offline Points: 16 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
VDF1
Groupie Joined: 28 November 2007 Location: Netherlands Status: Offline Points: 16 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |