Print Page | Close Window

Tooltips in RibbonBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10997
Printed Date: 16 September 2024 at 4:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltips in RibbonBar
Posted By: chrisABC
Subject: Tooltips in RibbonBar
Date Posted: 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



Replies:
Posted By: cmm2006
Date Posted: 12 June 2008 at 10:59am
hi,
try adding something like that:
CommandBars.ToolTipContext.Style = xtpToolTipStandard
 


Posted By: SuperMario
Date Posted: 12 June 2008 at 11:19am
Nothing special, should show tips as it was installed.


Posted By: chrisABC
Date 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


Posted By: SuperMario
Date Posted: 12 June 2008 at 3:27pm
Commandbars.Options.ShowPopupBarToolTips = True


Posted By: chrisABC
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net