Visual Basic.Net Programming

Discussion in 'MCAD / MCSD / MCPD' started by chansam, Oct 19, 2007.

  1. chansam

    chansam New Member

    4
    0
    8
    Can some one tell me how I can make the Button controls on a form change colour as the mouse pointer passes through them. I have tried to use the DragOver event and MouseHover but the result is not as I expect-the change is not immediate. I don't know if any one has used Microsoft's Navision, as the mouse pointer is moved over the button controls they change colour from blue to gold and back as the mouse pointer moves off the button.
     
    WIP: MCAD,MCDBA
  2. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    172
    211
    Try the MouseEnter/MouseLeave Events.
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present
  3. chansam

    chansam New Member

    4
    0
    8
    YES, it has worked!
     
    WIP: MCAD,MCDBA

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.