Re: [lazarus] [patch] - TSpeedbutton (new events)

2007-04-23 Thread Graeme Geldenhuys
On 4/23/07, Razvan Adrian Bogdan <[EMAIL PROTECTED]> wrote: I thought OnEnter is focus related and since TGraphicControl can't have focus in VCL/LCL i don't see how it will be triggered, OnMouseEnter on the other hand is very useful for custom drawn stuff You are right Razvan, OnEnter and OnEx

Re: [lazarus] [patch] - TSpeedbutton (new events)

2007-04-23 Thread Razvan Adrian Bogdan
On 4/23/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: Attached is a patch that adds two new events to a TSpeedButton. OnEnter and OnExit (like TBitBtn has). I thought OnEnter is focus related and since TGraphicControl can't have focus in VCL/LCL i don't see how it will be triggered, OnMouse

[lazarus] [patch] - TSpeedbutton (new events)

2007-04-23 Thread Graeme Geldenhuys
Hi, Attached is a patch that adds two new events to a TSpeedButton. OnEnter and OnExit (like TBitBtn has). This is really handy in the case where you want to have three different image states. Enabled, Disabled and Hover - a well know feature in Windows applications. I know this is not Delphi c