![]() |
ToolTips in CommandBar |
Post Reply ![]() |
Author | |
lexicon ![]() Groupie ![]() Joined: 26 January 2007 Status: Offline Points: 46 |
![]() ![]() ![]() ![]() ![]() Posted: 13 May 2008 at 11:18am |
Hello
I have this code but the tooltips aren't display at all
What i have forgotten?
Dim Toolbar As CommandBar
Dim ControlNew As CommandBarPopup Set Toolbar = CommandBars.Add("Standard", xtpBarTop) CommandBars.ToolTipContext.Style = 4 CommandBars.Options.LargeIcons = 1 CommandBars.EnableActions AddControl Toolbar.Controls, xtpControlButton, 103, "test1", True With Toolbar.Controls Set ControlNew = .Add(xtpControlSplitButtonPopup, 104, "test") ControlNew.CommandBar.Controls.Add xtpControlButton, 105, "test1" ControlNew.DescriptionText = "test2" ControlNew.CommandBar.Controls.Add xtpControlButton, 106, "test" ControlNew.DescriptionText = "test3" End With Set CommandBars.Icons = ImageManager1.Icons CommandBars.Options.UseDisabledIcons = True UseDisabledIcons = True CommandBars.Options.SetIconSize True, 32, 32 CommandBars.Options.ShowTextBelowIcons = True CommandBars.Options.ShowExpandButtonAlways = False CommandBars.VisualTheme = xtpThemeOffice2003 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just tried with new sample and works for me.
What do you have in AddControl code ?
Try to manually assign tooltip for control:
ControlNew.ToolTipText = "ee1"
also try add
CommandBars.Options.ToolBarScreenTips =True
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
lexicon ![]() Groupie ![]() Joined: 26 January 2007 Status: Offline Points: 46 |
![]() ![]() ![]() ![]() ![]() |
I tried ControlNew.ToolTipText = "ee1" and it works
Thank you very much
|
|
![]() |
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 |