Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 10:08:11 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
How to disable button click when dragging?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to disable button click when dragging? (Read 261 times)
Bruce_Dickey
Sr. Member
Posts: 67
How to disable button click when dragging?
«
on:
October 04, 2011, 04:17:48 PM »
Hi,
If I click (and not release) on a "status" style (also called toggle) button and then drag off the button before releasing, it is decorated as if it was clicked.
How can this be prevented?
I don't want it to fire onClick in this situation either -- didn't check yet to see if it is....
Thanks,
Bruce
Logged
linb
Administrator
Hero Member
Posts: 435
Re: How to disable button click when dragging?
«
Reply #1 on:
October 04, 2011, 09:20:00 PM »
In you beforeMousedown event:
return false;
Logged
Bruce_Dickey
Sr. Member
Posts: 67
Re: How to disable button click when dragging?
«
Reply #2 on:
October 05, 2011, 08:51:00 AM »
Thanks
For the button, returning `false` in the `beforeClickEffect` handler works.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...