>>Not sure it will work each time - I had such a thing with a Save button which did some lengthy processing, and I actually had to place a transparent shape over it, to eat the extra clicks. Disabled button seemed to still accumulate clicks, so I called its click from the shape's click, if it was enabled. It solved the extra clicks problem.
>
>Hi,
>
>When I disable a command button I put a transparent shape on top of it. Later, when I enable the command button I change ZOrder and put button on the top. So no need to have code in shape's click event.
I did that, too, but needed the shape.click for some other things as well, so I chose this way. Don't remember why, though.