Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Is there a ToolTip event?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is there a ToolTip event?

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: Is there a ToolTip event?
    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
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.