mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 21:52:48 +02:00
Examples, DBEditMask: removed absolute paths (based on patch by Samuel Herzog, bug #18569). While at this, also removed .lrs file reference
git-svn-id: trunk@31901 -
This commit is contained in:
parent
dea4f5d215
commit
27ba6399cb
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -3315,6 +3315,7 @@ examples/dbeditmask/Unit1.lfm svneol=native#text/plain
|
|||||||
examples/dbeditmask/Unit1.pas svneol=native#text/plain
|
examples/dbeditmask/Unit1.pas svneol=native#text/plain
|
||||||
examples/dbeditmask/project1.lpi svneol=native#text/plain
|
examples/dbeditmask/project1.lpi svneol=native#text/plain
|
||||||
examples/dbeditmask/project1.lpr svneol=native#text/plain
|
examples/dbeditmask/project1.lpr svneol=native#text/plain
|
||||||
|
examples/dbeditmask/project1.res -text
|
||||||
examples/designerbaseclass/README.txt svneol=native#text/plain
|
examples/designerbaseclass/README.txt svneol=native#text/plain
|
||||||
examples/designerbaseclass/customcomponentclass.pas svneol=native#text/plain
|
examples/designerbaseclass/customcomponentclass.pas svneol=native#text/plain
|
||||||
examples/designerbaseclass/designbaseclassdemopkg.lpk svneol=native#text/plain
|
examples/designerbaseclass/designbaseclassdemopkg.lpk svneol=native#text/plain
|
||||||
|
@ -12,7 +12,7 @@ object Form1: TForm1
|
|||||||
Font.Name = 'MS Sans Serif'
|
Font.Name = 'MS Sans Serif'
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '0.9.29'
|
LCLVersion = '0.9.31'
|
||||||
object Label3: TLabel
|
object Label3: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 14
|
Height = 14
|
||||||
@ -26,16 +26,23 @@ object Form1: TForm1
|
|||||||
Height = 273
|
Height = 273
|
||||||
Top = 112
|
Top = 112
|
||||||
Width = 497
|
Width = 497
|
||||||
|
Color = clWindow
|
||||||
Columns = <
|
Columns = <
|
||||||
item
|
item
|
||||||
|
Title.Caption = 'ADATE'
|
||||||
|
Title.PrefixOption = poNone
|
||||||
Width = 180
|
Width = 180
|
||||||
FieldName = 'ADATE'
|
FieldName = 'ADATE'
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
|
Title.Caption = 'ASTR'
|
||||||
|
Title.PrefixOption = poNone
|
||||||
Width = 100
|
Width = 100
|
||||||
FieldName = 'ASTR'
|
FieldName = 'ASTR'
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
|
Title.Caption = 'AINT'
|
||||||
|
Title.PrefixOption = poNone
|
||||||
Width = 100
|
Width = 100
|
||||||
FieldName = 'AINT'
|
FieldName = 'AINT'
|
||||||
end>
|
end>
|
||||||
@ -50,9 +57,16 @@ object Form1: TForm1
|
|||||||
Top = 392
|
Top = 392
|
||||||
Width = 497
|
Width = 497
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
|
ChildSizing.EnlargeHorizontal = crsScaleChilds
|
||||||
|
ChildSizing.EnlargeVertical = crsScaleChilds
|
||||||
|
ChildSizing.ShrinkHorizontal = crsScaleChilds
|
||||||
|
ChildSizing.ShrinkVertical = crsScaleChilds
|
||||||
|
ChildSizing.Layout = cclLeftToRightThenTopToBottom
|
||||||
|
ChildSizing.ControlsPerLine = 100
|
||||||
ClientHeight = 42
|
ClientHeight = 42
|
||||||
ClientWidth = 497
|
ClientWidth = 497
|
||||||
DataSource = DataSource1
|
DataSource = DataSource1
|
||||||
|
Options = []
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
object DBEdit1: TDBEdit
|
object DBEdit1: TDBEdit
|
||||||
@ -64,7 +78,7 @@ object Form1: TForm1
|
|||||||
DataSource = DataSource1
|
DataSource = DataSource1
|
||||||
CharCase = ecNormal
|
CharCase = ecNormal
|
||||||
EditMask = '!99/99/00;1;_'
|
EditMask = '!99/99/00;1;_'
|
||||||
MaxLength = 0
|
MaxLength = 8
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
end
|
end
|
||||||
object ShowLongDateCheckBox: TCheckBox
|
object ShowLongDateCheckBox: TCheckBox
|
||||||
@ -85,7 +99,7 @@ object Form1: TForm1
|
|||||||
DataSource = DataSource1
|
DataSource = DataSource1
|
||||||
CharCase = ecNormal
|
CharCase = ecNormal
|
||||||
EditMask = '!99;1;_'
|
EditMask = '!99;1;_'
|
||||||
MaxLength = 0
|
MaxLength = 2
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
end
|
end
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
@ -102,11 +116,9 @@ object Form1: TForm1
|
|||||||
top = 288
|
top = 288
|
||||||
end
|
end
|
||||||
object Dbf1: TDbf
|
object Dbf1: TDbf
|
||||||
FilePath = 'D:\repositories\lazarus\examples\dbeditmask\'
|
|
||||||
IndexDefs = <>
|
IndexDefs = <>
|
||||||
TableName = 'test.db'
|
TableName = 'test.db'
|
||||||
TableLevel = 4
|
TableLevel = 4
|
||||||
Active = True
|
|
||||||
FilterOptions = []
|
FilterOptions = []
|
||||||
left = 312
|
left = 312
|
||||||
top = 288
|
top = 288
|
||||||
|
@ -44,6 +44,8 @@ var
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
{$R *.lfm}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
strutils;
|
strutils;
|
||||||
|
|
||||||
@ -114,7 +116,4 @@ begin
|
|||||||
DateField.DisplayFormat := '';
|
DateField.DisplayFormat := '';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
|
||||||
{$i unit1.lrs}
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
@ -1,22 +1,20 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<ProjectOptions>
|
<ProjectOptions>
|
||||||
|
<Version Value="9"/>
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<Version Value="7"/>
|
|
||||||
<General>
|
<General>
|
||||||
<Flags>
|
|
||||||
<AlwaysBuild Value="False"/>
|
|
||||||
</Flags>
|
|
||||||
<SessionStorage Value="InProjectDir"/>
|
<SessionStorage Value="InProjectDir"/>
|
||||||
<MainUnit Value="0"/>
|
<MainUnit Value="0"/>
|
||||||
<TargetFileExt Value=".exe"/>
|
|
||||||
<ResourceType Value="res"/>
|
<ResourceType Value="res"/>
|
||||||
<UseXPManifest Value="True"/>
|
<UseXPManifest Value="True"/>
|
||||||
<Icon Value="0"/>
|
|
||||||
</General>
|
</General>
|
||||||
<VersionInfo>
|
<VersionInfo>
|
||||||
<StringTable Comments="" CompanyName="" FileDescription="" FileVersion="0.0.0.0" InternalName="" LegalCopyright="" LegalTrademarks="" OriginalFilename="" ProductName="" ProductVersion=""/>
|
<StringTable ProductVersion=""/>
|
||||||
</VersionInfo>
|
</VersionInfo>
|
||||||
|
<BuildModes Count="1">
|
||||||
|
<Item1 Name="default" Default="True"/>
|
||||||
|
</BuildModes>
|
||||||
<PublishOptions>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
<IgnoreBinaries Value="False"/>
|
<IgnoreBinaries Value="False"/>
|
||||||
@ -32,7 +30,7 @@
|
|||||||
<RequiredPackages Count="3">
|
<RequiredPackages Count="3">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="DBFLaz"/>
|
<PackageName Value="DBFLaz"/>
|
||||||
<MinVersion Minor="1" Release="1" Valid="True"/>
|
<MinVersion Minor="1" Valid="True" Release="1"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<PackageName Value="FCL"/>
|
<PackageName Value="FCL"/>
|
||||||
@ -59,15 +57,20 @@
|
|||||||
</Units>
|
</Units>
|
||||||
</ProjectOptions>
|
</ProjectOptions>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="8"/>
|
<Version Value="10"/>
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<Target>
|
<Target>
|
||||||
<Filename Value="project1"/>
|
<Filename Value="project1"/>
|
||||||
</Target>
|
</Target>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<IncludeFiles Value="$(ProjOutDir)\"/>
|
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
|
<Parsing>
|
||||||
|
<SyntaxOptions>
|
||||||
|
<UseAnsiStrings Value="False"/>
|
||||||
|
</SyntaxOptions>
|
||||||
|
</Parsing>
|
||||||
<Linking>
|
<Linking>
|
||||||
<Options>
|
<Options>
|
||||||
<Win32>
|
<Win32>
|
||||||
|
BIN
examples/dbeditmask/project1.res
Normal file
BIN
examples/dbeditmask/project1.res
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user