You've already forked lazarus-ccr
tvplanit: Improved dragging of columns in VpContactGrid
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6478 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -75,13 +75,14 @@ const
|
||||
MaxEventDepth = 50; { the maximum number of side by side }
|
||||
{ events, which can be displayed in the }
|
||||
{ DayView component. }
|
||||
ClickDelay : Integer = 500; { the number of milliseconds of delay for }
|
||||
ClickDelay: Integer = 500; { the number of milliseconds of delay for }
|
||||
{ each event click in the TimeGrid }
|
||||
calDefHeight = 140; { popup calendar default height }
|
||||
calDefWidth = 200; { popup calendar default width }
|
||||
ExtraBarWidth = 2; { The extra, draggable area on either side }
|
||||
{ of the Contact Grid's horizontal bars. }
|
||||
CompareTimeEPS = 1.0 / (24*60*60*10); { Epsilon for time comparison, 0.1 sec }
|
||||
CompareTimeEPS = 0.1 * OneSecond; { Epsilon for time comparison, 0.1 sec }
|
||||
// CompareTimeEPS = 1.0 / (24*60*60*10); { Epsilon for time comparison, 0.1 sec }
|
||||
|
||||
cmPerInch = 2.54; { 1 inch is 2.54 cm }
|
||||
|
||||
|
@ -724,7 +724,7 @@ begin
|
||||
TVpContactGridOpener(FContactGrid).cgBarArray[BarCount].Rec := Rect(
|
||||
BarPos - ExtraBarWidth,
|
||||
RealTop,
|
||||
BarPos - ExtraBarWidth + FContactGrid.BarWidth,
|
||||
BarPos + ExtraBarWidth + FContactGrid.BarWidth,
|
||||
RealBottom
|
||||
);
|
||||
TVpContactGridOpener(FContactGrid).cgBarArray[BarCount].Index := BarCount;
|
||||
|
Reference in New Issue
Block a user