frmtextbox.frm
来自「Visual Basic 6 大学教程的代码」· FRM 代码 · 共 44 行
FRM
44 行
VERSION 5.00
Begin VB.Form frmTextBox
Caption = "Fig. 10.6: TextBoxes"
ClientHeight = 2235
ClientLeft = 2535
ClientTop = 2535
ClientWidth = 4470
LinkTopic = "Form1"
ScaleHeight = 2235
ScaleWidth = 4470
Begin VB.TextBox txtInput
Height = 495
Left = 255
TabIndex = 0
Text = "Enter some text here..."
Top = 105
Width = 3990
End
Begin VB.TextBox txtDisplay
Height = 1275
Left = 255
MousePointer = 12 'No Drop
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
ToolTipText = "Multilined TextBox with scrollbars"
Top = 795
Width = 3990
End
End
Attribute VB_Name = "frmTextBox"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Fig. 10.6
' Demonstrating the TextBox Control
Option Explicit
Private Sub txtInput_Change()
txtDisplay.Text = txtInput.Text ' Copy to other TextBox
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?