2016-09-28 09:08:15 +00:00
|
|
|
object MainForm: TMainForm
|
|
|
|
Left = 280
|
2016-09-28 16:35:39 +00:00
|
|
|
Height = 476
|
2016-09-28 09:08:15 +00:00
|
|
|
Top = 130
|
2016-09-28 16:35:39 +00:00
|
|
|
Width = 678
|
2016-09-28 09:08:15 +00:00
|
|
|
Caption = 'Zoom demo'
|
2016-09-28 16:35:39 +00:00
|
|
|
ClientHeight = 476
|
|
|
|
ClientWidth = 678
|
2016-09-28 09:08:15 +00:00
|
|
|
OnCreate = FormCreate
|
|
|
|
LCLVersion = '1.7'
|
|
|
|
object Grid: TsWorksheetGrid
|
|
|
|
Left = 5
|
2016-09-28 16:35:39 +00:00
|
|
|
Height = 386
|
2016-09-28 09:08:15 +00:00
|
|
|
Top = 8
|
2016-09-28 16:35:39 +00:00
|
|
|
Width = 665
|
2016-09-28 09:08:15 +00:00
|
|
|
FrozenCols = 0
|
|
|
|
FrozenRows = 0
|
|
|
|
ReadFormulas = False
|
|
|
|
TextOverflow = True
|
|
|
|
WorkbookSource = Grid.internal
|
|
|
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
|
|
|
AutoAdvance = aaDown
|
|
|
|
ColCount = 27
|
|
|
|
DefaultColWidth = 64
|
|
|
|
DefaultRowHeight = 22
|
|
|
|
MouseWheelOption = mwGrid
|
|
|
|
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSizing, goColSizing, goEditing, goThumbTracking, goSmoothScroll]
|
|
|
|
RowCount = 101
|
|
|
|
TabOrder = 0
|
|
|
|
OnMouseWheel = GridMouseWheel
|
|
|
|
end
|
|
|
|
object BtnOpen: TButton
|
2016-09-28 16:35:39 +00:00
|
|
|
Left = 8
|
2016-09-28 09:08:15 +00:00
|
|
|
Height = 25
|
2016-09-28 16:35:39 +00:00
|
|
|
Top = 405
|
2016-09-28 09:08:15 +00:00
|
|
|
Width = 75
|
|
|
|
Anchors = [akLeft, akBottom]
|
|
|
|
Caption = 'Open...'
|
|
|
|
OnClick = BtnOpenClick
|
|
|
|
TabOrder = 1
|
|
|
|
end
|
|
|
|
object edZoom: TSpinEdit
|
2016-09-28 16:35:39 +00:00
|
|
|
AnchorSideLeft.Control = CbOverrideZoomFactor
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = BtnOpen
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
Left = 282
|
2016-09-28 09:08:15 +00:00
|
|
|
Height = 23
|
2016-09-28 16:35:39 +00:00
|
|
|
Top = 406
|
2016-09-28 09:08:15 +00:00
|
|
|
Width = 66
|
|
|
|
Alignment = taRightJustify
|
2016-09-28 16:35:39 +00:00
|
|
|
BorderSpacing.Left = 24
|
2016-09-28 09:08:15 +00:00
|
|
|
MaxValue = 900
|
|
|
|
MinValue = 10
|
|
|
|
OnEditingDone = edZoomEditingDone
|
|
|
|
TabOrder = 2
|
|
|
|
Value = 100
|
|
|
|
end
|
|
|
|
object CbOverrideZoomFactor: TCheckBox
|
2016-09-28 16:35:39 +00:00
|
|
|
AnchorSideLeft.Control = BtnOpen
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = BtnOpen
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
Left = 107
|
2016-09-28 09:08:15 +00:00
|
|
|
Height = 19
|
2016-09-28 16:35:39 +00:00
|
|
|
Top = 408
|
2016-09-28 09:08:15 +00:00
|
|
|
Width = 151
|
2016-09-28 16:35:39 +00:00
|
|
|
BorderSpacing.Left = 24
|
2016-09-28 09:08:15 +00:00
|
|
|
Caption = 'Override file zoom factor'
|
|
|
|
TabOrder = 3
|
|
|
|
end
|
2016-09-28 16:35:39 +00:00
|
|
|
object BtnSave: TButton
|
|
|
|
AnchorSideLeft.Control = BtnOpen
|
|
|
|
AnchorSideTop.Control = BtnOpen
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
Left = 8
|
|
|
|
Height = 25
|
|
|
|
Top = 438
|
|
|
|
Width = 75
|
|
|
|
BorderSpacing.Top = 8
|
|
|
|
Caption = 'Save...'
|
|
|
|
OnClick = BtnSaveClick
|
|
|
|
TabOrder = 4
|
|
|
|
end
|
|
|
|
object CbWriteZoomFactor: TCheckBox
|
|
|
|
AnchorSideLeft.Control = CbOverrideZoomFactor
|
|
|
|
AnchorSideTop.Control = BtnSave
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
Left = 107
|
|
|
|
Height = 19
|
|
|
|
Top = 441
|
|
|
|
Width = 115
|
|
|
|
Caption = 'Write zoom factor'
|
|
|
|
TabOrder = 5
|
|
|
|
end
|
2016-09-28 09:08:15 +00:00
|
|
|
object OpenDialog: TOpenDialog
|
|
|
|
left = 280
|
|
|
|
top = 128
|
|
|
|
end
|
2016-09-28 16:35:39 +00:00
|
|
|
object SaveDialog: TSaveDialog
|
|
|
|
left = 280
|
|
|
|
top = 187
|
|
|
|
end
|
2016-09-28 09:08:15 +00:00
|
|
|
end
|