Action on event click before mouse released
10 years ago.
First of all, thanks very much to Dan for the extremely quick response to my last question.
I have a situation where I need to be able to record additional information from the user before allowing certain events to be moved. When I generate the initial page, I set the moveDisabled value to true for those items, and then have a user click event used to open a modal dialog to allow the user to enter the required data, and unlock the event once the required data has been entered. This works relatively well, but there is one problem. If the user clicks on the event and releases the mouse button, my onEventClicked function fires and unlocks the event. If the user simply clicks on the event and then tries to move it before releasing the mouse button, it appears to be treated as a move, and since the event is defined as moveDisabled, nothing happens. Is there an event I can grab when the mouse is pressed but before it's released?
Alternatively, is there a better way of handling what I'm trying to achieve in terms of requiring additional data to be entered by the user before allowing those events to be moved?
This also brings up another question - what is the difference between onEventClick and onEventClicked ?
Thanks,
Blake
DayPilot