![]() |
Display "&" in Shortcut Bar Item |
Post Reply ![]() |
Author | |
stefanadelbert ![]() Groupie ![]() Joined: 29 October 2008 Location: Australia Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() Posted: 16 July 2009 at 11:51pm |
I'm trying to add a docking pane item called something like "Salt & Pepper" using code like this:
Set item = DockingPane.AddItem(1000, "Salt && Pepper", frmContents.hWnd) The Shortcut Bar item that is added is labelled "Salt & Pepper", which is good. But the Tooltip that pops up (when the shortcut bar is minimised using "Show Fewer Buttons") says "Salt && Pepper", which is wrong. If I add the item like this: Set item = DockingPane.AddItem(1000, "Salt & Pepper", frmContents.hWnd) The Shortcut Bar item that is added is labelled "Salt _Pepper", which is wrong. However, the Tooltip that pops up (when the shortcut bar is minimised using "Show Fewer Buttons") says "Salt & Pepper", which is correct. How can I get both the Shortcut Bar button label and Tooltip to display "Salt & Pepper"? Thanks Stefan Windows XP SP3 Codejock 13.0.0 VB6 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Thanks, Indeed we have to fix it. Please use now Tooltip property to fix it:
Set ItemMail = wndShortcutBar.AddItem(1, "Salt && Pepper", frmPaneMail.hWnd)
ItemMail.Tooltip = "Salt & Pepper" |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
stefanadelbert ![]() Groupie ![]() Joined: 29 October 2008 Location: Australia Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() |
Thanks, Oleg. That work-around gets around the problem.
Please consider this issue solved. Stefan |
|
![]() |
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 |