unit1.dfm

来自「ADO+DCOM例程 服务器与客户端 有源码 请大家指点」· DFM 代码 · 共 105 行

DFM
105
字号
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 544
  Height = 375
  Caption = 'Form1'
  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 Label1: TLabel
    Left = 24
    Top = 24
    Width = 72
    Height = 12
    Caption = '选择数据库:'
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = '宋体'
    Font.Style = []
    ParentFont = False
  end
  object Label2: TLabel
    Left = 208
    Top = 16
    Width = 84
    Height = 12
    Caption = '输入查询语句:'
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = '宋体'
    Font.Style = []
    ParentFont = False
  end
  object DBComboBox: TComboBox
    Left = 24
    Top = 40
    Width = 145
    Height = 97
    Style = csSimple
    ItemHeight = 13
    TabOrder = 0
    OnClick = DBComboBoxClick
  end
  object QueryMemo: TMemo
    Left = 200
    Top = 40
    Width = 201
    Height = 97
    Lines.Strings = (
      'QueryMemo')
    TabOrder = 1
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 152
    Width = 385
    Height = 185
    DataSource = DataSource1
    TabOrder = 2
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object Button1: TButton
    Left = 448
    Top = 32
    Width = 75
    Height = 25
    Caption = '查询'
    TabOrder = 3
    OnClick = Button1Click
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    Params = <>
    ProviderName = 'DataSetProvider1'
    RemoteServer = DCOMConnection1
    Left = 456
    Top = 128
  end
  object DCOMConnection1: TDCOMConnection
    Connected = True
    ServerGUID = '{C1D9049F-CFE1-42C6-ACA0-7EAE892EB0CE}'
    ServerName = 'Project1.MyDataServer'
    Left = 456
    Top = 72
  end
  object DataSource1: TDataSource
    DataSet = ClientDataSet1
    Left = 464
    Top = 200
  end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?