Print Page | Close Window

Is there a ToolTip event?

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=11104
Printed Date: 11 November 2024 at 3:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is there a ToolTip event?
Posted By: chrisABC
Subject: Is there a ToolTip event?
Date Posted: 19 June 2008 at 4:15am
I have started using Markup in ToolTips and they look great.  But if I have to add a MarkUp ToolTip text string to every control and menu item, the amount of code will be very big.

So has anybody got a better idea for adding lots of MarkUp ToolTips?

For example, if there was a ToolTiprequired event, I could generate the tooltips only when needed.

Any ideas?


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: chrisABC
Date Posted: 19 June 2008 at 5:32am
I hardly believe it, but the following does work
(and solves my problem)

      .ToolTip = GetTip(123)



Private Function GetTip(byVal TipNbr as long) as String
     ..........code to create complicated MarkUp string to suit
        button 123 ...........
End Function


(I still cannot see how this can work, but it is great!!!    )


-------------
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