📄 hydacx1.dfm
字号:
object hydacx: Thydacx
Left = 265
Top = 156
Width = 657
Height = 468
Caption = '会员档案查询'
Color = clBtnFace
DefaultMonitor = dmMainForm
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
OnClose = FormClose
PixelsPerInch = 96
TextHeight = 12
object Panel1: TPanel
Left = 0
Top = 0
Width = 649
Height = 41
Align = alTop
BevelOuter = bvNone
TabOrder = 0
object Label2: TLabel
Left = 329
Top = 16
Width = 60
Height = 12
Caption = '联系电话:'
end
object Label1: TLabel
Left = 8
Top = 16
Width = 60
Height = 12
Caption = '会员卡号:'
end
object Label3: TLabel
Left = 160
Top = 16
Width = 60
Height = 12
Caption = '会员名称:'
end
object Button1: TButton
Left = 518
Top = 5
Width = 62
Height = 25
Caption = '查询'
Default = True
TabOrder = 0
OnClick = Button1Click
end
object Button2: TButton
Left = 586
Top = 5
Width = 58
Height = 25
Caption = '打印'
TabOrder = 1
OnClick = Button2Click
end
object Edit1: TEdit
Left = 66
Top = 8
Width = 87
Height = 20
TabOrder = 2
end
object Edit3: TEdit
Left = 220
Top = 8
Width = 103
Height = 20
TabOrder = 3
end
object Edit2: TEdit
Left = 386
Top = 8
Width = 97
Height = 20
TabOrder = 4
end
end
object dxDBGrid1: TdxDBGrid
Left = 0
Top = 41
Width = 649
Height = 400
Bands = <
item
end>
DefaultLayout = True
HeaderPanelRowCount = 1
KeyField = 'code'
SummaryGroups = <>
SummarySeparator = ', '
Align = alClient
Color = 15524050
Font.Charset = GB2312_CHARSET
Font.Color = 7479077
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
ParentFont = False
TabOrder = 1
BandFont.Charset = GB2312_CHARSET
BandFont.Color = clWindowText
BandFont.Height = -12
BandFont.Name = '宋体'
BandFont.Style = []
DataSource = DataSource1
Filter.Active = True
Filter.Criteria = {00000000}
HeaderFont.Charset = GB2312_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -12
HeaderFont.Name = '宋体'
HeaderFont.Style = []
LookAndFeel = lfFlat
OptionsBehavior = [edgoAutoSort, edgoDragScroll, edgoEditing, edgoEnterShowEditor, edgoImmediateEditor, edgoStoreToRegistry, edgoTabThrough, edgoVertThrough]
OptionsDB = [edgoCancelOnExit, edgoCanDelete, edgoCanInsert, edgoCanNavigation, edgoConfirmDelete, edgoLoadAllRecords, edgoSmartRefresh, edgoSmartReload, edgoUseBookmarks]
OptionsView = [edgoBandHeaderWidth, edgoIndicator, edgoRowSelect, edgoUseBitmap]
PreviewFont.Charset = DEFAULT_CHARSET
PreviewFont.Color = clBlue
PreviewFont.Height = -12
PreviewFont.Name = '宋体'
PreviewFont.Style = []
RegistryPath = '\Software\server\hydacx'
object dxDBGrid1code: TdxDBGridMaskColumn
Width = 74
BandIndex = 0
RowIndex = 0
FieldName = 'code'
end
object dxDBGrid1name: TdxDBGridMaskColumn
Width = 93
BandIndex = 0
RowIndex = 0
FieldName = 'name'
end
object dxDBGrid1lxdh: TdxDBGridMaskColumn
Width = 107
BandIndex = 0
RowIndex = 0
FieldName = 'lxdh'
end
object dxDBGrid1lxdz: TdxDBGridMaskColumn
Width = 150
BandIndex = 0
RowIndex = 0
FieldName = 'lxdz'
end
object dxDBGrid1zcrq: TdxDBGridDateColumn
Width = 81
BandIndex = 0
RowIndex = 0
FieldName = 'zcrq'
end
object dxDBGrid1yxq: TdxDBGridDateColumn
Width = 72
BandIndex = 0
RowIndex = 0
FieldName = 'yxq'
end
object dxDBGrid1bz: TdxDBGridMaskColumn
Width = 145
BandIndex = 0
RowIndex = 0
FieldName = 'bz'
end
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 208
Top = 136
end
object ADOQuery1: TADOQuery
Connection = MainForm.ADOConnection1
CursorType = ctStatic
Parameters = <
item
Name = 'code'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 20
Value = '%'
end
item
Name = 'name'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 50
Value = '%'
end
item
Name = 'lxdh'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 50
Value = Null
end>
SQL.Strings = (
'select * from hyda'
'where code like :code'
'and name like :name'
'and lxdh like :lxdh')
Left = 160
Top = 136
object ADOQuery1code: TStringField
DisplayLabel = '会员卡号'
FieldName = 'code'
end
object ADOQuery1name: TStringField
DisplayLabel = '会员名称'
FieldName = 'name'
Size = 50
end
object ADOQuery1lxdh: TStringField
DisplayLabel = '联系电话'
FieldName = 'lxdh'
Size = 50
end
object ADOQuery1lxdz: TStringField
DisplayLabel = '联系地址'
FieldName = 'lxdz'
Size = 200
end
object ADOQuery1zcrq: TDateTimeField
DisplayLabel = '注册日期'
FieldName = 'zcrq'
end
object ADOQuery1yxq: TDateTimeField
DisplayLabel = '有效日期'
FieldName = 'yxq'
end
object ADOQuery1bz: TStringField
DisplayLabel = '备注'
FieldName = 'bz'
Size = 200
end
end
object dxComponentPrinter1: TdxComponentPrinter
CurrentLink = dxComponentPrinter1Link1
PreviewOptions.Caption = '会员档案表'
PreviewOptions.RegistryPath = 'Software\Developer Express\PrintingSystem\DesignTime'
PreviewOptions.WindowState = wsMaximized
PrintTitle = '会员档案表'
Left = 272
Top = 216
object dxComponentPrinter1Link1: TdxDBGridReportLink
Active = True
Component = dxDBGrid1
DateTime = 37676.9004347222
DesignerHelpContext = 0
PrinterPage.DMPaper = 256
PrinterPage.Footer = 6350
PrinterPage.Header = 6350
PrinterPage.Margins.Bottom = 12700
PrinterPage.Margins.Left = 12700
PrinterPage.Margins.Right = 12700
PrinterPage.Margins.Top = 12700
PrinterPage.PageFooter.Font.Charset = DEFAULT_CHARSET
PrinterPage.PageFooter.Font.Color = clWindowText
PrinterPage.PageFooter.Font.Height = -11
PrinterPage.PageFooter.Font.Name = 'Tahoma'
PrinterPage.PageFooter.Font.Style = []
PrinterPage.PageHeader.Font.Charset = DEFAULT_CHARSET
PrinterPage.PageHeader.Font.Color = clWindowText
PrinterPage.PageHeader.Font.Height = -11
PrinterPage.PageHeader.Font.Name = 'Tahoma'
PrinterPage.PageHeader.Font.Style = []
PrinterPage.PageSize.X = 215900
PrinterPage.PageSize.Y = 279400
PrinterPage.ScaleMode = smFit
PrinterPage._dxMeasurementUnits_ = 0
PrinterPage._dxLastMU_ = 2
ReportTitle.Font.Charset = DEFAULT_CHARSET
ReportTitle.Font.Color = clWindowText
ReportTitle.Font.Height = -19
ReportTitle.Font.Name = 'Times New Roman'
ReportTitle.Font.Style = [fsBold]
ReportTitle.Text = '会员档案表'
ShrinkToPageWidth = True
BandFont.Charset = DEFAULT_CHARSET
BandFont.Color = clWindowText
BandFont.Height = -11
BandFont.Name = 'Times New Roman'
BandFont.Style = []
EvenFont.Charset = DEFAULT_CHARSET
EvenFont.Color = clWindowText
EvenFont.Height = -11
EvenFont.Name = 'Times New Roman'
EvenFont.Style = []
FixedTransparent = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Times New Roman'
Font.Style = []
FooterFont.Charset = DEFAULT_CHARSET
FooterFont.Color = clWindowText
FooterFont.Height = -11
FooterFont.Name = 'Times New Roman'
FooterFont.Style = []
GroupNodeFont.Charset = DEFAULT_CHARSET
GroupNodeFont.Color = clWindowText
GroupNodeFont.Height = -11
GroupNodeFont.Name = 'Times New Roman'
GroupNodeFont.Style = []
HeaderFont.Charset = DEFAULT_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -11
HeaderFont.Name = 'Times New Roman'
HeaderFont.Style = []
OddFont.Charset = DEFAULT_CHARSET
OddFont.Color = clWindowText
OddFont.Height = -11
OddFont.Name = 'Times New Roman'
OddFont.Style = []
Options = [tlpoBands, tlpoHeaders, tlpoFooters, tlpoRowFooters, tlpoPreview, tlpoPreviewGrid, tlpoGrid, tlpoFlatCheckMarks, tlpoSoft3D, tlpoRowFooterGrid]
PreviewFont.Charset = DEFAULT_CHARSET
PreviewFont.Color = clWindowText
PreviewFont.Height = -11
PreviewFont.Name = 'Times New Roman'
PreviewFont.Style = []
RowFooterFont.Charset = DEFAULT_CHARSET
RowFooterFont.Color = clWindowText
RowFooterFont.Height = -11
RowFooterFont.Name = 'Times New Roman'
RowFooterFont.Style = []
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -