2022-11-07 23:51:58 +00:00
|
|
|
object MainForm: TMainForm
|
|
|
|
Left = 331
|
2022-11-13 13:20:17 +00:00
|
|
|
Height = 485
|
2022-11-07 23:51:58 +00:00
|
|
|
Top = 127
|
2022-11-12 22:38:55 +00:00
|
|
|
Width = 651
|
2022-11-07 23:51:58 +00:00
|
|
|
Caption = 'Multi-Language Demonstration of TGridPrinter'
|
2022-11-13 13:20:17 +00:00
|
|
|
ClientHeight = 485
|
2022-11-12 22:38:55 +00:00
|
|
|
ClientWidth = 651
|
2022-11-07 23:51:58 +00:00
|
|
|
OnCreate = FormCreate
|
|
|
|
LCLVersion = '2.3.0.0'
|
|
|
|
object StringGrid1: TStringGrid
|
|
|
|
AnchorSideLeft.Control = Owner
|
|
|
|
AnchorSideTop.Control = Panel1
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
AnchorSideRight.Control = Owner
|
|
|
|
AnchorSideRight.Side = asrBottom
|
|
|
|
AnchorSideBottom.Control = btnPrint
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 8
|
2022-11-13 13:20:17 +00:00
|
|
|
Height = 405
|
2022-11-11 22:59:52 +00:00
|
|
|
Top = 39
|
2022-11-12 22:38:55 +00:00
|
|
|
Width = 635
|
2022-11-07 23:51:58 +00:00
|
|
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
2022-11-11 22:59:52 +00:00
|
|
|
BorderSpacing.Around = 8
|
2022-11-07 23:51:58 +00:00
|
|
|
ColCount = 6
|
|
|
|
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSizing, goColSizing, goEditing, goThumbTracking, goSmoothScroll, goCellEllipsis]
|
|
|
|
RowCount = 6
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
|
|
|
object btnPrint: TButton
|
|
|
|
AnchorSideLeft.Control = Owner
|
|
|
|
AnchorSideBottom.Control = Owner
|
|
|
|
AnchorSideBottom.Side = asrBottom
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 8
|
2022-11-07 23:51:58 +00:00
|
|
|
Height = 25
|
2022-11-13 13:20:17 +00:00
|
|
|
Top = 452
|
2022-11-11 15:25:24 +00:00
|
|
|
Width = 60
|
2022-11-07 23:51:58 +00:00
|
|
|
Anchors = [akLeft, akBottom]
|
2022-11-11 15:25:24 +00:00
|
|
|
AutoSize = True
|
2022-11-11 22:59:52 +00:00
|
|
|
BorderSpacing.Around = 8
|
2022-11-07 23:51:58 +00:00
|
|
|
Caption = 'Print...'
|
|
|
|
OnClick = btnPrintClick
|
|
|
|
TabOrder = 1
|
|
|
|
end
|
|
|
|
object btnPreview: TButton
|
|
|
|
AnchorSideLeft.Control = cmbDialogs
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = btnPrint
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 264
|
2022-11-07 23:51:58 +00:00
|
|
|
Height = 25
|
2022-11-13 13:20:17 +00:00
|
|
|
Top = 452
|
2022-11-07 23:51:58 +00:00
|
|
|
Width = 76
|
|
|
|
AutoSize = True
|
|
|
|
BorderSpacing.Left = 24
|
|
|
|
Caption = 'Preview...'
|
|
|
|
OnClick = btnPreviewClick
|
|
|
|
TabOrder = 2
|
|
|
|
end
|
|
|
|
object cmbDialogs: TComboBox
|
|
|
|
AnchorSideLeft.Control = btnPrint
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = btnPrint
|
|
|
|
AnchorSideTop.Side = asrCenter
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 76
|
2022-11-07 23:51:58 +00:00
|
|
|
Height = 23
|
2022-11-13 13:20:17 +00:00
|
|
|
Top = 453
|
2022-11-07 23:51:58 +00:00
|
|
|
Width = 164
|
2022-11-11 22:59:52 +00:00
|
|
|
DropDownCount = 24
|
2022-11-07 23:51:58 +00:00
|
|
|
ItemHeight = 15
|
|
|
|
Items.Strings = (
|
|
|
|
'RSNoPrinterDialog'
|
|
|
|
'RSPageSetupDialog'
|
|
|
|
'RSPrinterDialog'
|
2022-11-09 16:14:31 +00:00
|
|
|
'RSPrinterSetupDialog'
|
2022-11-07 23:51:58 +00:00
|
|
|
)
|
|
|
|
Style = csDropDownList
|
|
|
|
TabOrder = 3
|
|
|
|
end
|
|
|
|
object ccbPreviewOptions: TCheckComboBox
|
|
|
|
AnchorSideLeft.Control = btnPreview
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = btnPreview
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
AnchorSideRight.Control = Owner
|
|
|
|
AnchorSideRight.Side = asrBottom
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 348
|
2022-11-07 23:51:58 +00:00
|
|
|
Height = 22
|
2022-11-13 13:20:17 +00:00
|
|
|
Top = 453
|
2022-11-12 22:38:55 +00:00
|
|
|
Width = 295
|
2022-11-07 23:51:58 +00:00
|
|
|
Anchors = [akTop, akLeft, akRight]
|
2022-11-11 22:59:52 +00:00
|
|
|
BorderSpacing.Around = 8
|
|
|
|
DropDownCount = 24
|
2022-11-07 23:51:58 +00:00
|
|
|
ItemHeight = 16
|
|
|
|
Items.Strings = (
|
|
|
|
'ppoNavigationBtns'
|
|
|
|
'ppoNavigationEdit'
|
|
|
|
'ppoZoomBtns'
|
|
|
|
'ppoPageOrientationBtns'
|
|
|
|
'ppoMarginsBtn'
|
|
|
|
'ppoHeaderFooterBtn'
|
|
|
|
'ppoPrintOrderBtns '
|
2022-11-11 22:59:52 +00:00
|
|
|
'ppoCenterBtns'
|
2022-11-15 22:52:13 +00:00
|
|
|
'ppoScalePrinterBtn'
|
2022-11-11 22:59:52 +00:00
|
|
|
'ppoPageSetupBtn'
|
|
|
|
'ppoPageInfo'
|
|
|
|
'ppoZoomInfo'
|
2022-11-07 23:51:58 +00:00
|
|
|
)
|
|
|
|
OnItemChange = ccbPreviewOptionsItemChange
|
|
|
|
TabOrder = 4
|
|
|
|
end
|
|
|
|
object Panel1: TPanel
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 8
|
|
|
|
Height = 23
|
|
|
|
Top = 8
|
2022-11-12 22:38:55 +00:00
|
|
|
Width = 635
|
2022-11-07 23:51:58 +00:00
|
|
|
Align = alTop
|
|
|
|
AutoSize = True
|
2022-11-11 22:59:52 +00:00
|
|
|
BorderSpacing.Around = 8
|
2022-11-07 23:51:58 +00:00
|
|
|
BevelOuter = bvNone
|
2022-11-11 22:59:52 +00:00
|
|
|
ClientHeight = 23
|
2022-11-12 22:38:55 +00:00
|
|
|
ClientWidth = 635
|
2022-11-07 23:51:58 +00:00
|
|
|
TabOrder = 5
|
|
|
|
object Label1: TLabel
|
|
|
|
AnchorSideLeft.Control = Panel1
|
|
|
|
AnchorSideTop.Control = cmbLanguages
|
|
|
|
AnchorSideTop.Side = asrCenter
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 0
|
2022-11-07 23:51:58 +00:00
|
|
|
Height = 15
|
2022-11-11 22:59:52 +00:00
|
|
|
Top = 4
|
2022-11-07 23:51:58 +00:00
|
|
|
Width = 55
|
|
|
|
Caption = 'Language:'
|
|
|
|
end
|
|
|
|
object cmbLanguages: TComboBox
|
|
|
|
AnchorSideLeft.Control = Label1
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = Panel1
|
|
|
|
AnchorSideRight.Control = Panel1
|
|
|
|
AnchorSideRight.Side = asrBottom
|
2022-11-11 22:59:52 +00:00
|
|
|
Left = 61
|
2022-11-07 23:51:58 +00:00
|
|
|
Height = 23
|
2022-11-11 22:59:52 +00:00
|
|
|
Top = 0
|
2022-11-12 22:38:55 +00:00
|
|
|
Width = 574
|
2022-11-07 23:51:58 +00:00
|
|
|
Anchors = [akTop, akLeft, akRight]
|
|
|
|
BorderSpacing.Left = 6
|
|
|
|
ItemHeight = 15
|
|
|
|
OnChange = cmbLanguagesChange
|
|
|
|
Style = csDropDownList
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object GridPrinter1: TGridPrinter
|
|
|
|
Grid = StringGrid1
|
2022-11-12 22:38:55 +00:00
|
|
|
Footer.FontSize = 0
|
|
|
|
Header.Text = 'Test||'
|
|
|
|
Header.FontSize = 0
|
2022-11-07 23:51:58 +00:00
|
|
|
Left = 168
|
|
|
|
Top = 96
|
|
|
|
end
|
|
|
|
object GridPrintPreviewDialog1: TGridPrintPreviewDialog
|
2022-11-15 22:52:13 +00:00
|
|
|
FormParams.Width = 700
|
2022-11-12 23:35:27 +00:00
|
|
|
FormParams.Height = 800
|
|
|
|
FormParams.Position = poDesigned
|
2022-11-13 13:20:17 +00:00
|
|
|
FormParams.PixelsPerInch = 96
|
2022-11-07 23:51:58 +00:00
|
|
|
GridPrinter = GridPrinter1
|
2022-11-13 00:04:51 +00:00
|
|
|
Zoom = 199
|
|
|
|
ZoomMode = zmFitHeight
|
2022-11-07 23:51:58 +00:00
|
|
|
Left = 288
|
|
|
|
Top = 96
|
|
|
|
end
|
|
|
|
end
|