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

📄 frmserialtokeyboard.frm

📁 Program to convert data from RS232 Serial) to keyboard.
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form frmSerialToKeyboard 
   Caption         =   "Serial To Keyboard"
   ClientHeight    =   3885
   ClientLeft      =   4545
   ClientTop       =   2535
   ClientWidth     =   6495
   Icon            =   "frmSerialToKeyboard.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   3885
   ScaleWidth      =   6495
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton cmdEXIT 
      Caption         =   "Exit"
      Height          =   435
      Left            =   4920
      TabIndex        =   21
      Top             =   3240
      Width           =   1335
   End
   Begin VB.CommandButton cmdActivate 
      Caption         =   "&Activate"
      Height          =   435
      Left            =   180
      TabIndex        =   20
      Top             =   3240
      Width           =   1335
   End
   Begin VB.Frame Frame2 
      Caption         =   "Data Setting"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00800000&
      Height          =   2955
      Left            =   3360
      TabIndex        =   9
      Top             =   120
      Width           =   2955
      Begin VB.TextBox txtPREFIX 
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   285
         Left            =   900
         MaxLength       =   15
         TabIndex        =   18
         Top             =   2400
         Width           =   1815
      End
      Begin VB.CheckBox chkPREFIX 
         Caption         =   "Add Prefix"
         Height          =   255
         Left            =   180
         TabIndex        =   17
         Top             =   2040
         Width           =   1335
      End
      Begin VB.TextBox txtRIGHT 
         Height          =   285
         Left            =   1920
         MaxLength       =   3
         TabIndex        =   16
         Top             =   1200
         Width           =   735
      End
      Begin VB.TextBox txtLEFT 
         Height          =   285
         Left            =   1920
         MaxLength       =   3
         TabIndex        =   15
         Top             =   900
         Width           =   735
      End
      Begin VB.OptionButton optDATA 
         Caption         =   "From Right"
         Height          =   255
         Index           =   2
         Left            =   360
         TabIndex        =   14
         Top             =   1260
         Width           =   1455
      End
      Begin VB.OptionButton optDATA 
         Caption         =   "From Left"
         Height          =   255
         Index           =   1
         Left            =   360
         TabIndex        =   13
         Top             =   960
         Width           =   1155
      End
      Begin VB.OptionButton optDATA 
         Caption         =   "&All data"
         Height          =   255
         Index           =   0
         Left            =   360
         TabIndex        =   11
         Top             =   660
         Width           =   1455
      End
      Begin VB.CheckBox chkENTER 
         Caption         =   "Add Carriage Return"
         Height          =   255
         Left            =   180
         TabIndex        =   10
         Top             =   1740
         Width           =   2175
      End
      Begin VB.Label Label6 
         Alignment       =   1  'Right Justify
         Caption         =   "Prefix :"
         Height          =   255
         Left            =   60
         TabIndex        =   19
         Top             =   2460
         Width           =   735
      End
      Begin VB.Label Label5 
         Caption         =   "Data Length :"
         Height          =   255
         Left            =   180
         TabIndex        =   12
         Top             =   420
         Width           =   1635
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "Serial Port Setting"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00800000&
      Height          =   2955
      Left            =   180
      TabIndex        =   0
      Top             =   120
      Width           =   2955
      Begin VB.ComboBox cmboBAUD 
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         ItemData        =   "frmSerialToKeyboard.frx":014A
         Left            =   1440
         List            =   "frmSerialToKeyboard.frx":0163
         Style           =   2  'Dropdown List
         TabIndex        =   22
         Top             =   780
         Width           =   1095
      End
      Begin VB.ComboBox cmboSTOPBIT 
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         ItemData        =   "frmSerialToKeyboard.frx":0196
         Left            =   1440
         List            =   "frmSerialToKeyboard.frx":01A0
         Style           =   2  'Dropdown List
         TabIndex        =   4
         Top             =   2040
         Width           =   735
      End
      Begin VB.ComboBox cmboDATABIT 
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         ItemData        =   "frmSerialToKeyboard.frx":01AA
         Left            =   1440
         List            =   "frmSerialToKeyboard.frx":01B4
         Style           =   2  'Dropdown List
         TabIndex        =   3
         Top             =   1620
         Width           =   735
      End
      Begin VB.ComboBox cmboPARITY 
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         ItemData        =   "frmSerialToKeyboard.frx":01BE
         Left            =   1440
         List            =   "frmSerialToKeyboard.frx":01CB
         Style           =   2  'Dropdown List
         TabIndex        =   2
         Top             =   1200
         Width           =   1095
      End
      Begin VB.ComboBox cmboPORT 
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   1440
         Style           =   2  'Dropdown List
         TabIndex        =   1
         Top             =   360
         Width           =   1155
      End
      Begin VB.Label Label7 
         Alignment       =   1  'Right Justify
         Caption         =   "Baud Rate :"
         Height          =   255
         Left            =   180
         TabIndex        =   23
         Top             =   840
         Width           =   1155
      End
      Begin VB.Label Label4 
         Alignment       =   1  'Right Justify
         Caption         =   "Stop Bit :"
         Height          =   255
         Left            =   180
         TabIndex        =   8
         Top             =   2100
         Width           =   1155
      End
      Begin VB.Label Label3 
         Alignment       =   1  'Right Justify
         Caption         =   "Data Bit :"
         Height          =   255
         Left            =   180
         TabIndex        =   7
         Top             =   1680
         Width           =   1155
      End
      Begin VB.Label Label2 
         Alignment       =   1  'Right Justify
         Caption         =   "Parity :"
         Height          =   255
         Left            =   180
         TabIndex        =   6
         Top             =   1260
         Width           =   1155
      End
      Begin VB.Label Label1 
         Alignment       =   1  'Right Justify
         Caption         =   "Serial Port :"
         Height          =   255
         Left            =   180
         TabIndex        =   5
         Top             =   420
         Width           =   1155
      End
   End
   Begin MSCommLib.MSComm comONLINE 
      Left            =   3000
      Top             =   2940
      _ExtentX        =   1005
      _ExtentY        =   1005
      _Version        =   393216
      DTREnable       =   -1  'True
      RThreshold      =   1
      RTSEnable       =   -1  'True
      SThreshold      =   1
   End
   Begin VB.Menu mnuSystray 
      Caption         =   "PopupMenu"
      Visible         =   0   'False
      Begin VB.Menu mnuRestore 
         Caption         =   "&Restore"
      End
      Begin VB.Menu mnuSeparator1 
         Caption         =   "-"
      End
      Begin VB.Menu mnuExit 
         Caption         =   "E&xit"
      End
   End
End
Attribute VB_Name = "frmSerialToKeyboard"
Attribute VB_GlobalNameSpace = False

⌨️ 快捷键说明

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