Results 1 to 19 of 19

Thread: How do I make colour changes on mouse movement?

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2006
    Posts
    39

    Question How do I make colour changes on mouse movement?

    I have got four option boxes on my form and when i put my mouse over the option boxes I want then to change colour.

    What I have at the moment is,

    VB Code:
    1. Private Sub opt1_MouseMove()
    2.  
    3.     Let opt1.BackColor = vbYellow
    4.     Let opt2.BackColor = vbGreen
    5.     Let opt3.BackColor = vbGreen
    6.     Let opt4.BackColor = vbGreen
    7.    
    8. End Sub

    Could someone please help?

    EDIT

    I'm using VBA and i would like the colour of the option boxes to change when they are selected or clicked on
    Last edited by Shmokin; Feb 15th, 2006 at 02:32 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width