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

📄 form1.frm

📁 这里有很多很实用的VB编程案例,方便大家学习VB.
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "文本框输入法设置"
   ClientHeight    =   4320
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   4320
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.OptionButton Option1 
      Caption         =   "禁止中文输入"
      Height          =   495
      Index           =   3
      Left            =   1800
      TabIndex        =   4
      Top             =   3120
      Width           =   1935
   End
   Begin VB.OptionButton Option1 
      Caption         =   "英文输入"
      Height          =   495
      Index           =   2
      Left            =   1800
      TabIndex        =   3
      Top             =   2520
      Width           =   1215
   End
   Begin VB.OptionButton Option1 
      Caption         =   "中文输入"
      Height          =   495
      Index           =   1
      Left            =   1800
      TabIndex        =   2
      Top             =   1920
      Width           =   1215
   End
   Begin VB.OptionButton Option1 
      Caption         =   "初始值"
      Height          =   495
      Index           =   0
      Left            =   1800
      TabIndex        =   1
      Top             =   1320
      Width           =   1215
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   1080
      TabIndex        =   0
      Text            =   "http://zmhh.mycool.net"
      Top             =   360
      Width           =   3015
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Option1_Click(Index As Integer)
    Select Case Index
    Case 0
        Text1.IMEMode = 0 '初始值
    Case 1
        Text1.IMEMode = 1 '中文输入
    Case 2
        Text1.IMEMode = 2 '英文输入
    Case 3
        Text1.IMEMode = 3 '禁止中文输入
    End Select
End Sub

⌨️ 快捷键说明

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