home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmProgTest
- Caption = "Progress Bar Class Tester"
- ClientHeight = 915
- ClientLeft = 1140
- ClientTop = 1515
- ClientWidth = 3525
- Height = 1320
- Left = 1080
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 915
- ScaleWidth = 3525
- Top = 1170
- Width = 3645
- Begin VB.HScrollBar HScroll1
- Height = 225
- LargeChange = 10
- Left = 210
- Max = 100
- TabIndex = 1
- Top = 525
- Width = 3060
- End
- Begin VB.PictureBox Picture1
- BackColor = &H00FFFFFF&
- Height = 330
- Left = 210
- ScaleHeight = 270
- ScaleWidth = 3000
- TabIndex = 0
- Top = 105
- Width = 3060
- End
- Attribute VB_Name = "frmProgTest"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Dim x As New ProgressBar
- Private Sub Form_Load()
- Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2
- x.Init Picture1
- HScroll1_Change
- End Sub
- Private Sub HScroll1_Change()
- x.Progress HScroll1
- End Sub
-