LazReport, edtor sample: fixed path to lazreport po files, added codebar,shape,roundrect and checkbox objects

git-svn-id: trunk@20840 -
This commit is contained in:
jesus 2009-07-12 05:17:34 +00:00
parent 8b71b8f590
commit d44eb4f488
6 changed files with 247 additions and 501 deletions

View File

@ -47,7 +47,7 @@
<MinVersion Minor="1" Release="1" Valid="True"/> <MinVersion Minor="1" Release="1" Valid="True"/>
</Item5> </Item5>
</RequiredPackages> </RequiredPackages>
<Units Count="2"> <Units Count="7">
<Unit0> <Unit0>
<Filename Value="calleditorwithpkg.lpr"/> <Filename Value="calleditorwithpkg.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
@ -58,98 +58,195 @@
</Unit0> </Unit0>
<Unit1> <Unit1>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<ComponentName Value="frmMain"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<ComponentName Value="frmMain"/>
<ResourceBaseClass Value="Form"/> <ResourceBaseClass Value="Form"/>
<UnitName Value="maincalleditor"/> <UnitName Value="maincalleditor"/>
<CursorPos X="42" Y="167"/> <CursorPos X="49" Y="356"/>
<TopLine Value="152"/> <TopLine Value="340"/>
<EditorIndex Value="0"/> <EditorIndex Value="0"/>
<UsageCount Value="200"/> <UsageCount Value="200"/>
<Bookmarks Count="2"> <Bookmarks Count="1">
<Item0 X="3" Y="191" ID="0"/> <Item0 X="3" Y="327" ID="9"/>
<Item1 X="3" Y="322" ID="9"/>
</Bookmarks> </Bookmarks>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit1> </Unit1>
<Unit2>
<Filename Value="../../source/lr_class.pas"/>
<ComponentName Value="frReportDesigner"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<UnitName Value="LR_Class"/>
<CursorPos X="22" Y="1909"/>
<TopLine Value="1906"/>
<EditorIndex Value="5"/>
<UsageCount Value="14"/>
<Loaded Value="True"/>
</Unit2>
<Unit3>
<Filename Value="../../source/lr_desgn.pas"/>
<ComponentName Value="frDesignerForm"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<UnitName Value="LR_Desgn"/>
<CursorPos X="18" Y="1014"/>
<TopLine Value="1006"/>
<EditorIndex Value="1"/>
<UsageCount Value="14"/>
<Loaded Value="True"/>
</Unit3>
<Unit4>
<Filename Value="../../../../lcl/controls.pp"/>
<UnitName Value="Controls"/>
<CursorPos X="14" Y="1373"/>
<TopLine Value="1362"/>
<EditorIndex Value="4"/>
<UsageCount Value="14"/>
<Loaded Value="True"/>
</Unit4>
<Unit5>
<Filename Value="../../source/lr_edit.pas"/>
<ComponentName Value="frEditorForm"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<UnitName Value="LR_Edit"/>
<CursorPos X="36" Y="254"/>
<TopLine Value="243"/>
<EditorIndex Value="2"/>
<UsageCount Value="11"/>
<Loaded Value="True"/>
</Unit5>
<Unit6>
<Filename Value="../../source/lr_const.pas"/>
<UnitName Value="LR_Const"/>
<CursorPos X="36" Y="73"/>
<TopLine Value="61"/>
<EditorIndex Value="3"/>
<UsageCount Value="11"/>
<Loaded Value="True"/>
</Unit6>
</Units> </Units>
<JumpHistory Count="19" HistoryIndex="18"> <JumpHistory Count="30" HistoryIndex="29">
<Position1> <Position1>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="56" Column="17" TopLine="55"/> <Caret Line="231" Column="13" TopLine="228"/>
</Position1> </Position1>
<Position2> <Position2>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="48" Column="17" TopLine="47"/> <Caret Line="186" Column="65" TopLine="173"/>
</Position2> </Position2>
<Position3> <Position3>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="86" Column="52" TopLine="85"/> <Caret Line="188" Column="21" TopLine="173"/>
</Position3> </Position3>
<Position4> <Position4>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="99" Column="69" TopLine="98"/> <Caret Line="192" Column="16" TopLine="173"/>
</Position4> </Position4>
<Position5> <Position5>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="102" Column="29" TopLine="86"/> <Caret Line="202" Column="19" TopLine="176"/>
</Position5> </Position5>
<Position6> <Position6>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="297" Column="18" TopLine="284"/> <Caret Line="304" Column="39" TopLine="278"/>
</Position6> </Position6>
<Position7> <Position7>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="296" Column="13" TopLine="284"/> <Caret Line="87" Column="35" TopLine="87"/>
</Position7> </Position7>
<Position8> <Position8>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="304" Column="5" TopLine="296"/> <Caret Line="324" Column="48" TopLine="305"/>
</Position8> </Position8>
<Position9> <Position9>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="186" Column="3" TopLine="184"/> <Caret Line="141" Column="14" TopLine="130"/>
</Position9> </Position9>
<Position10> <Position10>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="231" Column="13" TopLine="228"/> <Caret Line="169" Column="42" TopLine="149"/>
</Position10> </Position10>
<Position11> <Position11>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="186" Column="65" TopLine="173"/> <Caret Line="165" Column="1" TopLine="176"/>
</Position11> </Position11>
<Position12> <Position12>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="188" Column="21" TopLine="173"/> <Caret Line="62" Column="40" TopLine="41"/>
</Position12> </Position12>
<Position13> <Position13>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="192" Column="16" TopLine="173"/> <Caret Line="66" Column="44" TopLine="45"/>
</Position13> </Position13>
<Position14> <Position14>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="202" Column="19" TopLine="176"/> <Caret Line="67" Column="36" TopLine="46"/>
</Position14> </Position14>
<Position15> <Position15>
<Filename Value="maincalleditor.pas"/> <Filename Value="../../source/lr_class.pas"/>
<Caret Line="304" Column="39" TopLine="278"/> <Caret Line="234" Column="29" TopLine="223"/>
</Position15> </Position15>
<Position16> <Position16>
<Filename Value="maincalleditor.pas"/> <Filename Value="../../source/lr_class.pas"/>
<Caret Line="87" Column="35" TopLine="87"/> <Caret Line="1520" Column="33" TopLine="1509"/>
</Position16> </Position16>
<Position17> <Position17>
<Filename Value="maincalleditor.pas"/> <Filename Value="../../source/lr_class.pas"/>
<Caret Line="324" Column="48" TopLine="305"/> <Caret Line="313" Column="27" TopLine="310"/>
</Position17> </Position17>
<Position18> <Position18>
<Filename Value="maincalleditor.pas"/> <Filename Value="../../source/lr_class.pas"/>
<Caret Line="141" Column="14" TopLine="130"/> <Caret Line="299" Column="31" TopLine="288"/>
</Position18> </Position18>
<Position19> <Position19>
<Filename Value="maincalleditor.pas"/> <Filename Value="maincalleditor.pas"/>
<Caret Line="169" Column="42" TopLine="149"/> <Caret Line="30" Column="45" TopLine="16"/>
</Position19> </Position19>
<Position20>
<Filename Value="../../source/lr_desgn.pas"/>
<Caret Line="670" Column="6" TopLine="668"/>
</Position20>
<Position21>
<Filename Value="../../source/lr_desgn.pas"/>
<Caret Line="1043" Column="29" TopLine="1030"/>
</Position21>
<Position22>
<Filename Value="../../source/lr_desgn.pas"/>
<Caret Line="1014" Column="18" TopLine="1006"/>
</Position22>
<Position23>
<Filename Value="../../source/lr_class.pas"/>
<Caret Line="1907" Column="19" TopLine="1903"/>
</Position23>
<Position24>
<Filename Value="maincalleditor.pas"/>
<Caret Line="123" Column="16" TopLine="112"/>
</Position24>
<Position25>
<Filename Value="../../source/lr_edit.pas"/>
<Caret Line="20" Column="10" TopLine="1"/>
</Position25>
<Position26>
<Filename Value="../../source/lr_edit.pas"/>
<Caret Line="41" Column="12" TopLine="30"/>
</Position26>
<Position27>
<Filename Value="../../source/lr_edit.pas"/>
<Caret Line="51" Column="22" TopLine="40"/>
</Position27>
<Position28>
<Filename Value="../../source/lr_edit.pas"/>
<Caret Line="135" Column="6" TopLine="123"/>
</Position28>
<Position29>
<Filename Value="../../source/lr_edit.pas"/>
<Caret Line="175" Column="51" TopLine="163"/>
</Position29>
<Position30>
<Filename Value="../../source/lr_edit.pas"/>
<Caret Line="253" Column="34" TopLine="240"/>
</Position30>
</JumpHistory> </JumpHistory>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>

