Click to See Complete Forum and Search --> : Buttons????


phirestalker
March 23rd, 2003, 02:46 PM
ok I have a program that needs to perform actions repeatedly but only WHILE the user has the Button held down the only way i figure I can do that since regular buttons don't have a pressed propery is to create a thread and point it to a constant while loop and start the thread in the mousedown event handler of the button and stop the thread in the mouseup event handler. but what I want to know is: Is there a better way???


Please help

Phire

phirestalker
March 25th, 2003, 11:38 AM
well the thread idea works pretty well so I think I got it