VERSION 5.00 Begin VB.Form Form1 Caption = "VB to PB project" ClientHeight = 3090 ClientLeft = 60 ClientTop = 450 ClientWidth = 4680 LinkTopic = "Form1" ScaleHeight = 3090 ScaleWidth = 4680 StartUpPosition = 3 'Windows Default Begin VB.TextBox Text1 Height = 285 Left = 1080 TabIndex = 3 Text = "Text1" Top = 2400 Width = 2655 End Begin VB.CommandButton cmdButton3 Caption = "Button 3" Height = 495 Left = 1800 TabIndex = 2 Top = 1680 Width = 1215 End Begin VB.CommandButton cmbButton2 Caption = "Button 2" Height = 495 Left = 1800 TabIndex = 1 Top = 960 Width = 1215 End Begin VB.CommandButton cmdButton1 Caption = "Button 1" Height = 495 Left = 1800 TabIndex = 0 Top = 240 Width = 1215 End End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Private Sub cmdButton1_Click() Text1.Text = "Button 1 was pressed." End Sub Private Sub cmbButton2_Click() Text1.Text = "Button 2 was pressed." End Sub Private Sub cmbButton2_GotFocus() Text1.Text = "Button 2 has the focus." End Sub Private Sub cmdButton3_Click() Text1.Text = "Button 3 was pressed." MsgBox "Button 3 was pressed." End Sub