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

📄 sett2.frm

📁 一份串口通信的好资料,对初学串口者很有用滴
💻 FRM
字号:
VERSION 5.00
Begin VB.Form SETT2 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "模式设置"
   ClientHeight    =   1410
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4230
   Icon            =   "SETT2.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1410
   ScaleWidth      =   4230
   StartUpPosition =   1  '所有者中心
   Begin VB.ComboBox Combo2 
      BackColor       =   &H80000000&
      Height          =   300
      ItemData        =   "SETT2.frx":1A7A
      Left            =   1320
      List            =   "SETT2.frx":1A84
      Style           =   2  'Dropdown List
      TabIndex        =   3
      Top             =   480
      Width           =   2775
   End
   Begin VB.ComboBox Combo1 
      BackColor       =   &H80000000&
      Height          =   300
      ItemData        =   "SETT2.frx":1AA0
      Left            =   1320
      List            =   "SETT2.frx":1AAA
      Style           =   2  'Dropdown List
      TabIndex        =   2
      Top             =   120
      Width           =   2775
   End
   Begin VB.CommandButton CC 
      Caption         =   "取消"
      Height          =   375
      Left            =   3000
      TabIndex        =   1
      Top             =   960
      Width           =   1095
   End
   Begin VB.CommandButton CO 
      Caption         =   "确定"
      Enabled         =   0   'False
      Height          =   375
      Left            =   1800
      TabIndex        =   0
      Top             =   960
      Width           =   1095
   End
   Begin VB.Label Label7 
      Alignment       =   1  'Right Justify
      Caption         =   "显示模式(&V):"
      Height          =   255
      Left            =   120
      TabIndex        =   5
      Top             =   600
      Width           =   1095
   End
   Begin VB.Label Label6 
      Alignment       =   1  'Right Justify
      Caption         =   "传输模式(&T):"
      Height          =   255
      Left            =   120
      TabIndex        =   4
      Top             =   120
      Width           =   1095
   End
End
Attribute VB_Name = "SETT2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False



Private Sub CC_Click()
    Unload Me
End Sub


Private Sub CO_Click()
    
    If is_cominuse = True Then
    Else
        SETT.Show
    End If
    Fmain.MSComm.InputMode = TCOM.COMMODE
    Unload Me
End Sub

Private Sub Combo1_Click()
    
    TCOM.COMMODE = CInt(Left(Combo1.Text, 1))
    CO.Enabled = True
    
    
End Sub

Private Sub Combo2_Click()
    
    VIEWMODE = CInt(Left(Combo2.Text, 1))
    
    ChangeViewMode VIEWMODE
    
End Sub

⌨️ 快捷键说明

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