⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit.dfm

📁 实现ez-usb fx2的 自定义请求功能
💻 DFM
📖 第 1 页 / 共 2 页
字号:
object Form1: TForm1
  Left = 252
  Top = 129
  Width = 745
  Height = 502
  Caption = '成都众山科技有限公司'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -14
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnActivate = FormActivate
  OnCreate = FormCreate
  PixelsPerInch = 120
  TextHeight = 16
  object Splitter1: TSplitter
    Left = 0
    Top = 375
    Width = 737
    Height = 16
    Cursor = crVSplit
    Align = alTop
  end
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 737
    Height = 50
    Align = alTop
    Caption = 'USB2.0开发版测试程序'
    Font.Charset = GB2312_CHARSET
    Font.Color = clNavy
    Font.Height = -25
    Font.Name = '黑体'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 0
    object Button1: TButton
      Left = 6
      Top = 15
      Width = 79
      Height = 31
      Caption = '打开设备 '
      Font.Charset = GB2312_CHARSET
      Font.Color = clNavy
      Font.Height = -15
      Font.Name = '黑体'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnClick = Button1Click
    end
    object Button2: TButton
      Left = 87
      Top = 15
      Width = 82
      Height = 31
      Caption = '关闭设备'
      Font.Charset = GB2312_CHARSET
      Font.Color = clNavy
      Font.Height = -15
      Font.Name = '黑体'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      OnClick = Button2Click
    end
  end
  object PageControl1: TPageControl
    Left = 0
    Top = 50
    Width = 737
    Height = 325
    ActivePage = TabSheet1
    Align = alTop
    TabOrder = 1
    object TabSheet1: TTabSheet
      Caption = '串口读写'
      object Panel2: TPanel
        Left = 0
        Top = 0
        Width = 729
        Height = 119
        Align = alTop
        TabOrder = 0
        object RadioButton1: TRadioButton
          Left = 20
          Top = 10
          Width = 90
          Height = 21
          Caption = '串口A'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -18
          Font.Name = '宋体'
          Font.Style = []
          ParentFont = False
          TabOrder = 0
          OnKeyPress = Memo1KeyPress
        end
        object RadioButton2: TRadioButton
          Left = 118
          Top = 10
          Width = 90
          Height = 21
          Caption = '串口B'
          Checked = True
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -18
          Font.Name = '宋体'
          Font.Style = []
          ParentFont = False
          TabOrder = 1
          TabStop = True
        end
        object Edit1: TEdit
          Left = 100
          Top = 69
          Width = 614
          Height = 24
          TabOrder = 2
          Text = '123'
        end
        object Button3: TButton
          Left = 8
          Top = 69
          Width = 90
          Height = 26
          Caption = '发送数据'
          Font.Charset = ANSI_CHARSET
          Font.Color = clWindowText
          Font.Height = -18
          Font.Name = '宋体'
          Font.Style = []
          ParentFont = False
          TabOrder = 3
          OnClick = Button3Click
        end
      end
      object Panel5: TPanel
        Left = 0
        Top = 119
        Width = 729
        Height = 175
        Align = alClient
        Caption = 'Panel5'
        TabOrder = 1
        object Panel6: TPanel
          Left = 1
          Top = 1
          Width = 727
          Height = 51
          Align = alTop
          TabOrder = 0
          object Button4: TButton
            Left = 8
            Top = 10
            Width = 91
            Height = 25
            Caption = '接收数据'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
            TabOrder = 0
            OnClick = Button4Click
          end
        end
        object Memo1: TMemo
          Left = 1
          Top = 52
          Width = 727
          Height = 122
          Align = alClient
          TabOrder = 1
        end
      end
    end
    object TabSheet2: TTabSheet
      Caption = 'EEPROM读写'
      ImageIndex = 1
      object Panel3: TPanel
        Left = 0
        Top = 0
        Width = 729
        Height = 238
        Align = alTop
        TabOrder = 0
        object Panel4: TPanel
          Left = 1
          Top = 1
          Width = 727
          Height = 40
          Align = alTop
          TabOrder = 0
          object Label1: TLabel
            Left = 10
            Top = 10
            Width = 72
            Height = 18
            Caption = '地址:  '
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
          end
          object Label13: TLabel
            Left = 274
            Top = 11
            Width = 42
            Height = 16
            Caption = '长度      '
          end
          object Edit2: TEdit
            Left = 69
            Top = 5
            Width = 90
            Height = 24
            TabOrder = 0
            Text = '0010'
          end
          object Button5: TButton
            Left = 165
            Top = 4
            Width = 84
            Height = 28
            Caption = '读数据'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
            TabOrder = 1
            OnClick = Button5Click
          end
          object Button6: TButton
            Left = 414
            Top = 4
            Width = 92
            Height = 30
            Caption = '清除'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
            TabOrder = 2
            OnClick = Button6Click
          end
          object MaskEdit1: TMaskEdit
            Left = 320
            Top = 8
            Width = 49
            Height = 24
            EditMask = '!99999;1;_'
            MaxLength = 5
            TabOrder = 3
            Text = '   16'
          end
        end
        object ListBox1: TListBox
          Left = 1
          Top = 41
          Width = 727
          Height = 196
          Align = alClient
          ItemHeight = 16
          TabOrder = 1
        end
      end
      object Panel7: TPanel
        Left = 0
        Top = 238
        Width = 729
        Height = 56
        Align = alClient
        TabOrder = 1
        object Panel8: TPanel
          Left = 1
          Top = 9
          Width = 727
          Height = 46
          Align = alBottom
          TabOrder = 0
          object Label2: TLabel
            Left = 10
            Top = 10
            Width = 72
            Height = 18
            Caption = '地址:  '
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
          end
          object Button7: TButton
            Left = 177
            Top = 4
            Width = 93
            Height = 30
            Caption = '写数据'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
            TabOrder = 0
            OnClick = Button7Click
          end
          object Edit3: TEdit
            Left = 69
            Top = 5
            Width = 100
            Height = 24
            TabOrder = 1
            Text = '0010'
          end
          object Edit4: TEdit
            Left = 298
            Top = 5
            Width = 520
            Height = 24
            TabOrder = 2
            Text = '123'
          end
        end
      end
    end
    object TabSheet3: TTabSheet
      Caption = 'SRAM读写'
      ImageIndex = 2
      object Panel9: TPanel
        Left = 0
        Top = 0
        Width = 729
        Height = 188
        Align = alTop
        Caption = 'Panel9'
        TabOrder = 0
        object Panel10: TPanel
          Left = 1
          Top = 1
          Width = 727
          Height = 40
          Align = alTop
          TabOrder = 0
          object Label3: TLabel
            Left = 10
            Top = 10
            Width = 72
            Height = 18
            Caption = '地址:  '
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
          end
          object Label14: TLabel
            Left = 274
            Top = 11
            Width = 42
            Height = 16
            Caption = '长度      '
          end
          object Edit5: TEdit
            Left = 69
            Top = 5
            Width = 90
            Height = 24
            TabOrder = 0
            Text = '8000'
          end
          object Button8: TButton
            Left = 165
            Top = 4
            Width = 92
            Height = 28
            Caption = '读数据'
            Font.Charset = ANSI_CHARSET
            Font.Color = clWindowText
            Font.Height = -18
            Font.Name = '宋体'
            Font.Style = []
            ParentFont = False
            TabOrder = 1
            OnClick = Button8Click
          end

⌨️ 快捷键说明

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