You've already forked lazarus-ccr
CalLite: Fix double-advance of month/year arrow buttons if MultiSelect is disabled.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5364 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -1404,7 +1404,7 @@ begin
|
|||||||
inherited;
|
inherited;
|
||||||
|
|
||||||
// Multi-select is handled by DblClickTimer
|
// Multi-select is handled by DblClickTimer
|
||||||
if not FMultiSelect then
|
if not FMultiSelect then //and not FDblClickTimer.Enabled then
|
||||||
InternalClick;
|
InternalClick;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@@ -1531,11 +1531,13 @@ begin
|
|||||||
if not Focused and not(csNoFocus in ControlStyle) then
|
if not Focused and not(csNoFocus in ControlStyle) then
|
||||||
SetFocus;
|
SetFocus;
|
||||||
|
|
||||||
|
if FMultiSelect then begin
|
||||||
FClickPoint := Point(X, Y);
|
FClickPoint := Point(X, Y);
|
||||||
FClickShift := Shift;
|
FClickShift := Shift;
|
||||||
FClickButton := Button;
|
FClickButton := Button;
|
||||||
FDblClickTimer.Enabled := true;
|
FDblClickTimer.Enabled := true;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TCalendarLite.MouseEnter;
|
procedure TCalendarLite.MouseEnter;
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user