📄 unit1.dfm
字号:
object Form1: TForm1
Left = 187
Top = 98
Width = 770
Height = 592
Caption =
'kbmMemTable demo. Created by Components4Developers (www.componen' +
'ts4developers.com)'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -10
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = True
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 235
Top = 0
Width = 527
Height = 534
Align = alClient
BevelOuter = bvNone
TabOrder = 0
object DBGrid1: TDBGrid
Left = 0
Top = 0
Width = 527
Height = 383
Align = alClient
DataSource = DataSource1
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgMultiSelect]
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -10
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object DBNavigator1: TDBNavigator
Left = 0
Top = 512
Width = 527
Height = 22
DataSource = DataSource1
Align = alBottom
TabOrder = 1
end
object Panel2: TPanel
Left = 0
Top = 383
Width = 527
Height = 129
Align = alBottom
BevelOuter = bvNone
TabOrder = 2
object DBImage1: TDBImage
Left = 0
Top = 0
Width = 138
Height = 129
Align = alLeft
DataSource = DataSource1
Stretch = True
TabOrder = 0
end
object DBMemo1: TDBMemo
Left = 138
Top = 0
Width = 204
Height = 129
Align = alClient
TabOrder = 1
end
object Panel6: TPanel
Left = 342
Top = 0
Width = 185
Height = 129
Align = alRight
BevelOuter = bvNone
TabOrder = 2
object Label34: TLabel
Left = 8
Top = 8
Width = 48
Height = 13
Caption = 'BytesField'
end
object DBEdit1: TDBEdit
Left = 8
Top = 24
Width = 121
Height = 21
TabOrder = 0
end
object Button22: TButton
Left = 8
Top = 56
Width = 75
Height = 25
Caption = 'Clear Memo'
TabOrder = 1
OnClick = Button22Click
end
end
end
end
object PageControl1: TPageControl
Left = 0
Top = 0
Width = 235
Height = 534
ActivePage = TabSheet1
Align = alLeft
MultiLine = True
TabOrder = 1
object TabSheet1: TTabSheet
Caption = 'Basic functionality'
object Label6: TLabel
Left = 7
Top = 7
Width = 117
Height = 26
AutoSize = False
Caption = 'Define some fields programatically'
WordWrap = True
end
object Label7: TLabel
Left = 7
Top = 52
Width = 130
Height = 20
AutoSize = False
Caption = 'Open the memorytable'
WordWrap = True
end
object Label8: TLabel
Left = 7
Top = 85
Width = 137
Height = 26
AutoSize = False
Caption = 'Close the memorytable'
WordWrap = True
end
object Label9: TLabel
Left = 7
Top = 229
Width = 124
Height = 20
AutoSize = False
Caption = 'Generate sample data'
WordWrap = True
end
object Label25: TLabel
Left = 8
Top = 112
Width = 129
Height = 33
AutoSize = False
Caption = 'Number of records in sample data'
WordWrap = True
end
object Label26: TLabel
Left = 8
Top = 432
Width = 70
Height = 13
Caption = 'Recordnumber'
end
object lRecNo: TLabel
Left = 112
Top = 432
Width = 3
Height = 13
Caption = '-'
end
object Label35: TLabel
Left = 8
Top = 408
Width = 54
Height = 13
Caption = 'Old VALUE'
end
object lOldValue: TLabel
Left = 112
Top = 408
Width = 3
Height = 13
Caption = '.'
end
object Button6: TButton
Left = 156
Top = 7
Width = 61
Height = 20
Caption = 'Def. Fields'
TabOrder = 0
OnClick = Button6Click
end
object Button7: TButton
Left = 156
Top = 52
Width = 61
Height = 20
Caption = 'Open'
TabOrder = 1
OnClick = Button7Click
end
object Button8: TButton
Left = 156
Top = 85
Width = 61
Height = 20
Caption = 'Close'
TabOrder = 2
OnClick = Button8Click
end
object Button1: TButton
Left = 156
Top = 221
Width = 61
Height = 20
Caption = 'Generate'
TabOrder = 3
OnClick = Button1Click
end
object eRecordCount: TEdit
Left = 156
Top = 112
Width = 61
Height = 21
TabOrder = 4
Text = '100'
end
object chbEnableIndexes: TCheckBox
Left = 8
Top = 152
Width = 137
Height = 17
Caption = 'Update indexes'
Checked = True
State = cbChecked
TabOrder = 5
OnClick = chbEnableIndexesClick
end
object chbRandomColor: TCheckBox
Left = 8
Top = 176
Width = 97
Height = 17
Caption = 'Random COLOR data'
Checked = True
State = cbChecked
TabOrder = 6
end
object chbGenerateMemos: TCheckBox
Left = 8
Top = 200
Width = 129
Height = 17
Caption = 'Generate memos'
Checked = True
State = cbChecked
TabOrder = 7
end
object Button13: TButton
Left = 128
Top = 253
Width = 89
Height = 20
Caption = 'AppendRecord'
TabOrder = 8
OnClick = Button13Click
end
object Button10: TButton
Left = 144
Top = 296
Width = 75
Height = 17
Caption = 'Goto 10'
TabOrder = 9
OnClick = Button10Click
end
end
object TabSheet2: TTabSheet
Caption = 'Load/Save'
object Label19: TLabel
Left = 13
Top = 259
Width = 210
Height = 30
AutoSize = False
Caption =
'Check this, press the save above, after always with this checked' +
' press Load'
WordWrap = True
end
object lblLZH: TLabel
Left = 12
Top = 294
Width = 5
Height = 13
Caption = ' '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object PageControl2: TPageControl
Left = 0
Top = 72
Width = 227
Height = 380
ActivePage = TabSheet5
Align = alClient
TabOrder = 0
TabPosition = tpBottom
object TabSheet5: TTabSheet
Caption = 'Copy, Save, Load'
object Label1: TLabel
Left = 7
Top = 92
Width = 137
Height = 26
AutoSize = False
Caption = 'Copy structur and data from another datasource.'
WordWrap = True
end
object Label2: TLabel
Left = 7
Top = 229
Width = 137
Height = 26
AutoSize = False
Caption = 'Save contents in a file, incl. blobs'
WordWrap = True
end
object Label3: TLabel
Left = 7
Top = 268
Width = 137
Height = 26
AutoSize = False
Caption = 'Load data from a file'
WordWrap = True
end
object Label20: TLabel
Left = 6
Top = 21
Width = 209
Height = 61
AutoSize = False
Caption =
'Check Blob InMemory Compression before loading the table and the' +
' Blob fIelds will be transparently de/compressed using less memo' +
'ry'
WordWrap = True
end
object Button9: TButton
Left = 156
Top = 92
Width = 61
Height = 19
Caption = 'Copy'
TabOrder = 0
OnClick = Button9Click
end
object Button2: TButton
Left = 156
Top = 229
Width = 61
Height = 19
Caption = 'Save'
TabOrder = 1
OnClick = Button2Click
end
object Button3: TButton
Left = 156
Top = 268
Width = 61
Height = 19
Caption = 'Load'
TabOrder = 2
OnClick = Button3Click
end
object BlobCompression: TCheckBox
Left = 6
Top = -1
Width = 204
Height = 17
Caption = 'Blob InMemory Compression'
TabOrder = 3
end
object BinarySave: TCheckBox
Left = 7
Top = 130
Width = 143
Height = 14
Caption = 'Save/Load as binary'
TabOrder = 4
OnClick = BinarySaveClick
end
object chbSaveIndexDef: TCheckBox
Left = 8
Top = 152
Width = 201
Height = 17
Caption = 'Save index definitions too'
TabOrder = 5
end
object chbSaveDeltas: TCheckBox
Left = 8
Top = 176
Width = 209
Height = 17
Caption = 'Save deltas too (only if binary checked)'
Enabled = False
TabOrder = 6
end
object chbNoQuotes: TCheckBox
Left = 8
Top = 200
Width = 97
Height = 17
Caption = 'No quotes'
TabOrder = 7
end
end
object TabSheet6: TTabSheet
Caption = 'CommaText'
object Label4: TLabel
Left = 7
Top = 7
Width = 111
Height = 59
AutoSize = False
Caption =
'Save contents in CSV format in the memo. Note that Blobs doesnt ' +
'get saved.'
WordWrap = True
end
object Label5: TLabel
Left = 7
Top = 79
Width = 111
Height = 32
AutoSize = False
Caption = 'Load contents from CSV formatted memo.'
WordWrap = True
end
object Button4: TButton
Left = 124
Top = 27
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -