📄 在文本框中加入滚动条.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 1335
ClientLeft = 60
ClientTop = 345
ClientWidth = 3090
LinkTopic = "Form1"
ScaleHeight = 1335
ScaleWidth = 3090
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text1
Height = 825
Left = 150
MultiLine = -1 'True
TabIndex = 0
Top = 180
Width = 2835
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function ShowScrollBar Lib "user32" (ByVal hwnd As Long, ByVal wBar As Long, ByVal bShow As Long) As Long
Private Const SB_VERT = 1
Private Sub Form_Load()
ShowScrollBar Text1.hwnd, SB_VERT, True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -