home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form FrameForm
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Double
- ClientHeight = 900
- ClientLeft = -15
- ClientTop = 2640
- ClientWidth = 2970
- ControlBox = 0 'False
- Height = 1305
- Left = -75
- LinkTopic = "Form3"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 900
- ScaleWidth = 2970
- Top = 2295
- Width = 3090
- Begin SSPanel Z
- Alignment = 6 'Center - TOP
- BackColor = &H00C0C0C0&
- BevelInner = 1 'Inset
- BevelOuter = 0 'None
- BevelWidth = 2
- BorderWidth = 0
- Font3D = 3 'Inset w/light shading
- ForeColor = &H00FF0000&
- Height = 675
- Left = 120
- TabIndex = 0
- Top = 120
- Width = 2745
- Begin SSCommand cmdFrameMode
- BevelWidth = 3
- Caption = "30df"
- Font3D = 3 'Inset w/light shading
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00004080&
- Height = 495
- Index = 2
- Left = 1290
- TabIndex = 4
- Top = 90
- Width = 735
- End
- Begin SSCommand cmdFrameMode
- BevelWidth = 3
- Caption = "30"
- Font3D = 3 'Inset w/light shading
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00004080&
- Height = 495
- Index = 3
- Left = 2100
- TabIndex = 3
- Top = 90
- Width = 525
- End
- Begin SSCommand cmdFrameMode
- BevelWidth = 3
- Caption = "25"
- Font3D = 3 'Inset w/light shading
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00004080&
- Height = 495
- Index = 1
- Left = 690
- TabIndex = 2
- Top = 90
- Width = 525
- End
- Begin SSCommand cmdFrameMode
- BevelWidth = 3
- Caption = "24"
- Font3D = 3 'Inset w/light shading
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 13.5
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H00004080&
- Height = 495
- Index = 0
- Left = 90
- TabIndex = 1
- Top = 90
- Width = 525
- End
- End
- Option Explicit
- Sub cmdFrameMode_Click (Index As Integer)
- TC_tYPE = Index
- Select Case Index
- Case 0:
- Ms_per_QF = 250 / 24
- Frame_Mode = 24
- MTCForm.Caption = "SMPTE : 24 Fr/s"
- Case 1:
- Ms_per_QF = 250 / 25
- Frame_Mode = 25
- MTCForm.Caption = "SMPTE : 25 Fr/s"
- Case 2:
- Ms_per_QF = 250 / 29
- Frame_Mode = 29
- MTCForm.Caption = "SMPTE : 30 (Drop-Frame)"
- Case 3:
- Ms_per_QF = 250 / 30
- Frame_Mode = 30
- MTCForm.Caption = "SMPTE : 30 (Non-Drop)"
- End Select
- Hide
- End Sub
- Sub Form_Activate ()
- Dim i As Integer
- For i = 0 To 3
- cmdFrameMode(i).ForeColor = BURDEOS
- Next i
- cmdFrameMode(TC_tYPE).ForeColor = DARKBLUE
- cmdFrameMode(TC_tYPE).SetFocus
- End Sub
- Sub Form_Load ()
- Move (Screen.Width - Width) / 2, MTCForm.Top - Height
- End Sub
-