Coding on a form

R

Rob

I am looking to write a code that when a user runs their mouse point over a
label a query will appear and then disappear when they move their mouse
pointer off the label. Can this be done?
 
F

fredg

I am looking to write a code that when a user runs their mouse point over a
label a query will appear and then disappear when they move their mouse
pointer off the label. Can this be done?

What do you mean by 'a query will appear'?
Perhaps you mean a predefined text like
"Click here to open."

If so, write:

Click here to open.

on the label's ControlTipText property line.
It's found on the 'Other' tab.
 
B

Biz Enhancer

Is this query that pops up informational or does it require running an SQL
query?
If it requires VB code to run, the put that on the "mouse move" event.
otherwise use a controltip label.

Regards,
Nick
 

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

Top