home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form w_move_demo
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "ctMOVE (Animated Push Buttons) Demo"
- ClientHeight = 4455
- ClientLeft = 1740
- ClientTop = 2085
- ClientWidth = 7485
- Height = 4860
- Icon = "ct_move.frx":0000
- Left = 1680
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MDIChild = -1 'True
- MinButton = 0 'False
- ScaleHeight = 4455
- ScaleWidth = 7485
- Top = 1740
- Width = 7605
- Begin VB.Frame Frame3
- Caption = "User Defined"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 2895
- Left = 5100
- TabIndex = 8
- Top = 1080
- Width = 2235
- Begin VB.CommandButton Command4
- Caption = "C"
- Height = 375
- Left = 1620
- TabIndex = 13
- Top = 2340
- Width = 435
- End
- Begin VB.CommandButton Command3
- Caption = "B"
- Height = 375
- Left = 900
- TabIndex = 12
- Top = 2340
- Width = 435
- End
- Begin VB.CommandButton Command2
- Caption = "A"
- Height = 375
- Left = 180
- TabIndex = 10
- Top = 2340
- Width = 435
- End
- Begin ClipLibCtl.ctClip ctClip3
- DragIcon = "ct_move.frx":030A
- DragMode = 1 'Automatic
- Height = 390
- Left = 1620
- TabIndex = 16
- Top = 360
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 687
- _stockprops = 65
- piccols = 2
- picture = "ct_move.frx":0614
- End
- Begin ClipLibCtl.ctClip ctClip2
- DragIcon = "ct_move.frx":1506
- DragMode = 1 'Automatic
- Height = 390
- Left = 960
- TabIndex = 15
- Top = 360
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 687
- _stockprops = 65
- piccols = 2
- picture = "ct_move.frx":1810
- End
- Begin ClipLibCtl.ctClip ctClip1
- DragIcon = "ct_move.frx":2702
- DragMode = 1 'Automatic
- Height = 390
- Left = 300
- TabIndex = 14
- Top = 360
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 687
- _stockprops = 65
- piccols = 2
- picture = "ct_move.frx":2A0C
- End
- Begin VB.Label Label3
- Alignment = 2 'Center
- Caption = "Send To"
- Height = 195
- Left = 600
- TabIndex = 11
- Top = 2070
- Width = 1095
- End
- Begin MoveLib.ctMove ctmove_mail
- Height = 1005
- Left = 240
- TabIndex = 9
- Top = 900
- Width = 1755
- _version = 65536
- _extentx = 3096
- _extenty = 1773
- _stockprops = 70
- caption = "Send Mail"
- picture = "ct_move.frx":38FE
- backcolor = 12632256
- shadowcolor = 0
- sequencetype = 2
- piccols = 3
- picrows = 5
- textyoffset = -2
- picyoffset = 8
- repeatrate = 8
- End
- End
- Begin VB.CommandButton Command1
- Caption = "E&xit"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 375
- Left = 3120
- TabIndex = 7
- Top = 3870
- Width = 1275
- End
- Begin VB.Frame Frame2
- Caption = "Back and Forth"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 1635
- Left = 2640
- TabIndex = 4
- Top = 1080
- Width = 2235
- Begin MoveLib.ctMove ctMove3
- Height = 1095
- Left = 180
- TabIndex = 6
- Top = 360
- Width = 1875
- _version = 65536
- _extentx = 3307
- _extenty = 1931
- _stockprops = 70
- caption = "Thumb Screw"
- BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- name = "Times New Roman"
- charset = 0
- weight = 700
- size = 12
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- picture = "ct_move.frx":60F0
- backcolor = 14745599
- forecolor = 8388608
- shadowcolor = 0
- bordertype = 2
- sequencetype = 1
- piccols = 4
- picrows = 4
- repeatrate = 20
- End
- End
- Begin VB.Frame Frame1
- Caption = "Rotation Sequence"
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 2895
- Left = 180
- TabIndex = 1
- Top = 1080
- Width = 2235
- Begin MoveLib.ctMove ctMove2
- Height = 1005
- Left = 240
- TabIndex = 3
- Top = 1710
- Width = 1755
- _version = 65536
- _extentx = 3096
- _extenty = 1773
- _stockprops = 70
- caption = "Trash"
- BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- name = "MS Sans Serif"
- charset = 0
- weight = 400
- size = 9.75
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- picture = "ct_move.frx":8582
- forecolor = 8388608
- shadowcolor = 0
- textposition = 3
- piccols = 6
- textxoffset = -12
- picxoffset = 12
- repeatrate = 12
- showfocus = 0 'False
- End
- Begin MoveLib.ctMove ctMove1
- Height = 1095
- Left = 240
- TabIndex = 2
- Top = 450
- Width = 1755
- _version = 65536
- _extentx = 3096
- _extenty = 1931
- _stockprops = 70
- caption = "Turn the Page"
- BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- picture = "ct_move.frx":9430
- shadowcolor = 0
- piccols = 3
- picrows = 2
- textyoffset = -4
- picyoffset = 5
- repeatrate = 10
- End
- End
- Begin VB.Label Label2
- Alignment = 2 'Center
- Caption = "Click on Any Image or Click and Drag A Mail Box into the Garbage Can"
- ForeColor = &H00800000&
- Height = 645
- Left = 2640
- TabIndex = 5
- Top = 2880
- Width = 2235
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- BackColor = &H00C0C0C0&
- Caption = $"ct_move.frx":9DC2
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- ForeColor = &H00800000&
- Height = 645
- Left = 180
- TabIndex = 0
- Top = 180
- Width = 7095
- End
- Attribute VB_Name = "w_move_demo"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Dim nCrntMail As Integer
- Private Sub Command1_Click()
- Unload w_move_demo
- End Sub
- Private Sub Command2_Click()
- nCrntMail = 1
- ctmove_mail.Sequence = "1,4,3,6,9,12,1"
- End Sub
- Private Sub Command3_Click()
- nCrntMail = 2
- ctmove_mail.Sequence = "1,4,7,10,1"
- End Sub
- Private Sub Command4_Click()
- nCrntMail = 3
- ctmove_mail.Sequence = "1,4,2,5,8,11,1"
- End Sub
- Private Sub ctmove_mail_EndSequence()
- If (nCrntMail = 1) Then
- ctClip1.ActivePicture = 2
- ElseIf (nCrntMail = 2) Then
- ctClip2.ActivePicture = 2
- ElseIf (nCrntMail = 3) Then
- ctClip3.ActivePicture = 2
- End If
- End Sub
- Private Sub ctMove2_DragDrop(Source As Control, X As Single, Y As Single)
- ctMove2.StartMove
- If Source = ctClip1 Then
- ctClip1.ActivePicture = 1
- ElseIf Source = ctClip2 Then
- ctClip2.ActivePicture = 1
- ElseIf Source = ctClip3 Then
- ctClip3.ActivePicture = 1
- End If
- End Sub
- Private Sub Form_Load()
- ' Center the window on the screen
- Move (Screen.Width - Width) / 2, (Screen.Height - Height) * 0.25
- End Sub
-