Results 1 to 2 of 2

Thread: restricting mouse click

  1. #1
    FrozenFear
    Guest

    Question restricting mouse click

    hi everyone,

    in my program, i am waiting another process in a while loop.

    during this time, i am changing the mousepointer to hourglass. but the mouse can still click on the buttons on the form. this causes problems to appear since i am waiting something else to finish.

    i want to know, how to disable the mouse click to anything in the program, and then enable of course.

    thanks alot...

  2. #2
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Can't you just set the form's enabled property to false to stop user interaction, and then to true when you want to let them interact again?

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