Hi, I need to program a command button such that when I click on it and hold, it will perfrom certain functions. And stop when I let go of the button. How do I do that? Thanks!
27-03-2004 at 11:40 AM
|
stickleprojects Level: Moderator Registered: 09-09-2002 Posts: 891
Re: Command button
Hi,
If you put code in the MouseDown and MouseUp events of the button, you can detect when the user is holding down the mouse and act accordingly.
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)