|
-
May 9th, 2013, 12:24 AM
#1
[RESOLVED] Need Press/Hold/Release type button
How do I make a button that does one function when pressed and held down and another function when released?
Last edited by jmsrickland; May 9th, 2013 at 12:30 AM.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
May 9th, 2013, 12:49 AM
#2
Re: Need Press/Hold/Release type button
Can't you use the MouseUp and MouseDown events of the Command Button?
-
May 9th, 2013, 01:05 AM
#3
Banned
Re: Need Press/Hold/Release type button
-
May 9th, 2013, 10:30 AM
#4
Re: Need Press/Hold/Release type button
@ladoo your code is not for press and hold.
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
-
May 9th, 2013, 10:32 AM
#5
Re: Need Press/Hold/Release type button
 Originally Posted by dee-u
Can't you use the MouseUp and MouseDown events of the Command Button?
OMG, of course. It never entered my mind, duh
Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|