12-05-2007 09:33 AM
12-05-2007 11:05 AM
I see no easy solution to your problem: it's difficult to understand when the user double-clicks inadvertedly or on purpose. Supposing you can detect this situation, you could discard the click event on the button by returning 1 to the function, or you could simply rise a flag that instructs button callback to exit without doing nothing.
In situations like this I usually prompt a confirmation message with PromptPopup so that the user is required for an explicit confirmation of this action.
12-05-2007 11:51 AM
12-05-2007 12:00 PM
Thanks for the suggestions, however, neither of them are options for me. This is a widely distributed program so I don't have control over the mouse functions. And it's been around awhile so I don't have the liberty of adding the confirmation popup. I guess I will try disabling the buttons within the event call back.
DJW
12-05-2007 03:42 PM
12-06-2007 03:33 AM
12-06-2007 03:57 AM
12-07-2007 12:10 PM
12-07-2007 03:02 PM
To cynical - My users are U.S. soldiers. It is my job and my civic responsibility to support them in any way I can.
To Mert and Nicolas- Thanks for the ideas. I understand both of your implementations and will give them a try.
DJW
12-10-2007 09:10 AM