Rollover to affect textbox

foxy

Registered User.
Local time
Today, 23:38
Joined
Feb 17, 2009
Messages
64
Hi,

I have several command buttons on a form which each run a separate report. I then have a text box to display a description of each report (as attached image)

What I want is for the text within the text box to change depending on which command button the user rolls over, but when the mouse pointer is not over any command button, the text box need to be blank.

How would I implement this?

Cheers

Foxy
 

Attachments

  • img0001.JPG
    img0001.JPG
    17.3 KB · Views: 169
You could use the Mouse move event on each button to pass the description to a hidden label caption. But have your description reference the label.caption. The reason for this is that it will prevent the description from flickering. You do the same for the form mouse move event but send "" to the label caption.


David
 
Cheers,

At first I tried it with a text box and set the DefaultValue property on the mouse move event, I have now changed it to be a label caption property on the mouse move event. But it is still flickery when you move the mouse. Is there a way this can be stopped?

Cheers
 

Users who are viewing this thread

Back
Top Bottom