You've already forked lazarus-ccr
jvcllaz: Activate TDate and TTime property editors in JvTimeFramework components
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7114 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -31,6 +31,12 @@ begin
|
||||
// deleted, or moved at design time... BAD THINGS HAPPEN
|
||||
RegisterPropertyEditor(TypeInfo(TJvTFGlanceCells), TJvTFMonths, 'Cells', nil);
|
||||
|
||||
// The LCL TTime property editor is not installed by default.
|
||||
RegisterPropertyEditor(TypeInfo(TTime), TJvTFDaysPrimeTime, '', TTimePropertyEditor);
|
||||
RegisterPropertyEditor(TypeInfo(TDate), TJvTFDaysTemplate, '', TDatePropertyEditor);
|
||||
RegisterPropertyEditor(TypeInfo(TDate), TJvTFWeeks, 'DisplayDate', TDatePropertyEditor);
|
||||
RegisterPropertyEditor(TypeInfo(TDate), TJvTFMonths, 'DisplayDate', TDatePropertyEditor);
|
||||
|
||||
(*
|
||||
// RegisterPropertyEditor(TypeInfo(string), TJvTFControl, 'Version', TutfVersionEditor);
|
||||
// RegisterPropertyEditor(TypeInfo(string), TJvTFScheduleManager, 'Version', TutfVersionEditor);
|
||||
|
@ -37,12 +37,7 @@ object MainForm: TMainForm
|
||||
Width = 469
|
||||
ScheduleManager = utfScheduleManager1
|
||||
ColHdrHeight = 30
|
||||
Cols = <
|
||||
item
|
||||
SchedDate = 0
|
||||
Title = ' - '
|
||||
Width = 402
|
||||
end>
|
||||
Cols = <>
|
||||
Template.CompDate = 36406
|
||||
Template.LinearDayCount = 1
|
||||
Template.LinearEndDate = 36406
|
||||
@ -68,6 +63,7 @@ object MainForm: TMainForm
|
||||
HdrAttr.ParentFont = False
|
||||
HdrAttr.FrameColor = clBlack
|
||||
SelHdrAttr.Font.Color = clBlack
|
||||
SelHdrAttr.Font.Style = [fsBold]
|
||||
SelHdrAttr.ParentFont = False
|
||||
SelHdrAttr.FrameColor = clBlack
|
||||
FancyRowHdrAttr.Hr2400 = False
|
||||
@ -79,6 +75,7 @@ object MainForm: TMainForm
|
||||
SelFancyRowHdrAttr.MajorFont.Color = clBlack
|
||||
SelFancyRowHdrAttr.MajorFont.Height = -21
|
||||
SelFancyRowHdrAttr.TickColor = clBlack
|
||||
GridLineColor = clSilver
|
||||
PrimeTime.StartTime = 0.333333333333333
|
||||
PrimeTime.EndTime = 0.708333333333333
|
||||
GroupHdrAttr.Color = clWindow
|
||||
@ -90,7 +87,7 @@ object MainForm: TMainForm
|
||||
SelGroupHdrAttr.Font.Color = clBlack
|
||||
SelGroupHdrAttr.ParentFont = False
|
||||
SelGroupHdrAttr.FrameColor = clBlack
|
||||
LeftCol = 0
|
||||
LeftCol = -1
|
||||
OnDateChanging = JvTFDays1DateChanging
|
||||
OnDateChanged = JvTFDays1DateChanged
|
||||
OnGranularityChanged = JvTFDays1GranularityChanged
|
||||
|
@ -2,12 +2,13 @@ object Share: TShare
|
||||
Left = 672
|
||||
Height = 216
|
||||
Top = 110
|
||||
Width = 271
|
||||
Width = 250
|
||||
AutoSize = True
|
||||
Caption = 'Share'
|
||||
ClientHeight = 216
|
||||
ClientWidth = 271
|
||||
ClientWidth = 250
|
||||
Color = clBtnFace
|
||||
Constraints.MinWidth = 250
|
||||
Font.Color = clWindowText
|
||||
OnClose = FormClose
|
||||
OnShow = FormShow
|
||||
@ -18,7 +19,7 @@ object Share: TShare
|
||||
Left = 8
|
||||
Height = 160
|
||||
Top = 8
|
||||
Width = 255
|
||||
Width = 234
|
||||
Align = alClient
|
||||
Anchors = [akTop, akLeft, akBottom]
|
||||
BorderSpacing.Around = 8
|
||||
@ -30,7 +31,7 @@ object Share: TShare
|
||||
Left = 6
|
||||
Height = 34
|
||||
Top = 176
|
||||
Width = 259
|
||||
Width = 238
|
||||
OKButton.Name = 'OKButton'
|
||||
OKButton.DefaultCaption = True
|
||||
HelpButton.Name = 'HelpButton'
|
||||
|
Reference in New Issue
Block a user