Hi,
I have a button that sends an email, via MS Schemas, OLE etc.
Run on a button single press
If I accidently press this twice, almost like a double click, it runs the code twice & freezes & sort of crashes, recovers usually but 30 seconds.
I wondered if there was a simple, elegant was to stop this,
I guess a timer or something, or a flag to make sure message has finished sending but with this sort of thing going on in the background of windows not sure that will help much.
To be honest never really been a problem but I discovered this issues with a faulty mouse, I thought my code or installation had gone buggy, spend ages trying to fix then noticed what I thought was the mouse button releasing early, was actually another click, without pressing the button.
Anyway, new mouse but for some bizarre reason I now find myself clicking twice by accident. I guess a new mouse, Even if I change mouse seemed like a good idea to try to avoid all together for me or my staff.
I have a button that sends an email, via MS Schemas, OLE etc.
Run on a button single press
If I accidently press this twice, almost like a double click, it runs the code twice & freezes & sort of crashes, recovers usually but 30 seconds.
I wondered if there was a simple, elegant was to stop this,
I guess a timer or something, or a flag to make sure message has finished sending but with this sort of thing going on in the background of windows not sure that will help much.
To be honest never really been a problem but I discovered this issues with a faulty mouse, I thought my code or installation had gone buggy, spend ages trying to fix then noticed what I thought was the mouse button releasing early, was actually another click, without pressing the button.
Anyway, new mouse but for some bizarre reason I now find myself clicking twice by accident. I guess a new mouse, Even if I change mouse seemed like a good idea to try to avoid all together for me or my staff.