home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Example2
- Caption = "TextBox Demo"
- ClientHeight = 3285
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5520
- LinkTopic = "Form1"
- ScaleHeight = 3285
- ScaleWidth = 5520
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command3
- Caption = "Show Message"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 465
- Left = 3780
- TabIndex = 3
- Top = 2685
- Width = 1620
- End
- Begin VB.CommandButton Command2
- Caption = "Insert Date"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 465
- Left = 1965
- TabIndex = 2
- Top = 2685
- Width = 1620
- End
- Begin VB.CommandButton Command1
- Caption = "Clear Text"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 465
- Left = 120
- TabIndex = 1
- Top = 2685
- Width = 1620
- End
- Begin VB.TextBox Text1
- Height = 2370
- Left = 135
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 0
- Top = 150
- Width = 5235
- End
- Attribute VB_Name = "Example2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- Text1.Text = ""
- End Sub
- Private Sub Command2_Click()
- Text1.Text = Date
- End Sub
- Private Sub Command3_Click()
- Text1.Text = "Welcome to Visual Basic 5.0"
- End Sub
-