Tool Tips!!!!!!!

This may sound simple, but how do I make a tool tip come up when someone passes the mouse over a command button and/or a label?????


VB 4.0 Basic editon


Thanx,


ZiP


Comments

  • : This may sound simple, but how do I make a tool tip come up when someone passes the mouse over a command button and/or a label?????

    : VB 4.0 Basic editon

    : Thanx,

    : ZiP


    In VB6 you can simply edit the ToolTipText-

    Property, but without this option, you will

    have to do it yourself. Get an invisible Label.

    Set the mousemove-funktions of the desired button/s to something like


    label-coordinates = mousecoordinates

    Label-Text = your ToolTipText

    Label.visible = true


    Don't forget to turn the label invisible

    when the cursor leaves the button.


    Hope this helps,

    -nv


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories