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:
@ -81,7 +81,8 @@ const
|
||||
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