mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 05:49:15 +02:00
LCL: Set right cursor in TCoolbar.MouseDown. Patch from Balázs Székely.
git-svn-id: trunk@48610 -
This commit is contained in:
parent
ebcbe939e6
commit
eb89d4043b
@ -843,6 +843,11 @@ var aBand: Integer;
|
||||
aGrabber: Boolean;
|
||||
begin
|
||||
inherited MouseDown(Button, Shift, X, Y);
|
||||
if Button = mbRight then
|
||||
begin
|
||||
Cursor := crDefault;
|
||||
Exit;
|
||||
end;
|
||||
MouseToBandPos(X, Y, aBand, aGrabber);
|
||||
FDraggedBandIndex := aBand;
|
||||
if (aBand >= 0) and (length(FVisiBands) > 1) then begin //hit any Band
|
||||
|
Loading…
Reference in New Issue
Block a user