reverted previous commit, Lazarus uses TSpeedButton.OnDblClick in the component bar

git-svn-id: trunk@10909 -
This commit is contained in:
vincents 2007-04-07 11:19:30 +00:00
parent 81ec2d6fa8
commit 395cbb23b9
2 changed files with 2 additions and 1 deletions

View File

@ -387,6 +387,7 @@ type
property Transparent;
property Visible;
property OnClick;
property OnDblClick;
property OnMouseDown;
property OnMouseMove;
property OnMouseUp;

View File

@ -40,7 +40,7 @@ begin
FGlyph.OnChange := @GlyphChanged;
SetInitialBounds(0, 0, 23, 22);
ControlStyle := ControlStyle - [csSetCaption, csDoubleClicks];
ControlStyle := ControlStyle + [csCaptureMouse]-[csSetCaption];
FLayout:= blGlyphLeft;
FAllowAllUp:= false;