View File

@ -170,4 +170,3 @@ msgstr "Testai"
msgid "Export" msgid "Export"
msgstr "Eksportas" msgstr "Eksportas"

View File

@ -4,73 +4,26 @@ object frmMain: TfrmMain
Top = 127 Top = 127
Width = 569 Width = 569
ActiveControl = btnCallEditor ActiveControl = btnCallEditor
Align = alNone
AllowDropFiles = False
AutoScroll = True
AutoSize = False
BorderIcons = [biSystemMenu, biMinimize, biMaximize]
BorderStyle = bsSizeable
Caption = 'LazReport Test Suite' Caption = 'LazReport Test Suite'
ClientHeight = 409 ClientHeight = 413
ClientWidth = 569 ClientWidth = 569
DockSite = False
DragKind = dkDrag
DragMode = dmManual
Enabled = True
FormStyle = fsNormal
Menu = MainMenu1 Menu = MainMenu1
OnCreate = frmMainCreate OnCreate = frmMainCreate
ParentBiDiMode = True
ParentFont = False
Position = poDesigned
ShowHint = True ShowHint = True
ShowInTaskBar = stDefault
UseDockManager = False
LCLVersion = '0.9.27' LCLVersion = '0.9.27'
WindowState = wsNormal
object lblIndex: TLabel object lblIndex: TLabel
Left = 12 Left = 12
Height = 16 Height = 14
Top = 44 Top = 44
Width = 3 Width = 1
Align = alNone
Alignment = taLeftJustify
AutoSize = True
DragCursor = crDrag
DragMode = dmManual
Enabled = True
Layout = tlTop
ParentBidiMode = True
ParentColor = False ParentColor = False
ParentFont = True
ParentShowHint = True
ShowAccelChar = True
Transparent = True
Visible = True
WordWrap = False
OptimalFill = False
end end
object lblExpr: TLabel object lblExpr: TLabel
Left = 235 Left = 235
Height = 16 Height = 14
Top = 44 Top = 44
Width = 3 Width = 1
Align = alNone
Alignment = taLeftJustify
AutoSize = True
DragCursor = crDrag
DragMode = dmManual
Enabled = True
Layout = tlTop
ParentBidiMode = True
ParentColor = False ParentColor = False
ParentFont = True
ParentShowHint = True
ShowAccelChar = True
Transparent = True
Visible = True
WordWrap = False
OptimalFill = False
end end
object btnCallEditor: TButton object btnCallEditor: TButton
Left = 24 Left = 24
@ -78,50 +31,20 @@ object frmMain: TfrmMain
Top = 8 Top = 8
Width = 80 Width = 80
Action = accNewReport Action = accNewReport
Align = alNone
AutoSize = False
BorderSpacing.InnerBorder = 4 BorderSpacing.InnerBorder = 4
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 0 TabOrder = 0
TabStop = True
end end
object dbGrid1: TDBGrid object dbGrid1: TDBGrid
Left = 0 Left = 0
Height = 321 Height = 322
Top = 68 Top = 68
Width = 569 Width = 569
Align = alBottom Align = alBottom
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
AutoEdit = True
AutoFillColumns = False
BorderStyle = bsSingle
Color = clWhite Color = clWhite
DataSource = Datasource1 DataSource = Datasource1
DefaultDrawing = True
DragCursor = crDrag
DragMode = dmManual
Enabled = True
FixedColor = clBtnFace
FixedHotColor = cl3DLight
Flat = False
HeaderHotZones = [gzFixedCols]
HeaderPushZones = [gzFixedCols]
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit] Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
OptionsExtra = [dgeAutoColumns, dgeCheckboxColumn]
ParentFont = True
ReadOnly = False
TabOrder = 5 TabOrder = 5
TabStop = True
TitleStyle = tsLazarus
UseXORFeatures = False
Visible = True
OnTitleClick = dbGrid1TitleClick OnTitleClick = dbGrid1TitleClick
end end
object Button1: TButton object Button1: TButton
@ -130,19 +53,8 @@ object frmMain: TfrmMain
Top = 8 Top = 8
Width = 75 Width = 75
Action = accPrintGrid Action = accPrintGrid
Align = alNone
AutoSize = False
BorderSpacing.InnerBorder = 4 BorderSpacing.InnerBorder = 4
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 1 TabOrder = 1
TabStop = True
end end
object Button2: TButton object Button2: TButton
Left = 290 Left = 290
@ -150,34 +62,18 @@ object frmMain: TfrmMain
Top = 8 Top = 8
Width = 96 Width = 96
Action = accPreviewReport Action = accPreviewReport
Align = alNone
AutoSize = False
BorderSpacing.InnerBorder = 4 BorderSpacing.InnerBorder = 4
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 2 TabOrder = 2
TabStop = True
end end
object sbar: TStatusBar object sbar: TStatusBar
Left = 0 Left = 0
Height = 20 Height = 23
Top = 389 Top = 390
Width = 569 Width = 569
DragCursor = crDrag
DragKind = dkDrag
DragMode = dmManual
Enabled = True
Panels = < Panels = <
item item
Width = 250 Width = 250
end> end>
ParentShowHint = True
SimplePanel = False SimplePanel = False
end end
object Button3: TButton object Button3: TButton
@ -186,19 +82,8 @@ object frmMain: TfrmMain
Top = 8 Top = 8
Width = 75 Width = 75
Action = accEditReport Action = accEditReport
Align = alNone
AutoSize = False
BorderSpacing.InnerBorder = 4 BorderSpacing.InnerBorder = 4
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 3 TabOrder = 3
TabStop = True
end end
object Button4: TButton object Button4: TButton
Left = 391 Left = 391
@ -206,19 +91,8 @@ object frmMain: TfrmMain
Top = 8 Top = 8
Width = 83 Width = 83
Action = accPrintReport Action = accPrintReport
Align = alNone
AutoSize = False
BorderSpacing.InnerBorder = 4 BorderSpacing.InnerBorder = 4
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 4 TabOrder = 4
TabStop = True
end end
object btnOpenReport: TButton object btnOpenReport: TButton
Left = 109 Left = 109
@ -226,53 +100,17 @@ object frmMain: TfrmMain
Top = 8 Top = 8
Width = 96 Width = 96
Action = accOpenReport Action = accOpenReport
Align = alNone
AutoSize = False
BorderSpacing.InnerBorder = 4 BorderSpacing.InnerBorder = 4
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 6 TabOrder = 6
TabStop = True
end end
object comboIndex: TComboBox object comboIndex: TComboBox
Left = 76 Left = 76
Height = 21 Height = 21
Top = 40 Top = 40
Width = 148 Width = 148
Align = alNone ItemHeight = 13
ArrowKeysTraverseList = True
AutoComplete = False
AutoCompleteText = [cbactEndOfLineComplete, cbactSearchAscending]
AutoDropDown = False
AutoSelect = False
AutoSize = True
CharCase = ecNormal
Ctl3D = False
DragCursor = crDrag
DragMode = dmManual
DropDownCount = 8
Enabled = True
ItemHeight = 0
ItemIndex = -1
ItemWidth = 0
MaxLength = 0
OnSelect = comboIndexSelect OnSelect = comboIndexSelect
ParentBidiMode = True
ParentColor = False
ParentCtl3D = True
ParentFont = True
ParentShowHint = True
Sorted = False
Style = csDropDown
TabOrder = 8 TabOrder = 8
TabStop = True
Visible = True
end end
object btnImageList: TButton object btnImageList: TButton
Left = 480 Left = 480
@ -280,18 +118,7 @@ object frmMain: TfrmMain
Top = 36 Top = 36
Width = 75 Width = 75
Action = accThumbnails Action = accThumbnails
Align = alNone
AutoSize = False
Cancel = False
Default = False
DragCursor = crDrag
DragMode = dmManual
ParentBidiMode = True
ModalResult = 0
ParentFont = True
ParentShowHint = True
TabOrder = 9 TabOrder = 9
TabStop = True
end end
object TheReport: TfrReport object TheReport: TfrReport
Dataset = frDBDataSet1 Dataset = frDBDataSet1
@ -308,8 +135,6 @@ object frmMain: TfrmMain
object Dbf1: TDbf object Dbf1: TDbf
IndexDefs = <> IndexDefs = <>
TableLevel = 3 TableLevel = 3
Active = False
Filtered = False
FilterOptions = [] FilterOptions = []
left = 128 left = 128
top = 72 top = 72
@ -321,9 +146,6 @@ object frmMain: TfrmMain
end end
object frDBDataSet1: TfrDBDataSet object frDBDataSet1: TfrDBDataSet
DataSet = Dbf1 DataSet = Dbf1
RangeBegin = rbFirst
RangeEnd = reLast
RangeEndCount = 0
left = 96 left = 96
top = 144 top = 144
end end
@ -385,185 +207,68 @@ object frmMain: TfrmMain
end end
end end
object ApplicationProperties1: TApplicationProperties object ApplicationProperties1: TApplicationProperties
CaptureExceptions = True
HintColor = clInfoBk
HintHidePause = 2500
HintPause = 10 HintPause = 10
HintShortCuts = True
HintShortPause = 0
ShowHint = True
OnShowHint = ApplicationProperties1ShowHint OnShowHint = ApplicationProperties1ShowHint
left = 96 left = 96
top = 240 top = 240
end end
object ActionList1: TActionList object ActionList1: TActionList
State = asNormal
left = 48 left = 48
top = 96 top = 96
object accNewReport: TAction object accNewReport: TAction
Category = 'Tests' Category = 'Tests'
AutoCheck = False
Caption = 'New Report' Caption = 'New Report'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accNewReportExecute OnExecute = accNewReportExecute
ShortCut = 0
Visible = True
end end
object accEditReport: TAction object accEditReport: TAction
Category = 'Tests' Category = 'Tests'
AutoCheck = False
Caption = 'Edit Report' Caption = 'Edit Report'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accEditReportExecute OnExecute = accEditReportExecute
ShortCut = 0
Visible = True
end end
object accPreviewReport: TAction object accPreviewReport: TAction
Category = 'Tests' Category = 'Tests'
AutoCheck = False
Caption = 'Preview Report' Caption = 'Preview Report'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accPreviewReportExecute OnExecute = accPreviewReportExecute
ShortCut = 0
Visible = True
end end
object accPrintGrid: TAction object accPrintGrid: TAction
Category = 'Tests' Category = 'Tests'
AutoCheck = False
Caption = 'Print Grid' Caption = 'Print Grid'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accPrintGridExecute OnExecute = accPrintGridExecute
ShortCut = 0
Visible = True
end end
object accPrintReport: TAction object accPrintReport: TAction
Category = 'Tests' Category = 'Tests'
AutoCheck = False
Caption = 'Print Report' Caption = 'Print Report'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accPrintReportExecute OnExecute = accPrintReportExecute
ShortCut = 0
Visible = True
end end
object accClose: TAction object accClose: TAction
Category = 'Files' Category = 'Files'
AutoCheck = False
Caption = 'Close' Caption = 'Close'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accCloseExecute OnExecute = accCloseExecute
ShortCut = 0
Visible = True
end end
object accExportToText: TAction object accExportToText: TAction
Category = 'Export' Category = 'Export'
AutoCheck = False
Caption = 'Export to text' Caption = 'Export to text'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accExportToTextExecute OnExecute = accExportToTextExecute
ShortCut = 0
Visible = True
end end
object accExportToHtml: TAction object accExportToHtml: TAction
Category = 'Export' Category = 'Export'
AutoCheck = False
Caption = 'Export to html' Caption = 'Export to html'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accExportToHtmlExecute OnExecute = accExportToHtmlExecute
ShortCut = 0
Visible = True
end end
object accOpenReport: TAction object accOpenReport: TAction
Category = 'Files' Category = 'Files'
AutoCheck = False
Caption = 'Open Report' Caption = 'Open Report'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accOpenReportExecute OnExecute = accOpenReportExecute
ShortCut = 0
Visible = True
end end
object accExportToCSV: TAction object accExportToCSV: TAction
Category = 'Export' Category = 'Export'
AutoCheck = False
Caption = 'Export to CSV' Caption = 'Export to CSV'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accExportToCSVExecute OnExecute = accExportToCSVExecute
ShortCut = 0
Visible = True
end end
object accThumbnails: TAction object accThumbnails: TAction
Category = 'Sample Reports' Category = 'Sample Reports'
AutoCheck = False
Caption = 'Thumbnails' Caption = 'Thumbnails'
Checked = False
DisableIfNoHandler = True
Enabled = True
GroupIndex = 0
HelpContext = 0
HelpType = htContext
ImageIndex = -1
OnExecute = accThumbnailsExecute OnExecute = accThumbnailsExecute
ShortCut = 0
Visible = True
end end
end end
object OpenDialog1: TOpenDialog object OpenDialog1: TOpenDialog
@ -577,10 +282,24 @@ object frmMain: TfrmMain
top = 72 top = 72
end end
object frUserDataset1: TfrUserDataset object frUserDataset1: TfrUserDataset
RangeBegin = rbFirst
RangeEnd = reCount RangeEnd = reCount
RangeEndCount = 0
left = 132 left = 132
top = 144 top = 144
end end
object frBarCodeObject1: TfrBarCodeObject
left = 272
top = 170
end
object frRoundRectObject1: TfrRoundRectObject
left = 272
top = 216
end
object frShapeObject1: TfrShapeObject
left = 272
top = 264
end
object frCheckBoxObject1: TfrCheckBoxObject
left = 272
top = 312
end
end end

