TvPlanIt: Activate dayview drag-and-drop in the examples/datastores demos.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8175 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2021-12-13 21:56:17 +00:00
parent aedf5ffcc0
commit e584f4c869
18 changed files with 217 additions and 193 deletions

View File

@@ -68,6 +68,9 @@
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2Set"/>
</Debugging>
<Options>
<Win32>
<GraphicApplication Value="True"/>

View File

@@ -7,7 +7,7 @@ object Form1: TForm1
ClientHeight = 686
ClientWidth = 980
OnCreate = FormCreate
LCLVersion = '1.9.0.0'
LCLVersion = '2.3.0.0'
object Panel1: TPanel
Left = 0
Height = 33
@@ -90,6 +90,7 @@ object Form1: TForm1
AllDayEventAttributes.BackgroundColor = clBtnShadow
AllDayEventAttributes.EventBorderColor = cl3DDkShadow
AllDayEventAttributes.EventBackgroundColor = clBtnFace
AllowDragAndDrop = True
ShowEventTimes = False
DrawingStyle = dsFlat
TimeSlotColors.Active = clWhite
@@ -232,11 +233,11 @@ object Form1: TForm1
end
object TabSheet2: TTabSheet
Caption = 'Contacts'
ClientHeight = 594
ClientWidth = 928
ClientHeight = 625
ClientWidth = 972
object VpContactButtonBar1: TVpContactButtonBar
Left = 0
Height = 594
Height = 625
Top = 0
Width = 40
DrawingStyle = dsFlat
@@ -245,9 +246,9 @@ object Form1: TForm1
end
object VpContactGrid1: TVpContactGrid
Left = 40
Height = 594
Height = 625
Top = 0
Width = 888
Width = 932
DataStore = VpZeosDatastore1
ControlLink = VpControlLink1
Color = clWindow
@@ -270,8 +271,8 @@ object Form1: TForm1
'AutoEncodeStrings=ON'
)
Port = 0
left = 136
top = 136
Left = 136
Top = 136
end
object VpZeosDatastore1: TVpZeosDatastore
CategoryColorMap.Category0.Color = clNavy
@@ -300,25 +301,21 @@ object Form1: TForm1
PlayEventSounds = True
AutoCreate = True
Daybuffer = 31
left = 136
top = 200
Left = 136
Top = 200
end
object VpControlLink1: TVpControlLink
DataStore = VpZeosDatastore1
Printer.BottomMargin = 0
Printer.DayStart = h_08
Printer.DayEnd = h_05
Printer.Granularity = gr30Min
Printer.LeftMargin = 0
Printer.MarginUnits = imAbsolutePixel
Printer.PrintFormats = <>
Printer.RightMargin = 0
Printer.TopMargin = 0
left = 136
top = 264
Left = 136
Top = 264
end
object VpResourceEditDialog1: TVpResourceEditDialog
Version = 'v1.10'
Version = 'v1.12'
DataStore = VpZeosDatastore1
Options = []
Placement.Position = mpCenter
@@ -326,11 +323,11 @@ object Form1: TForm1
Placement.Left = 10
Placement.Height = 250
Placement.Width = 400
left = 136
top = 335
Left = 136
Top = 335
end
object ZTable1: TZTable
left = 136
top = 536
Left = 136
Top = 536
end
end

View File

@@ -80,7 +80,7 @@ procedure TForm1.FormCreate(Sender: TObject);
begin
try
ZConnection1.Database := AppendPathDelim(Application.Location) + DBFILENAME;
ZConnection1.Protocol := 'sqlite-3';
ZConnection1.Protocol := 'sqlite'; //-3';
// ZConnection1.Connect; // activate this to test issue #33717