Change 'control tip text' in mouse event ??

G

Guest

I have several buttons which do double-duty. I change the captions as I need to. When I do this, I need to change the control tip text. Can I change the control tip text in one of the mouse events and will this get control before the control tip text is displayed?
 
B

Byron

Yes, you can change the Control Tip text the same way you
are changing other things.

Try:

me.YourButtonName.ControlTipText = "Whatever"

HTH

Byron
-----Original Message-----
I have several buttons which do double-duty. I change
the captions as I need to. When I do this, I need to
change the control tip text. Can I change the control tip
text in one of the mouse events and will this get control
before the control tip text is displayed?
 
B

Byron

David,

Sorry if I did not understand completey.

I have not used the Mouse events much, however, I would
assume that if you have the same code as I described
previously in any event that fires, that event will make
the change to the tip.

HTH

Byron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top