mouseHover

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rudiga

    #1

    mouseHover

    Hi,

    I am trying to get this code to work just to check if i can trigger an event
    when the mouse goes over a button. But it doesnt seem to be working, can
    anyone help?

    void butRussia_Mouse Hover(object sender, System.Windows. Forms.MouseEven tArgs
    e)

    {

    System.Console. Write("ello");

    }



    Thankyou



    Rudiga




  • Stoitcho Goutsev \(100\)

    #2
    Re: mouseHover

    Rudiga,

    What do you mean it doesn work? Did you attach this method to the event?
    It doesn't fire or it doesn't work as you expected to work?

    Probably it would be a good idea to post some simple sample code that we can
    compile and test.

    --

    Stoitcho Goutsev (100)

    "Rudiga" <none@none.ne t> wrote in message
    news:h_HMf.1928 2$57.18105@news fe3-win.ntli.net...[color=blue]
    > Hi,
    >
    > I am trying to get this code to work just to check if i can trigger an
    > event when the mouse goes over a button. But it doesnt seem to be working,
    > can anyone help?
    >
    > void butRussia_Mouse Hover(object sender,
    > System.Windows. Forms.MouseEven tArgs e)
    >
    > {
    >
    > System.Console. Write("ello");
    >
    > }
    >
    >
    >
    > Thankyou
    >
    >
    >
    > Rudiga
    >
    >
    >
    >[/color]


    Comment

    • WhiteWizard

      #3
      RE: mouseHover

      I was able to do this so it may be as simple as where you are looking for the
      output. I would suggest you change the System.Console. Write("ello"); to
      MessageBox.Show ("ello"); or if you leave the code alone, be sure to check
      the Output window in the IDE to see if it did the write. It did for me.

      HTH
      --
      MCSD.NET, MCAD, MCT


      "Rudiga" wrote:
      [color=blue]
      > Hi,
      >
      > I am trying to get this code to work just to check if i can trigger an event
      > when the mouse goes over a button. But it doesnt seem to be working, can
      > anyone help?
      >
      > void butRussia_Mouse Hover(object sender, System.Windows. Forms.MouseEven tArgs
      > e)
      >
      > {
      >
      > System.Console. Write("ello");
      >
      > }
      >
      >
      >
      > Thankyou
      >
      >
      >
      > Rudiga
      >
      >
      >
      >
      >[/color]

      Comment

      Working...