![]() |
Tooltips in RibbonBar |
Post Reply
|
| Author | |
chrisABC
Senior Member
Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
Quote Reply
Topic: Tooltips in RibbonBarPosted: 11 June 2008 at 4:00pm |
|
Using the RibbonBar Sample I am trying to get tooltips to be displayed. But cannot find out how to do this.
Is it possible? Is there a secret I need to know? |
|
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
![]() |
|
cmm2006
Senior Member
Joined: 26 September 2006 Status: Offline Points: 118 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2008 at 10:59am |
|
hi,
try adding something like that:
CommandBars.ToolTipContext.Style = xtpToolTipStandard
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2008 at 11:19am |
|
Nothing special, should show tips as it was installed.
|
|
![]() |
|
chrisABC
Senior Member
Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2008 at 2:32pm |
|
Sorry, here is more information.
Tooltips work OK on the RibbonBar tabs, and on buttons in those tabs. But I cannot get tooltips to work on any buttons in popup menus (eg the one that appears when you click on the SystemIcon top left of RibbonBar). Example code: Set PopUpBar3.Controls.Add xtpControlButton, ID_TEST, "Daybook" PopUpBar3.FindControl(, ID_TEST).ToolTipText = "This should appear" If I get the program to debug.print the tooltiptext, it correctly prints "This should appear". |
|
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2008 at 3:27pm |
|
Commandbars.Options.ShowPopupBarToolTips = True
|
|
![]() |
|
chrisABC
Senior Member
Joined: 05 June 2008 Status: Offline Points: 258 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 June 2008 at 4:35pm |
|
Good. That worked fine.
Thank you. ![]() |
|
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
![]() |
|
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 |