Results 1 to 8 of 8

Thread: [2008] How to Ignore a Click Event?

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2008
    Posts
    150

    [2008] How to Ignore a Click Event?

    Hey all,

    I'm developing a touchscreen application, and today's task is to make a custom slider control made up of a panel and a picturebox who's parent is said panel.

    The picturebox is moved up and down the panel based on the cursor location during the .MouseMove event. That part, works a treat. Problem is, if the panel is clicked (which can happen inadvertently with a touchscreen), the picturebox will slide down to the cursor's location, then snap back to it's original location and do this over and over...giving quite an ugly affect.

    I can't see how my code makes it slide and go back repeatedly, so I was thinking the easiest way out is to ignore the click event.

    Any ideas? I have attached the project so you see exactly what I mean

    Cheers,
    Scott
    Attached Files Attached Files

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