modfocus.bas
来自「Ping,扫描,Whois IP」· BAS 代码 · 共 14 行
BAS
14 行
Attribute VB_Name = "modFocus"
Option Explicit
Public Sub Focus(varX As Variant)
'selects entire txtbox
With varX
If .Text <> "" Then
.SelStart = 0
.SelLength = Len(.Text)
End If
End With
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?