📄 dirdemonoshellform.dfm
字号:
object Form1: TForm1
Left = 220
Top = 235
Width = 735
Height = 243
Caption = 'DirDataSet Demo'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object DBGrid1: TDBGrid
Left = 145
Top = 0
Width = 582
Height = 216
Align = alClient
DataSource = DataSource1
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'FileName'
Width = 160
Visible = True
end
item
Expanded = False
FieldName = 'TimeStamp'
Width = 160
Visible = True
end
item
Expanded = False
FieldName = 'Size'
Width = 90
Visible = True
end
item
Expanded = False
FieldName = 'Attributes'
Visible = True
end
item
Expanded = False
FieldName = 'Folder'
Visible = True
end>
end
object DirectoryListBox1: TDirectoryListBox
Left = 0
Top = 0
Width = 145
Height = 216
Align = alLeft
ItemHeight = 16
TabOrder = 1
OnChange = DirectoryListBox1Change
end
object DataSource1: TDataSource
AutoEdit = False
DataSet = MdDirDataset1
Left = 224
Top = 40
end
object MdDirDataset1: TMdDirDataset
Active = True
Directory = 'c:\*.*'
Left = 224
Top = 80
object MdDirDataset1FileName: TStringField
FieldName = 'FileName'
Required = True
Size = 40
end
object MdDirDataset1TimeStamp: TDateTimeField
FieldName = 'TimeStamp'
end
object MdDirDataset1Size: TIntegerField
FieldName = 'Size'
DisplayFormat = '#,###'
end
object MdDirDataset1Attributes: TStringField
FieldName = 'Attributes'
Size = 3
end
object MdDirDataset1Folder: TBooleanField
FieldName = 'Folder'
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -