Posted on 1998-03-29
If you compare TButton and TSpeedButton you can see that TButton fires it's click event after it has been redrawn, and TSpeedButton fires it's event before it's redrawn. I mean if you press TButton, the attached procedure will be executed after you already see the button in it's original "up" position, and if you press TSpeedButton, the procedure attached will be executed while you see the button in it's "Down" state.
How can I change that for the TSpeedButton - rewrite the component somehow?
Big thanks! I just know you'll help me again...