Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

TSpeedButton an mouse capturing

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Valdas Jankūnas

Hello all,

question is: should TSpeedButton capture the mouse (if mouse is clicked on button and if mouse is moved away from button then button still receives mouse movement events)?
I asking because in TCustomSpeedButton.Create procedure to ControlStyle is added [csCaptureMouse], but I got OnMouseMove or OnMouseUp only if mouse is over speed button (Linux, i386, FPC 2.2.2, Lazarus svn v0.9.25 r16188M, Gtk1 (or Gtk2, on win not tested)).

Valdas Jank?nas

Reply by email