View File

@ -2,163 +2,89 @@
LazarusResources.Add('TfrmMain','FORMDATA',[ LazarusResources.Add('TfrmMain','FORMDATA',[
'TPF0'#8'TfrmMain'#7'frmMain'#4'Left'#3#21#1#6'Height'#3#177#1#3'Top'#2''#5 'TPF0'#8'TfrmMain'#7'frmMain'#4'Left'#3#21#1#6'Height'#3#177#1#3'Top'#2''#5
+'Width'#3'9'#2#13'ActiveControl'#7#13'btnCallEditor'#5'Align'#7#6'alNone'#14 +'Width'#3'9'#2#13'ActiveControl'#7#13'btnCallEditor'#7'Caption'#6#20'LazRepo'
+'AllowDropFiles'#8#10'AutoScroll'#9#8'AutoSize'#8#11'BorderIcons'#11#12'biSy' +'rt Test Suite'#12'ClientHeight'#3#157#1#11'ClientWidth'#3'9'#2#4'Menu'#7#9
+'stemMenu'#10'biMinimize'#10'biMaximize'#0#11'BorderStyle'#7#10'bsSizeable'#7 +'MainMenu1'#8'OnCreate'#7#13'frmMainCreate'#8'ShowHint'#9#10'LCLVersion'#6#6
+'Caption'#6#20'LazReport Test Suite'#12'ClientHeight'#3#153#1#11'ClientWidth' +'0.9.27'#0#6'TLabel'#8'lblIndex'#4'Left'#2#12#6'Height'#2#14#3'Top'#2','#5'W'
+#3'9'#2#8'DockSite'#8#8'DragKind'#7#6'dkDrag'#8'DragMode'#7#8'dmManual'#7'En' +'idth'#2#1#11'ParentColor'#8#0#0#6'TLabel'#7'lblExpr'#4'Left'#3#235#0#6'Heig'
+'abled'#9#9'FormStyle'#7#8'fsNormal'#4'Menu'#7#9'MainMenu1'#8'OnCreate'#7#13 +'ht'#2#14#3'Top'#2','#5'Width'#2#1#11'ParentColor'#8#0#0#7'TButton'#13'btnCa'
+'frmMainCreate'#14'ParentBiDiMode'#9#10'ParentFont'#8#8'Position'#7#10'poDes' +'llEditor'#4'Left'#2#24#6'Height'#2#25#3'Top'#2#8#5'Width'#2'P'#6'Action'#7
+'igned'#8'ShowHint'#9#13'ShowInTaskBar'#7#9'stDefault'#14'UseDockManager'#8 +#12'accNewReport'#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2#0#0#0#7'TD'
+#10'LCLVersion'#6#6'0.9.27'#11'WindowState'#7#8'wsNormal'#0#6'TLabel'#8'lblI' +'BGrid'#7'dbGrid1'#4'Left'#2#0#6'Height'#3'B'#1#3'Top'#2'D'#5'Width'#3'9'#2#5
+'ndex'#4'Left'#2#12#6'Height'#2#16#3'Top'#2','#5'Width'#2#3#5'Align'#7#6'alN' +'Align'#7#8'alBottom'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'
+'one'#9'Alignment'#7#13'taLeftJustify'#8'AutoSize'#9#10'DragCursor'#7#6'crDr' +#0#5'Color'#7#7'clWhite'#10'DataSource'#7#11'Datasource1'#7'Options'#11#9'dg'
+'ag'#8'DragMode'#7#8'dmManual'#7'Enabled'#9#6'Layout'#7#5'tlTop'#14'ParentBi' +'Editing'#8'dgTitles'#11'dgIndicator'#14'dgColumnResize'#10'dgColLines'#10'd'
+'diMode'#9#11'ParentColor'#8#10'ParentFont'#9#14'ParentShowHint'#9#13'ShowAc' +'gRowLines'#6'dgTabs'#21'dgAlwaysShowSelection'#15'dgConfirmDelete'#14'dgCan'
+'celChar'#9#11'Transparent'#9#7'Visible'#9#8'WordWrap'#8#11'OptimalFill'#8#0 +'celOnExit'#0#8'TabOrder'#2#5#12'OnTitleClick'#7#17'dbGrid1TitleClick'#0#0#7
+#0#6'TLabel'#7'lblExpr'#4'Left'#3#235#0#6'Height'#2#16#3'Top'#2','#5'Width'#2 +'TButton'#7'Button1'#4'Left'#3#223#1#6'Height'#2#25#3'Top'#2#8#5'Width'#2'K'
+#3#5'Align'#7#6'alNone'#9'Alignment'#7#13'taLeftJustify'#8'AutoSize'#9#10'Dr' +#6'Action'#7#12'accPrintGrid'#25'BorderSpacing.InnerBorder'#2#4#8'TabOrder'#2
+'agCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#7'Enabled'#9#6'Layout'#7#5 +#1#0#0#7'TButton'#7'Button2'#4'Left'#3'"'#1#6'Height'#2#25#3'Top'#2#8#5'Widt'
+'tlTop'#14'ParentBidiMode'#9#11'ParentColor'#8#10'ParentFont'#9#14'ParentSho' +'h'#2'`'#6'Action'#7#16'accPreviewReport'#25'BorderSpacing.InnerBorder'#2#4#8
+'wHint'#9#13'ShowAccelChar'#9#11'Transparent'#9#7'Visible'#9#8'WordWrap'#8#11 +'TabOrder'#2#2#0#0#10'TStatusBar'#4'sbar'#4'Left'#2#0#6'Height'#2#23#3'Top'#3
+'OptimalFill'#8#0#0#7'TButton'#13'btnCallEditor'#4'Left'#2#24#6'Height'#2#25 +#134#1#5'Width'#3'9'#2#6'Panels'#14#1#5'Width'#3#250#0#0#0#11'SimplePanel'#8
+#3'Top'#2#8#5'Width'#2'P'#6'Action'#7#12'accNewReport'#5'Align'#7#6'alNone'#8 +#0#0#7'TButton'#7'Button3'#4'Left'#3#210#0#6'Height'#2#25#3'Top'#2#8#5'Width'
+'AutoSize'#8#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#8#7'Default'#8#10'D' +#2'K'#6'Action'#7#13'accEditReport'#25'BorderSpacing.InnerBorder'#2#4#8'TabO'
+'ragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#14'ParentBidiMode'#9#11'Mo' +'rder'#2#3#0#0#7'TButton'#7'Button4'#4'Left'#3#135#1#6'Height'#2#25#3'Top'#2
+'dalResult'#2#0#10'ParentFont'#9#14'ParentShowHint'#9#8'TabOrder'#2#0#7'TabS' +#8#5'Width'#2'S'#6'Action'#7#14'accPrintReport'#25'BorderSpacing.InnerBorder'
+'top'#9#0#0#7'TDBGrid'#7'dbGrid1'#4'Left'#2#0#6'Height'#3'A'#1#3'Top'#2'D'#5 +#2#4#8'TabOrder'#2#4#0#0#7'TButton'#13'btnOpenReport'#4'Left'#2'm'#6'Height'
+'Width'#3'9'#2#5'Align'#7#8'alBottom'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akR' +#2#25#3'Top'#2#8#5'Width'#2'`'#6'Action'#7#13'accOpenReport'#25'BorderSpacin'
+'ight'#8'akBottom'#0#8'AutoEdit'#9#15'AutoFillColumns'#8#11'BorderStyle'#7#8 +'g.InnerBorder'#2#4#8'TabOrder'#2#6#0#0#9'TComboBox'#10'comboIndex'#4'Left'#2
+'bsSingle'#5'Color'#7#7'clWhite'#10'DataSource'#7#11'Datasource1'#14'Default' +'L'#6'Height'#2#21#3'Top'#2'('#5'Width'#3#148#0#10'ItemHeight'#2#13#8'OnSele'
+'Drawing'#9#10'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#7'Enabled'#9 +'ct'#7#16'comboIndexSelect'#8'TabOrder'#2#8#0#0#7'TButton'#12'btnImageList'#4
+#10'FixedColor'#7#9'clBtnFace'#13'FixedHotColor'#7#9'cl3DLight'#4'Flat'#8#14 +'Left'#3#224#1#6'Height'#2#25#3'Top'#2'$'#5'Width'#2'K'#6'Action'#7#13'accTh'
+'HeaderHotZones'#11#11'gzFixedCols'#0#15'HeaderPushZones'#11#11'gzFixedCols' +'umbnails'#8'TabOrder'#2#9#0#0#9'TfrReport'#9'TheReport'#7'Dataset'#7#12'frD'
+#0#7'Options'#11#9'dgEditing'#8'dgTitles'#11'dgIndicator'#14'dgColumnResize' +'BDataSet1'#11'InitialZoom'#7#9'pzDefault'#14'PreviewButtons'#11#6'pbZoom'#6
+#10'dgColLines'#10'dgRowLines'#6'dgTabs'#21'dgAlwaysShowSelection'#15'dgConf' +'pbLoad'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbHelp'#6'pbExit'#0#8'DataType'#7#9
+'irmDelete'#14'dgCancelOnExit'#0#12'OptionsExtra'#11#14'dgeAutoColumns'#17'd' +'dtDataSet'#11'OnEnterRect'#7#18'TheReportEnterRect'#4'left'#2'`'#3'top'#2'p'
+'geCheckboxColumn'#0#10'ParentFont'#9#8'ReadOnly'#8#8'TabOrder'#2#5#7'TabSto' +#10'ReportForm'#10#4#0#0#0#24#0#0#0#0#0#4'TDbf'#4'Dbf1'#9'IndexDefs'#14#0#10
+'p'#9#10'TitleStyle'#7#9'tsLazarus'#14'UseXORFeatures'#8#7'Visible'#9#12'OnT' +'TableLevel'#2#3#13'FilterOptions'#11#0#4'left'#3#128#0#3'top'#2'H'#0#0#11'T'
+'itleClick'#7#17'dbGrid1TitleClick'#0#0#7'TButton'#7'Button1'#4'Left'#3#223#1 +'Datasource'#11'Datasource1'#7'DataSet'#7#4'Dbf1'#4'left'#2'`'#3'top'#2'H'#0
+#6'Height'#2#25#3'Top'#2#8#5'Width'#2'K'#6'Action'#7#12'accPrintGrid'#5'Alig' +#0#12'TfrDBDataSet'#12'frDBDataSet1'#7'DataSet'#7#4'Dbf1'#4'left'#2'`'#3'top'
+'n'#7#6'alNone'#8'AutoSize'#8#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#8#7 +#3#144#0#0#0#12'TFrPrintGrid'#2'PG'#6'DBGrid'#7#7'dbGrid1'#11'Orientation'#7
+'Default'#8#10'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#14'ParentBi' +#11'poLandscape'#7'Caption'#6#4'Grid'#11'ShowCaption'#9#4'left'#2'`'#3'top'#3
+'diMode'#9#11'ModalResult'#2#0#10'ParentFont'#9#14'ParentShowHint'#9#8'TabOr' +#176#0#0#0#9'TMainMenu'#9'MainMenu1'#4'left'#2#8#3'top'#2'`'#0#9'TMenuItem'#9
+'der'#2#1#7'TabStop'#9#0#0#7'TButton'#7'Button2'#4'Left'#3'"'#1#6'Height'#2 +'MenuItem1'#7'Caption'#6#5'Files'#0#9'TMenuItem'#9'MenuItem2'#6'Action'#7#8
+#25#3'Top'#2#8#5'Width'#2'`'#6'Action'#7#16'accPreviewReport'#5'Align'#7#6'a' +'accClose'#7'OnClick'#7#15'accCloseExecute'#0#0#0#9'TMenuItem'#9'MenuItem3'#7
+'lNone'#8'AutoSize'#8#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#8#7'Defaul' +'Caption'#6#5'Tests'#0#9'TMenuItem'#9'MenuItem4'#6'Action'#7#12'accNewReport'
+'t'#8#10'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#14'ParentBidiMode' +#7'OnClick'#7#19'accNewReportExecute'#0#0#9'TMenuItem'#9'MenuItem5'#6'Action'
+#9#11'ModalResult'#2#0#10'ParentFont'#9#14'ParentShowHint'#9#8'TabOrder'#2#2 +#7#13'accEditReport'#7'OnClick'#7#20'accEditReportExecute'#0#0#9'TMenuItem'#9
+#7'TabStop'#9#0#0#10'TStatusBar'#4'sbar'#4'Left'#2#0#6'Height'#2#20#3'Top'#3 +'MenuItem6'#6'Action'#7#16'accPreviewReport'#7'OnClick'#7#23'accPreviewRepor'
+#133#1#5'Width'#3'9'#2#10'DragCursor'#7#6'crDrag'#8'DragKind'#7#6'dkDrag'#8 +'tExecute'#0#0#9'TMenuItem'#9'MenuItem7'#6'Action'#7#14'accPrintReport'#7'On'
+'DragMode'#7#8'dmManual'#7'Enabled'#9#6'Panels'#14#1#5'Width'#3#250#0#0#0#14 +'Click'#7#21'accPrintReportExecute'#0#0#9'TMenuItem'#9'MenuItem8'#6'Action'#7
+'ParentShowHint'#9#11'SimplePanel'#8#0#0#7'TButton'#7'Button3'#4'Left'#3#210 +#12'accPrintGrid'#7'OnClick'#7#19'accPrintGridExecute'#0#0#0#9'TMenuItem'#9
+#0#6'Height'#2#25#3'Top'#2#8#5'Width'#2'K'#6'Action'#7#13'accEditReport'#5'A' +'MenuItem9'#7'Caption'#6#6'Export'#0#9'TMenuItem'#10'MenuItem10'#6'Action'#7
+'lign'#7#6'alNone'#8'AutoSize'#8#25'BorderSpacing.InnerBorder'#2#4#6'Cancel' +#15'accExportToText'#7'OnClick'#7#22'accExportToTextExecute'#0#0#9'TMenuItem'
+#8#7'Default'#8#10'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#14'Pare' +#10'MenuItem11'#6'Action'#7#15'accExportToHtml'#7'OnClick'#7#22'accExportToH'
+'ntBidiMode'#9#11'ModalResult'#2#0#10'ParentFont'#9#14'ParentShowHint'#9#8'T' +'tmlExecute'#0#0#9'TMenuItem'#10'MenuItem12'#6'Action'#7#14'accExportToCSV'#7
+'abOrder'#2#3#7'TabStop'#9#0#0#7'TButton'#7'Button4'#4'Left'#3#135#1#6'Heigh' +'OnClick'#7#21'accExportToCSVExecute'#0#0#0#0#22'TApplicationProperties'#22
+'t'#2#25#3'Top'#2#8#5'Width'#2'S'#6'Action'#7#14'accPrintReport'#5'Align'#7#6 +'ApplicationProperties1'#9'HintPause'#2#10#10'OnShowHint'#7#30'ApplicationPr'
+'alNone'#8'AutoSize'#8#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#8#7'Defau' +'operties1ShowHint'#4'left'#2'`'#3'top'#3#240#0#0#0#11'TActionList'#11'Actio'
+'lt'#8#10'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#14'ParentBidiMod' +'nList1'#4'left'#2'0'#3'top'#2'`'#0#7'TAction'#12'accNewReport'#8'Category'#6
+'e'#9#11'ModalResult'#2#0#10'ParentFont'#9#14'ParentShowHint'#9#8'TabOrder'#2 +#5'Tests'#7'Caption'#6#10'New Report'#9'OnExecute'#7#19'accNewReportExecute'
+#4#7'TabStop'#9#0#0#7'TButton'#13'btnOpenReport'#4'Left'#2'm'#6'Height'#2#25 +#0#0#7'TAction'#13'accEditReport'#8'Category'#6#5'Tests'#7'Caption'#6#11'Edi'
+#3'Top'#2#8#5'Width'#2'`'#6'Action'#7#13'accOpenReport'#5'Align'#7#6'alNone' +'t Report'#9'OnExecute'#7#20'accEditReportExecute'#0#0#7'TAction'#16'accPrev'
+#8'AutoSize'#8#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#8#7'Default'#8#10 +'iewReport'#8'Category'#6#5'Tests'#7'Caption'#6#14'Preview Report'#9'OnExecu'
+'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmManual'#14'ParentBidiMode'#9#11'M' +'te'#7#23'accPreviewReportExecute'#0#0#7'TAction'#12'accPrintGrid'#8'Categor'
,'odalResult'#2#0#10'ParentFont'#9#14'ParentShowHint'#9#8'TabOrder'#2#6#7'Tab' ,'y'#6#5'Tests'#7'Caption'#6#10'Print Grid'#9'OnExecute'#7#19'accPrintGridExe'
+'Stop'#9#0#0#9'TComboBox'#10'comboIndex'#4'Left'#2'L'#6'Height'#2#21#3'Top'#2 +'cute'#0#0#7'TAction'#14'accPrintReport'#8'Category'#6#5'Tests'#7'Caption'#6
+'('#5'Width'#3#148#0#5'Align'#7#6'alNone'#21'ArrowKeysTraverseList'#9#12'Aut' +#12'Print Report'#9'OnExecute'#7#21'accPrintReportExecute'#0#0#7'TAction'#8
+'oComplete'#8#16'AutoCompleteText'#11#22'cbactEndOfLineComplete'#20'cbactSea' +'accClose'#8'Category'#6#5'Files'#7'Caption'#6#5'Close'#9'OnExecute'#7#15'ac'
+'rchAscending'#0#12'AutoDropDown'#8#10'AutoSelect'#8#8'AutoSize'#9#8'CharCas' +'cCloseExecute'#0#0#7'TAction'#15'accExportToText'#8'Category'#6#6'Export'#7
+'e'#7#8'ecNormal'#5'Ctl3D'#8#10'DragCursor'#7#6'crDrag'#8'DragMode'#7#8'dmMa' +'Caption'#6#14'Export to text'#9'OnExecute'#7#22'accExportToTextExecute'#0#0
+'nual'#13'DropDownCount'#2#8#7'Enabled'#9#10'ItemHeight'#2#0#9'ItemIndex'#2 +#7'TAction'#15'accExportToHtml'#8'Category'#6#6'Export'#7'Caption'#6#14'Expo'
+#255#9'ItemWidth'#2#0#9'MaxLength'#2#0#8'OnSelect'#7#16'comboIndexSelect'#14 +'rt to html'#9'OnExecute'#7#22'accExportToHtmlExecute'#0#0#7'TAction'#13'acc'
+'ParentBidiMode'#9#11'ParentColor'#8#11'ParentCtl3D'#9#10'ParentFont'#9#14'P' +'OpenReport'#8'Category'#6#5'Files'#7'Caption'#6#11'Open Report'#9'OnExecute'
+'arentShowHint'#9#6'Sorted'#8#5'Style'#7#10'csDropDown'#8'TabOrder'#2#8#7'Ta' +#7#20'accOpenReportExecute'#0#0#7'TAction'#14'accExportToCSV'#8'Category'#6#6
+'bStop'#9#7'Visible'#9#0#0#7'TButton'#12'btnImageList'#4'Left'#3#224#1#6'Hei' +'Export'#7'Caption'#6#13'Export to CSV'#9'OnExecute'#7#21'accExportToCSVExec'
+'ght'#2#25#3'Top'#2'$'#5'Width'#2'K'#6'Action'#7#13'accThumbnails'#5'Align'#7 +'ute'#0#0#7'TAction'#13'accThumbnails'#8'Category'#6#14'Sample Reports'#7'Ca'
+#6'alNone'#8'AutoSize'#8#6'Cancel'#8#7'Default'#8#10'DragCursor'#7#6'crDrag' +'ption'#6#10'Thumbnails'#9'OnExecute'#7#20'accThumbnailsExecute'#0#0#0#11'TO'
+#8'DragMode'#7#8'dmManual'#14'ParentBidiMode'#9#11'ModalResult'#2#0#10'Paren' +'penDialog'#11'OpenDialog1'#6'Filter'#6':LazReport Files|*.lrf|FreeReport Fi'
+'tFont'#9#14'ParentShowHint'#9#8'TabOrder'#2#9#7'TabStop'#9#0#0#9'TfrReport' +'les|*.frf|All Files|*.*'#11'FilterIndex'#2#0#4'left'#2'd'#3'top'#3#16#1#0#0
+#9'TheReport'#7'Dataset'#7#12'frDBDataSet1'#11'InitialZoom'#7#9'pzDefault'#14 +#12'TfrCSVExport'#12'frCSVExport1'#4'left'#3#188#0#3'top'#2'H'#0#0#14'TfrUse'
+'PreviewButtons'#11#6'pbZoom'#6'pbLoad'#6'pbSave'#7'pbPrint'#6'pbFind'#6'pbH' +'rDataset'#14'frUserDataset1'#8'RangeEnd'#7#7'reCount'#4'left'#3#132#0#3'top'
+'elp'#6'pbExit'#0#8'DataType'#7#9'dtDataSet'#11'OnEnterRect'#7#18'TheReportE' +#3#144#0#0#0#16'TfrBarCodeObject'#16'frBarCodeObject1'#4'left'#3#16#1#3'top'
+'nterRect'#4'left'#2'`'#3'top'#2'p'#10'ReportForm'#10#4#0#0#0#24#0#0#0#0#0#4 +#3#170#0#0#0#18'TfrRoundRectObject'#18'frRoundRectObject1'#4'left'#3#16#1#3
+'TDbf'#4'Dbf1'#9'IndexDefs'#14#0#10'TableLevel'#2#3#6'Active'#8#8'Filtered'#8 +'top'#3#216#0#0#0#14'TfrShapeObject'#14'frShapeObject1'#4'left'#3#16#1#3'top'
+#13'FilterOptions'#11#0#4'left'#3#128#0#3'top'#2'H'#0#0#11'TDatasource'#11'D' +#3#8#1#0#0#17'TfrCheckBoxObject'#17'frCheckBoxObject1'#4'left'#3#16#1#3'top'
+'atasource1'#7'DataSet'#7#4'Dbf1'#4'left'#2'`'#3'top'#2'H'#0#0#12'TfrDBDataS' +#3'8'#1#0#0#0
+'et'#12'frDBDataSet1'#7'DataSet'#7#4'Dbf1'#10'RangeBegin'#7#7'rbFirst'#8'Ran'
+'geEnd'#7#6'reLast'#13'RangeEndCount'#2#0#4'left'#2'`'#3'top'#3#144#0#0#0#12
+'TFrPrintGrid'#2'PG'#6'DBGrid'#7#7'dbGrid1'#11'Orientation'#7#11'poLandscape'
+#7'Caption'#6#4'Grid'#11'ShowCaption'#9#4'left'#2'`'#3'top'#3#176#0#0#0#9'TM'
+'ainMenu'#9'MainMenu1'#4'left'#2#8#3'top'#2'`'#0#9'TMenuItem'#9'MenuItem1'#7
+'Caption'#6#5'Files'#0#9'TMenuItem'#9'MenuItem2'#6'Action'#7#8'accClose'#7'O'
+'nClick'#7#15'accCloseExecute'#0#0#0#9'TMenuItem'#9'MenuItem3'#7'Caption'#6#5
+'Tests'#0#9'TMenuItem'#9'MenuItem4'#6'Action'#7#12'accNewReport'#7'OnClick'#7
+#19'accNewReportExecute'#0#0#9'TMenuItem'#9'MenuItem5'#6'Action'#7#13'accEdi'
+'tReport'#7'OnClick'#7#20'accEditReportExecute'#0#0#9'TMenuItem'#9'MenuItem6'
+#6'Action'#7#16'accPreviewReport'#7'OnClick'#7#23'accPreviewReportExecute'#0
+#0#9'TMenuItem'#9'MenuItem7'#6'Action'#7#14'accPrintReport'#7'OnClick'#7#21
+'accPrintReportExecute'#0#0#9'TMenuItem'#9'MenuItem8'#6'Action'#7#12'accPrin'
+'tGrid'#7'OnClick'#7#19'accPrintGridExecute'#0#0#0#9'TMenuItem'#9'MenuItem9'
+#7'Caption'#6#6'Export'#0#9'TMenuItem'#10'MenuItem10'#6'Action'#7#15'accExpo'
+'rtToText'#7'OnClick'#7#22'accExportToTextExecute'#0#0#9'TMenuItem'#10'MenuI'
+'tem11'#6'Action'#7#15'accExportToHtml'#7'OnClick'#7#22'accExportToHtmlExecu'
+'te'#0#0#9'TMenuItem'#10'MenuItem12'#6'Action'#7#14'accExportToCSV'#7'OnClic'
+'k'#7#21'accExportToCSVExecute'#0#0#0#0#22'TApplicationProperties'#22'Applic'
+'ationProperties1'#17'CaptureExceptions'#9#9'HintColor'#7#8'clInfoBk'#13'Hin'
+'tHidePause'#3#196#9#9'HintPause'#2#10#13'HintShortCuts'#9#14'HintShortPause'
+#2#0#8'ShowHint'#9#10'OnShowHint'#7#30'ApplicationProperties1ShowHint'#4'lef'
+'t'#2'`'#3'top'#3#240#0#0#0#11'TActionList'#11'ActionList1'#5'State'#7#8'asN'
+'ormal'#4'left'#2'0'#3'top'#2'`'#0#7'TAction'#12'accNewReport'#8'Category'#6
+#5'Tests'#9'AutoCheck'#8#7'Caption'#6#10'New Report'#7'Checked'#8#18'Disable'
+'IfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0#11'HelpContext'#2#0#8'HelpTy'
+'pe'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExecute'#7#19'accNewReportExecu'
+'te'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TAction'#13'accEditReport'#8'Categor'
+'y'#6#5'Tests'#9'AutoCheck'#8#7'Caption'#6#11'Edit Report'#7'Checked'#8#18'D'
+'isableIfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0#11'HelpContext'#2#0#8
+'HelpType'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExecute'#7#20'accEditRepo'
+'rtExecute'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TAction'#16'accPreviewReport'
+#8'Category'#6#5'Tests'#9'AutoCheck'#8#7'Caption'#6#14'Preview Report'#7'Che'
+'cked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0#11'HelpCon'
+'text'#2#0#8'HelpType'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExecute'#7#23
+'accPreviewReportExecute'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TAction'#12'acc'
+'PrintGrid'#8'Category'#6#5'Tests'#9'AutoCheck'#8#7'Caption'#6#10'Print Grid'
+#7'Checked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0#11'He'
+'lpContext'#2#0#8'HelpType'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExecute'
+#7#19'accPrintGridExecute'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TAction'#14'ac'
+'cPrintReport'#8'Category'#6#5'Tests'#9'AutoCheck'#8#7'Caption'#6#12'Print R'
+'eport'#7'Checked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0
,#11'HelpContext'#2#0#8'HelpType'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExe'
+'cute'#7#21'accPrintReportExecute'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TActio'
+'n'#8'accClose'#8'Category'#6#5'Files'#9'AutoCheck'#8#7'Caption'#6#5'Close'#7
+'Checked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0#11'Help'
+'Context'#2#0#8'HelpType'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExecute'#7
+#15'accCloseExecute'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TAction'#15'accExpor'
+'tToText'#8'Category'#6#6'Export'#9'AutoCheck'#8#7'Caption'#6#14'Export to t'
+'ext'#7'Checked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0
+#11'HelpContext'#2#0#8'HelpType'#7#9'htContext'#10'ImageIndex'#2#255#9'OnExe'
+'cute'#7#22'accExportToTextExecute'#8'ShortCut'#2#0#7'Visible'#9#0#0#7'TActi'
+'on'#15'accExportToHtml'#8'Category'#6#6'Export'#9'AutoCheck'#8#7'Caption'#6
+#14'Export to html'#7'Checked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9#10'Gr'
+'oupIndex'#2#0#11'HelpContext'#2#0#8'HelpType'#7#9'htContext'#10'ImageIndex'
+#2#255#9'OnExecute'#7#22'accExportToHtmlExecute'#8'ShortCut'#2#0#7'Visible'#9
+#0#0#7'TAction'#13'accOpenReport'#8'Category'#6#5'Files'#9'AutoCheck'#8#7'Ca'
+'ption'#6#11'Open Report'#7'Checked'#8#18'DisableIfNoHandler'#9#7'Enabled'#9
+#10'GroupIndex'#2#0#11'HelpContext'#2#0#8'HelpType'#7#9'htContext'#10'ImageI'
+'ndex'#2#255#9'OnExecute'#7#20'accOpenReportExecute'#8'ShortCut'#2#0#7'Visib'
+'le'#9#0#0#7'TAction'#14'accExportToCSV'#8'Category'#6#6'Export'#9'AutoCheck'
+#8#7'Caption'#6#13'Export to CSV'#7'Checked'#8#18'DisableIfNoHandler'#9#7'En'
+'abled'#9#10'GroupIndex'#2#0#11'HelpContext'#2#0#8'HelpType'#7#9'htContext'
+#10'ImageIndex'#2#255#9'OnExecute'#7#21'accExportToCSVExecute'#8'ShortCut'#2
+#0#7'Visible'#9#0#0#7'TAction'#13'accThumbnails'#8'Category'#6#14'Sample Rep'
+'orts'#9'AutoCheck'#8#7'Caption'#6#10'Thumbnails'#7'Checked'#8#18'DisableIfN'
+'oHandler'#9#7'Enabled'#9#10'GroupIndex'#2#0#11'HelpContext'#2#0#8'HelpType'
+#7#9'htContext'#10'ImageIndex'#2#255#9'OnExecute'#7#20'accThumbnailsExecute'
+#8'ShortCut'#2#0#7'Visible'#9#0#0#0#11'TOpenDialog'#11'OpenDialog1'#6'Filter'
+#6':LazReport Files|*.lrf|FreeReport Files|*.frf|All Files|*.*'#11'FilterInd'
+'ex'#2#0#4'left'#2'd'#3'top'#3#16#1#0#0#12'TfrCSVExport'#12'frCSVExport1'#4
+'left'#3#188#0#3'top'#2'H'#0#0#14'TfrUserDataset'#14'frUserDataset1'#10'Rang'
+'eBegin'#7#7'rbFirst'#8'RangeEnd'#7#7'reCount'#13'RangeEndCount'#2#0#4'left'
+#3#132#0#3'top'#3#144#0#0#0#0
]); ]);

