You've already forked lazarus-ccr
Fix double click
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8008 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -164,14 +164,14 @@ begin
|
||||
FJLabel.Parent := Self;
|
||||
FJLabel.ParentFont := False;
|
||||
FJLabel.SetSubComponent(True);
|
||||
FJLabel.ControlStyle := FJLabel.ControlStyle + [csNoDesignSelectable] -
|
||||
[csDoubleClicks];
|
||||
FJLabel.ControlStyle := FJLabel.ControlStyle + [csNoDesignSelectable];
|
||||
FJLabel.Alignment := taCenter;
|
||||
FJLabel.Layout := tlCenter;
|
||||
FJLabel.Align := alClient;
|
||||
FJLabel.OnMouseDown := @JLabel1MouseDown;
|
||||
FJLabel.OnMouseUp := @JLabel1MouseUp;
|
||||
FJLabel.OnClick := @JLabel1MouseClick;
|
||||
FJLabel.OnDblClick := @JLabel1MouseClick;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user