frmmain.frm

来自「大量优秀的vb编程」· FRM 代码 · 共 35 行

FRM
35
字号
VERSION 5.00
Begin VB.Form frmMain 
   Caption         =   "自动完成文本框"
   ClientHeight    =   492
   ClientLeft      =   60
   ClientTop       =   348
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   492
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtAddress 
      Height          =   285
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   4455
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub txtAddress_Change()
    iSenseChange txtAddress
End Sub

Private Sub txtAddress_KeyPress(KeyAscii As Integer)
    iSenseKeyPress txtAddress, KeyAscii
End Sub

⌨️ 快捷键说明

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