View File

@ -26,9 +26,10 @@ unit maincalleditor;
interface interface
uses uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, Buttons, Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, LR_Const, LR_Class, LR_Desgn, Dbf, DB, DBGrids, LR_DBSet, LR_PGrid, Buttons, StdCtrls, LR_Const, LR_Class, LR_Desgn, Dbf, DB, DBGrids, LR_DBSet,
Menus, ComCtrls, ActnList, Lr_e_txt, Lr_e_htm, LR_E_CSV, LR_DSet; LR_PGrid, Menus, ComCtrls, ActnList, Lr_e_txt, Lr_e_htm, LR_E_CSV, LR_DSet,
LR_BarC, LR_RRect, LR_Shape, LR_ChBox;
type type
@ -59,8 +60,12 @@ type
Datasource1: TDatasource; Datasource1: TDatasource;
Dbf1: TDbf; Dbf1: TDbf;
dbGrid1: TdbGrid; dbGrid1: TdbGrid;
frBarCodeObject1: TfrBarCodeObject;
frCheckBoxObject1: TfrCheckBoxObject;
frCSVExport1: TfrCSVExport; frCSVExport1: TfrCSVExport;
frDBDataSet1: TfrDBDataSet; frDBDataSet1: TfrDBDataSet;
frRoundRectObject1: TfrRoundRectObject;
frShapeObject1: TfrShapeObject;
frUserDataset1: TfrUserDataset; frUserDataset1: TfrUserDataset;
lblExpr: TLabel; lblExpr: TLabel;
lblIndex: TLabel; lblIndex: TLabel;
@ -348,7 +353,7 @@ begin
GetLanguageIDs(Lang,FallbackLang); // in unit gettext GetLanguageIDs(Lang,FallbackLang); // in unit gettext
TranslateUnitResourceStrings('LCLStrConsts','../../../../lcl/languages/lclstrconsts.%s.po', Lang,FallbackLang); TranslateUnitResourceStrings('LCLStrConsts','../../../../lcl/languages/lclstrconsts.%s.po', Lang,FallbackLang);
TranslateUnitResourceStrings('MainCallEditor','languages/calleditorwithpkg.%s.po', Lang,FallbackLang); TranslateUnitResourceStrings('MainCallEditor','languages/calleditorwithpkg.%s.po', Lang,FallbackLang);
TranslateUnitResourceStrings('Lr_const','../../languages/lr_const.%s.po', Lang,FallbackLang); TranslateUnitResourceStrings('Lr_const','../../source/languages/lr_const.%s.po', Lang,FallbackLang);
end; end;
initialization initialization