home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 September
/
Chip_2002-09_cd1.bin
/
zkuste
/
delphi
/
kompon
/
d456
/
EKRTF.ZIP
/
MainDemo
/
Unit1.dfm
/
Unit1.txt
Wrap
Text File
|
2002-03-19
|
7KB
|
297 lines
object MainForm: TMainForm
Left = 225
Top = 174
BorderStyle = bsDialog
Caption = 'Ec RTF report demo'
ClientHeight = 317
ClientWidth = 513
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 15
Top = 41
Width = 474
Height = 32
AutoSize = False
Caption =
'This program uses DBDEMOS base. Some reports are like in MASTAPP' +
' demonstration example. '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
WordWrap = True
end
object Label3: TLabel
Left = 15
Top = 88
Width = 206
Height = 13
Caption = '1. Table report with SCAN-ENDSCAN using'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label4: TLabel
Left = 15
Top = 129
Width = 258
Height = 24
AutoSize = False
Caption =
'2. Master-details report with additional variables and user func' +
'tion'
WordWrap = True
end
object Label5: TLabel
Left = 15
Top = 209
Width = 248
Height = 13
Caption = '4. Properties TrueValue and FalseValue demonstrate'
end
object Label6: TLabel
Left = 15
Top = 169
Width = 201
Height = 13
Caption = '3. Master-details report with nested SCANs'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentColor = False
ParentFont = False
end
object Label7: TLabel
Left = 13
Top = 8
Width = 475
Height = 33
AutoSize = False
Caption =
'Before running demo projects, check that you have application as' +
'sociated with doc and rtf files.'
WordWrap = True
end
object Label8: TLabel
Left = 16
Top = 248
Width = 199
Height = 13
Caption = '5. Vendors list using stream and TRichEdit'
end
object Label2: TLabel
Left = 24
Top = 280
Width = 112
Height = 13
Cursor = crHandPoint
Hint = 'http://ekrtf.code.net.ru/help/albumframe.html'
Caption = 'More EK RTF examples'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsUnderline]
ParentFont = False
ParentShowHint = False
ShowHint = True
OnClick = Label2Click
end
object CustBtn: TButton
Left = 284
Top = 80
Width = 96
Height = 25
Caption = 'Customer report'
TabOrder = 0
OnClick = CustBtnClick
end
object InvBtn: TButton
Left = 284
Top = 121
Width = 96
Height = 24
Caption = 'Invoice report'
TabOrder = 2
OnClick = InvBtnClick
end
object Button2: TButton
Left = 388
Top = 80
Width = 113
Height = 25
Caption = 'View report source'
TabOrder = 1
OnClick = Button2Click
end
object Button3: TButton
Left = 388
Top = 121
Width = 113
Height = 24
Caption = 'View report source'
TabOrder = 3
OnClick = Button3Click
end
object VenBtn: TButton
Left = 284
Top = 200
Width = 96
Height = 26
Caption = 'Vendor list'
TabOrder = 6
OnClick = VenBtnClick
end
object Button4: TButton
Left = 388
Top = 200
Width = 113
Height = 26
Caption = 'View report source'
TabOrder = 7
OnClick = Button4Click
end
object InvScanBtn: TButton
Left = 284
Top = 161
Width = 96
Height = 25
Caption = 'Orders by cust.'
TabOrder = 4
OnClick = InvScanBtnClick
end
object Button5: TButton
Left = 388
Top = 161
Width = 113
Height = 25
Caption = 'View report source'
TabOrder = 5
OnClick = Button5Click
end
object StBtn: TButton
Left = 284
Top = 240
Width = 96
Height = 25
Caption = 'Vendors'
TabOrder = 8
OnClick = StBtnClick
end
object Button6: TButton
Left = 388
Top = 240
Width = 113
Height = 25
Caption = 'View report source'
TabOrder = 9
OnClick = Button6Click
end
object Button1: TButton
Left = 388
Top = 280
Width = 109
Height = 25
Caption = 'Close'
TabOrder = 10
OnClick = Button1Click
end
object CustInvRtf: TEkRTF
OnScanBefore = CustInvRtfScanBefore
OnScanRecord = CustInvRtfScanRecord
OnScanEof = CustInvRtfScanEof
Charset = DEFAULT_CHARSET
Lang = 1033
InFile = 'CustList.rtf'
OutFile = 'outfile.doc'
TrueValue = 'True'
FalseValue = 'False'
DisableControls = True
Options = [eoGraphicsBinary, eoClearMissedFields, eoDotAsColon]
Left = 216
Top = 80
end
object InvRtf: TEkRTF
Charset = DEFAULT_CHARSET
Lang = 1033
InFile = 'invrpt.rtf'
OutFile = 'outfile.doc'
TrueValue = 'True'
FalseValue = 'False'
DisableControls = True
Options = [eoGraphicsBinary, eoDotAsColon]
UDFList = InvFn
Left = 216
Top = 120
end
object VenRtf: TEkRTF
Charset = DEFAULT_CHARSET
Lang = 1033
InFile = 'Vendor.rtf'
OutFile = 'outfile.doc'
TrueValue = 'True'
FalseValue = 'False'
DisableControls = True
Options = [eoGraphicsBinary, eoDotAsColon]
Left = 216
Top = 200
end
object InvScan: TEkRTF
OnScanBefore = InvScanScanBefore
OnScanRecord = InvScanScanRecord
OnScanEof = InvScanScanEof
Charset = DEFAULT_CHARSET
Lang = 0
InFile = 'inv_scan.rtf'
OutFile = 'outfile.doc'
TrueValue = 'True'
FalseValue = 'False'
DisableControls = True
Options = [eoGraphicsBinary, eoDotAsColon]
Left = 216
Top = 160
end
object StRTF: TEkRTF
Charset = DEFAULT_CHARSET
Lang = 1033
InFile = 'stream.rtf'
OutFile = 'outfile.doc'
TrueValue = 'True'
FalseValue = 'False'
DisableControls = True
Options = [eoGraphicsBinary, eoDotAsColon]
Left = 216
Top = 240
end
object InvFn: TEkUDFList
Functions = <
item
OnCalculate = InvFnFunctions0Calculate
Name = 'MyTotal'
ArgMinCount = 2
ArgMaxCount = 2
ResultType = 1
end>
Left = 248
Top = 120
end
end