home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form AboutBox
- BorderStyle = 3 'Fixed Double
- Caption = "About MCITest"
- ClientHeight = 2100
- ClientLeft = 2055
- ClientTop = 1935
- ClientWidth = 4755
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "System"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 2505
- Left = 1995
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 540
- ScaleWidth = 540
- Top = 1590
- Width = 4875
- Begin CommandButton BTN_OK
- Caption = "OK"
- Height = 360
- Left = 1800
- TabIndex = 1
- Top = 1500
- Width = 1080
- End
- Begin PictureBox Picture1
- BackColor = &H00808000&
- Enabled = 0 'False
- Height = 1140
- Left = 1320
- ScaleHeight = 1110
- ScaleWidth = 2985
- TabIndex = 2
- Top = 225
- Width = 3015
- Begin Label Label4
- Alignment = 2 'Center
- BackColor = &H00808000&
- Caption = "Version 1.01"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "System"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 240
- Left = 120
- TabIndex = 5
- Top = 825
- Width = 2775
- End
- Begin Label Label3
- Alignment = 2 'Center
- BackColor = &H00808000&
- Caption = "MCI Control Application"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "System"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 240
- Left = 120
- TabIndex = 4
- Top = 375
- Width = 2775
- End
- Begin Label Label2
- Alignment = 2 'Center
- BackColor = &H00808000&
- Caption = "Microsoft Visual Basic"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "System"
- FontSize = 9.75
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 240
- Left = 120
- TabIndex = 3
- Top = 75
- Width = 2775
- End
- End
- Begin PictureBox PIC_Icon
- BorderStyle = 0 'None
- Enabled = 0 'False
- Height = 495
- Left = 480
- Picture = ABOUTBOX.FRX:0000
- ScaleHeight = 495
- ScaleWidth = 480
- TabIndex = 0
- Top = 225
- Width = 480
- End
- Sub BTN_OK_Click ()
- Unload AboutBox
- End Sub
- Sub BTN_OK_GotFocus ()
- Dim i As Integer
- ' Make the labels slide into the picture box. Call
- ' the WaitForEventsToFinish subroutine to allow
- ' repainting of the labels.
- While Label2.Left <= 120
- Label2.Left = Label2.Left + 50
- WaitForEventsToFinish 1
- Wend
- While Label3.Left > 120
- Label3.Left = Label3.Left - 50
- WaitForEventsToFinish 1
- Wend
- While Label4.Left <= 120
- Label4.Left = Label4.Left + 50
- WaitForEventsToFinish 1
- Wend
- End Sub
- Sub BTN_OK_KeyPress (KeyAscii As Integer)
- ' Entering any key has the same effect as clicking
- ' on the OK button.
- BTN_OK_Click
- End Sub
- Sub Form_Load ()
- ' Force the labels to be displayed outside the
- ' picture box.
- Label2.Left = -2500
- Label3.Left = 4000
- Label4.Left = -2500
- End Sub
-