You've already forked lazarus-ccr
TvPlanit: Fix version number in vpconst to match the package version number.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8668 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -10,6 +10,7 @@ object MainForm: TMainForm
|
|||||||
OnCloseQuery = FormCloseQuery
|
OnCloseQuery = FormCloseQuery
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnDestroy = FormDestroy
|
OnDestroy = FormDestroy
|
||||||
|
LCLVersion = '2.3.0.0'
|
||||||
object Panel1: TPanel
|
object Panel1: TPanel
|
||||||
Left = 125
|
Left = 125
|
||||||
Height = 596
|
Height = 596
|
||||||
@ -31,6 +32,7 @@ object MainForm: TMainForm
|
|||||||
ClientHeight = 48
|
ClientHeight = 48
|
||||||
ClientWidth = 834
|
ClientWidth = 834
|
||||||
Color = 13743257
|
Color = 13743257
|
||||||
|
ParentBackground = False
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
object Img: TImage
|
object Img: TImage
|
||||||
@ -45,7 +47,6 @@ object MainForm: TMainForm
|
|||||||
Top = 8
|
Top = 8
|
||||||
Width = 84
|
Width = 84
|
||||||
Caption = 'TitleLbl'
|
Caption = 'TitleLbl'
|
||||||
Color = clDefault
|
|
||||||
Font.Color = clWhite
|
Font.Color = clWhite
|
||||||
Font.Height = -24
|
Font.Height = -24
|
||||||
Font.Style = [fsBold]
|
Font.Style = [fsBold]
|
||||||
@ -58,7 +59,7 @@ object MainForm: TMainForm
|
|||||||
Height = 548
|
Height = 548
|
||||||
Top = 48
|
Top = 48
|
||||||
Width = 834
|
Width = 834
|
||||||
PageIndex = 4
|
PageIndex = 0
|
||||||
Align = alClient
|
Align = alClient
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
TabStop = True
|
TabStop = True
|
||||||
@ -94,6 +95,7 @@ object MainForm: TMainForm
|
|||||||
TodayAttributes.BorderPen.Color = clBlue
|
TodayAttributes.BorderPen.Color = clBlue
|
||||||
TodayAttributes.BorderPen.Width = 3
|
TodayAttributes.BorderPen.Width = 3
|
||||||
WeekendAttributes.Font.Color = clBlack
|
WeekendAttributes.Font.Color = clBlack
|
||||||
|
OnPrepareEventFont = PrepareEventFont
|
||||||
end
|
end
|
||||||
object Splitter2: TSplitter
|
object Splitter2: TSplitter
|
||||||
Cursor = crVSplit
|
Cursor = crVSplit
|
||||||
@ -173,6 +175,7 @@ object MainForm: TMainForm
|
|||||||
}
|
}
|
||||||
GutterWidth = 5
|
GutterWidth = 5
|
||||||
WrapStyle = wsNoFlow
|
WrapStyle = wsNoFlow
|
||||||
|
OnPrepareEventFont = PrepareEventFont
|
||||||
end
|
end
|
||||||
object DaySelectorPanel: TPanel
|
object DaySelectorPanel: TPanel
|
||||||
Left = 0
|
Left = 0
|
||||||
@ -198,7 +201,6 @@ object MainForm: TMainForm
|
|||||||
BorderSpacing.Top = 4
|
BorderSpacing.Top = 4
|
||||||
BorderSpacing.Bottom = 4
|
BorderSpacing.Bottom = 4
|
||||||
Caption = 'Visible days'
|
Caption = 'Visible days'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object DaysTrackBar: TTrackBar
|
object DaysTrackBar: TTrackBar
|
||||||
@ -261,7 +263,6 @@ object MainForm: TMainForm
|
|||||||
BorderSpacing.Top = 4
|
BorderSpacing.Top = 4
|
||||||
BorderSpacing.Bottom = 4
|
BorderSpacing.Bottom = 4
|
||||||
Caption = 'Granularity'
|
Caption = 'Granularity'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -285,7 +286,6 @@ object MainForm: TMainForm
|
|||||||
ParentShowHint = False
|
ParentShowHint = False
|
||||||
AllDayEventAttributes.Font.Height = -12
|
AllDayEventAttributes.Font.Height = -12
|
||||||
DateLabelFormat = 'dddd, mmmm dd, yyyy'
|
DateLabelFormat = 'dddd, mmmm dd, yyyy'
|
||||||
DayHeadAttributes.DateFormat = 'ddddd'
|
|
||||||
DayHeadAttributes.Font.Height = -13
|
DayHeadAttributes.Font.Height = -13
|
||||||
DrawingStyle = dsFlat
|
DrawingStyle = dsFlat
|
||||||
EventFont.Height = -12
|
EventFont.Height = -12
|
||||||
@ -296,6 +296,7 @@ object MainForm: TMainForm
|
|||||||
WeekStartsOn = dtMonday
|
WeekStartsOn = dtMonday
|
||||||
Align = alClient
|
Align = alClient
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
|
OnPrepareEventFont = PrepareEventFont
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object Tasks: TPage
|
object Tasks: TPage
|
||||||
@ -466,7 +467,6 @@ object MainForm: TMainForm
|
|||||||
Width = 299
|
Width = 299
|
||||||
BorderSpacing.Top = 24
|
BorderSpacing.Top = 24
|
||||||
Caption = 'Check the resource to be overlaid to the current resource'
|
Caption = 'Check the resource to be overlaid to the current resource'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object lblResources: TLabel
|
object lblResources: TLabel
|
||||||
@ -479,7 +479,6 @@ object MainForm: TMainForm
|
|||||||
BorderSpacing.Left = 16
|
BorderSpacing.Left = 16
|
||||||
BorderSpacing.Top = 24
|
BorderSpacing.Top = 24
|
||||||
Caption = 'Resources (the selected resource will be displayed)'
|
Caption = 'Resources (the selected resource will be displayed)'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -495,7 +494,6 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akTop, akRight]
|
Anchors = [akTop, akRight]
|
||||||
BorderSpacing.Right = 8
|
BorderSpacing.Right = 8
|
||||||
Caption = 'Language'
|
Caption = 'Language'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object CbLanguages: TComboBox
|
object CbLanguages: TComboBox
|
||||||
@ -536,7 +534,6 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akTop, akRight]
|
Anchors = [akTop, akRight]
|
||||||
BorderSpacing.Right = 8
|
BorderSpacing.Right = 8
|
||||||
Caption = 'Drawing style:'
|
Caption = 'Drawing style:'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object CbAddressBuilder: TComboBox
|
object CbAddressBuilder: TComboBox
|
||||||
@ -572,7 +569,6 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akTop, akRight]
|
Anchors = [akTop, akRight]
|
||||||
BorderSpacing.Right = 8
|
BorderSpacing.Right = 8
|
||||||
Caption = 'Address builder'
|
Caption = 'Address builder'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object CbAllowInplaceEditing: TCheckBox
|
object CbAllowInplaceEditing: TCheckBox
|
||||||
@ -616,7 +612,6 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akTop, akRight]
|
Anchors = [akTop, akRight]
|
||||||
BorderSpacing.Right = 8
|
BorderSpacing.Right = 8
|
||||||
Caption = 'First day of week'
|
Caption = 'First day of week'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object CbTimeFormat: TComboBox
|
object CbTimeFormat: TComboBox
|
||||||
@ -644,7 +639,6 @@ object MainForm: TMainForm
|
|||||||
Anchors = [akTop, akRight]
|
Anchors = [akTop, akRight]
|
||||||
BorderSpacing.Right = 8
|
BorderSpacing.Right = 8
|
||||||
Caption = 'Time format'
|
Caption = 'Time format'
|
||||||
Color = clDefault
|
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object CbAllowDragAndDrop: TCheckBox
|
object CbAllowDragAndDrop: TCheckBox
|
||||||
|
@ -126,6 +126,8 @@ type
|
|||||||
procedure RbHideCompletedTasksChange(Sender: TObject);
|
procedure RbHideCompletedTasksChange(Sender: TObject);
|
||||||
procedure VpBufDSDataStore1PlaySound(Sender: TObject;
|
procedure VpBufDSDataStore1PlaySound(Sender: TObject;
|
||||||
const AWavFile: String; AMode: TVpPlaySoundMode);
|
const AWavFile: String; AMode: TVpPlaySoundMode);
|
||||||
|
procedure PrepareEventFont(Sender: TObject; Event: TVpEvent;
|
||||||
|
AFont: TFont);
|
||||||
procedure VpHoliday(Sender: TObject; ADate: TDateTime;
|
procedure VpHoliday(Sender: TObject; ADate: TDateTime;
|
||||||
var AHolidayName: String);
|
var AHolidayName: String);
|
||||||
procedure VpNavBar1ItemClick(Sender: TObject; Button: TMouseButton;
|
procedure VpNavBar1ItemClick(Sender: TObject; Button: TMouseButton;
|
||||||
@ -1302,6 +1304,17 @@ begin
|
|||||||
sound.PlaySound(AWavFile, AMode);
|
sound.PlaySound(AWavFile, AMode);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TMainForm.PrepareEventFont(Sender: TObject;
|
||||||
|
Event: TVpEvent; AFont: TFont);
|
||||||
|
begin
|
||||||
|
if DatePart(Event.StartTime) = EncodeDate(2022, 12, 31) then
|
||||||
|
begin
|
||||||
|
AFont.Style := [fsBold, fsItalic];
|
||||||
|
AFont.Color := clYellow;
|
||||||
|
AFont.Size := 12;
|
||||||
|
end;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TMainForm.VpHoliday(Sender: TObject; ADate: TDateTime;
|
procedure TMainForm.VpHoliday(Sender: TObject; ADate: TDateTime;
|
||||||
var AHolidayName: String);
|
var AHolidayName: String);
|
||||||
var
|
var
|
||||||
|
@ -48,7 +48,7 @@ uses
|
|||||||
|
|
||||||
const
|
const
|
||||||
BuildTime = {$I %DATE%} + {$I %TIME}; //'09/13/2002 09:25 AM';
|
BuildTime = {$I %DATE%} + {$I %TIME}; //'09/13/2002 09:25 AM';
|
||||||
VpVersionStr = 'v1.0.7'; {Visual PlanIt library version}
|
VpVersionStr = 'v1.7.0'; {Visual PlanIt library version}
|
||||||
VpProductName = 'Visual PlanIt';
|
VpProductName = 'Visual PlanIt';
|
||||||
|
|
||||||
BorderStyles: array[TBorderStyle] of LongInt = (0, WS_BORDER);
|
BorderStyles: array[TBorderStyle] of LongInt = (0, WS_BORDER);
|
||||||
|
Reference in New Issue
Block a user