borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (why should one move to .Net platform ?)Next Topic (Text File Parser ?) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Command button
Poster Message
mMythos
Level: Guest


icon Command button

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
| Quote Reply
stickleprojects
Level: Moderator


Registered: 09-09-2002
Posts: 891
icon 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)

27-03-2004 at 02:51 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Command button
Previous Topic (why should one move to .Net platform ?)Next Topic (Text File Parser ?) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder