📄 pfm_selyuangong.dfm
字号:
object fm_selyuangong: Tfm_selyuangong
Left = 224
Top = 132
BorderStyle = bsDialog
Caption = '选择员工'
ClientHeight = 344
ClientWidth = 402
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
PixelsPerInch = 96
TextHeight = 13
object GroupBox1: TGroupBox
Left = 0
Top = 0
Width = 402
Height = 344
Align = alClient
Caption = '双击选择员工'
TabOrder = 0
object DBGrid1: TDBGrid
Left = 2
Top = 15
Width = 398
Height = 290
Align = alTop
DataSource = DataSource1
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
OnDblClick = DBGrid1DblClick
Columns = <
item
Expanded = False
FieldName = 'ygbm'
Title.Caption = '员工编号'
Visible = True
end
item
Expanded = False
FieldName = 'ygxm'
Title.Caption = '员工姓名'
Visible = True
end
item
Expanded = False
FieldName = 'yglb'
Title.Caption = '员工类别'
Visible = True
end
item
Expanded = False
FieldName = 'dwmc'
Title.Caption = '所属单位'
Width = 180
Visible = True
end>
end
object BitBtn1: TBitBtn
Left = 284
Top = 312
Width = 75
Height = 25
Caption = '确定'
TabOrder = 1
OnClick = BitBtn1Click
end
end
object Query1: TQuery
Active = True
DatabaseName = 'posdb'
SQL.Strings = (
'select ygbm,ygxm,yglb,dwmc from t_ygxx ')
Left = 36
Top = 32
end
object DataSource1: TDataSource
DataSet = Query1
Left = 140
Top = 44
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -