home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
- Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
- Object = "{489F6F86-FA5F-46C1-9154-0BDFE98E2B02}#1.0#0"; "NCTDesignBox.ocx"
- Begin VB.Form frmVolV2
- BorderStyle = 1 'Fixed Single
- Caption = "Test VolumeButtonVer02"
- ClientHeight = 2625
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 4800
- Icon = "frmVolV2.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2625
- ScaleWidth = 4800
- StartUpPosition = 2 'CenterScreen
- Begin NCTDesignBox.VolumeButtonVer02 VolumeButtonVer021
- Height = 315
- Left = 240
- TabIndex = 14
- Top = 240
- Width = 750
- _ExtentX = 1323
- _ExtentY = 556
- End
- Begin MSComctlLib.Slider Slider1
- Height = 630
- Left = 60
- TabIndex = 13
- Top = 1860
- Width = 1395
- _ExtentX = 2461
- _ExtentY = 1111
- _Version = 393216
- Max = 100
- TickStyle = 2
- TickFrequency = 10
- End
- Begin VB.TextBox Text4
- Height = 345
- Left = 660
- TabIndex = 10
- Text = "4"
- Top = 1350
- Width = 465
- End
- Begin VB.Frame Frame1
- Caption = "Style"
- Height = 1455
- Left = 1530
- TabIndex = 0
- Top = 1050
- Width = 3195
- Begin VB.OptionButton Option8
- Caption = "vbsMirrorTop"
- Height = 285
- Left = 1590
- TabIndex = 8
- Top = 1080
- Width = 1500
- End
- Begin VB.OptionButton Option7
- Caption = "vbsTop"
- Height = 285
- Left = 1590
- TabIndex = 7
- Top = 795
- Width = 1500
- End
- Begin VB.OptionButton Option6
- Caption = "vbsMirrorDown"
- Height = 285
- Left = 1590
- TabIndex = 6
- Top = 510
- Width = 1500
- End
- Begin VB.OptionButton Option5
- Caption = "vbsDown"
- Height = 285
- Left = 1590
- TabIndex = 5
- Top = 225
- Width = 1500
- End
- Begin VB.OptionButton Option4
- Caption = "vbsMirrorLeft"
- Height = 285
- Left = 120
- TabIndex = 4
- Top = 1101
- Width = 1500
- End
- Begin VB.OptionButton Option3
- Caption = "vbsLeft"
- Height = 285
- Left = 120
- TabIndex = 3
- Top = 824
- Width = 1500
- End
- Begin VB.OptionButton Option2
- Caption = "vbsMirrorRight"
- Height = 285
- Left = 120
- TabIndex = 2
- Top = 547
- Width = 1500
- End
- Begin VB.OptionButton Option1
- Caption = "vbsRight"
- Height = 315
- Left = 120
- TabIndex = 1
- Top = 240
- Value = -1 'True
- Width = 1500
- End
- End
- Begin MSComCtl2.UpDown UpDown4
- Height = 345
- Left = 1125
- TabIndex = 11
- Top = 1350
- Width = 240
- _ExtentX = 423
- _ExtentY = 609
- _Version = 393216
- Value = 4
- BuddyControl = "Text4"
- BuddyDispid = 196609
- OrigLeft = 3810
- OrigTop = 1110
- OrigRight = 4050
- OrigBottom = 1515
- Max = 100
- SyncBuddy = -1 'True
- BuddyProperty = 65547
- Enabled = -1 'True
- End
- Begin VB.Label Label4
- Alignment = 1 'Right Justify
- Caption = "Speed"
- Height = 285
- Left = -90
- TabIndex = 12
- Top = 1380
- Width = 645
- End
- Begin VB.Label Label5
- Alignment = 2 'Center
- Caption = "ValueChange Event"
- Height = 660
- Left = 1650
- TabIndex = 9
- Top = 240
- Width = 3045
- End
- Attribute VB_Name = "frmVolV2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Option1_Click()
- VolumeButtonVer021.Style = vbsRight
- End Sub
- Private Sub Option2_Click()
- VolumeButtonVer021.Style = vbsMirrorRight
- End Sub
- Private Sub Option3_Click()
- VolumeButtonVer021.Style = vbsLeft
- End Sub
- Private Sub Option4_Click()
- VolumeButtonVer021.Style = vbsMirrorLeft
- End Sub
- Private Sub Option5_Click()
- VolumeButtonVer021.Style = vbsDown
- End Sub
- Private Sub Option6_Click()
- VolumeButtonVer021.Style = vbsMirrorDown
- End Sub
- Private Sub Option7_Click()
- VolumeButtonVer021.Style = vbsTop
- End Sub
- Private Sub Option8_Click()
- VolumeButtonVer021.Style = vbsMirrorTop
- End Sub
- Private Sub Slider1_Change()
- VolumeButtonVer021.Value = Slider1.Value
- End Sub
- Private Sub UpDown4_Change()
- VolumeButtonVer021.Speed = UpDown4.Value
- End Sub
- Private Sub VolumeButtonVer021_ValueChange(Value As Long)
- Label5.Caption = "ValueChange Event (Val= " & Value & ")"
- End Sub
-