⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ppage.frm

📁 OpenPlayer代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form PPage 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "电影属性..."
   ClientHeight    =   5295
   ClientLeft      =   2535
   ClientTop       =   1620
   ClientWidth     =   7425
   Icon            =   "PPage.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5295
   ScaleWidth      =   7425
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton Command1 
      Cancel          =   -1  'True
      Caption         =   "取消"
      Height          =   405
      Left            =   3750
      TabIndex        =   19
      Top             =   4740
      Width           =   1125
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "保存更改"
      Height          =   405
      Left            =   1890
      TabIndex        =   18
      Top             =   4740
      Width           =   1125
   End
   Begin VB.TextBox TextNote 
      Height          =   1215
      Left            =   1170
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   17
      Top             =   3060
      Width           =   5865
   End
   Begin VB.TextBox TextCompany 
      Height          =   285
      Left            =   1170
      TabIndex        =   15
      Top             =   2640
      Width           =   5865
   End
   Begin VB.TextBox TextAuthor 
      Height          =   285
      Left            =   1170
      TabIndex        =   14
      Top             =   2280
      Width           =   5865
   End
   Begin VB.TextBox TextMovieName 
      Height          =   285
      Left            =   1170
      TabIndex        =   13
      Top             =   1890
      Width           =   5865
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "其它:"
      Height          =   225
      Index           =   8
      Left            =   120
      TabIndex        =   16
      Top             =   3060
      Width           =   1005
   End
   Begin VB.Label Label 
      Height          =   225
      Index           =   4
      Left            =   1170
      TabIndex        =   12
      Top             =   1620
      Width           =   5895
   End
   Begin VB.Label Label 
      Height          =   225
      Index           =   3
      Left            =   1170
      TabIndex        =   11
      Top             =   1320
      Width           =   5895
   End
   Begin VB.Label Label 
      Height          =   225
      Index           =   2
      Left            =   1170
      TabIndex        =   10
      Top             =   990
      Width           =   5895
   End
   Begin VB.Label Label 
      Height          =   225
      Index           =   1
      Left            =   1170
      TabIndex        =   9
      Top             =   690
      Width           =   5895
   End
   Begin VB.Label Label 
      Height          =   465
      Index           =   0
      Left            =   1170
      TabIndex        =   8
      Top             =   180
      Width           =   5895
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "总帧数:"
      Height          =   225
      Index           =   7
      Left            =   120
      TabIndex        =   7
      Top             =   1590
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "速率:"
      Height          =   225
      Index           =   6
      Left            =   120
      TabIndex        =   6
      Top             =   1290
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "宽高:"
      Height          =   225
      Index           =   5
      Left            =   120
      TabIndex        =   5
      Top             =   990
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "文件大小:"
      Height          =   225
      Index           =   4
      Left            =   120
      TabIndex        =   4
      Top             =   690
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "发布公司:"
      Height          =   225
      Index           =   3
      Left            =   120
      TabIndex        =   3
      Top             =   2700
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "作者:"
      Height          =   225
      Index           =   2
      Left            =   120
      TabIndex        =   2
      Top             =   2340
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "电影名:"
      Height          =   225
      Index           =   1
      Left            =   120
      TabIndex        =   1
      Top             =   1950
      Width           =   1005
   End
   Begin VB.Label Label1 
      Alignment       =   1  'Right Justify
      Caption         =   "文件名:"
      Height          =   225
      Index           =   0
      Left            =   120
      TabIndex        =   0
      Top             =   180
      Width           =   1000
   End
End
Attribute VB_Name = "PPage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdOK_Click()
    '写放电影信息,请参考 writeNote() 的说明
    writeNote PFlashFileName, TextAuthor.Text, TextCompany.Text, TextNote.Text, "1.5", TextMovieName.Text
    Unload Me
End Sub

Private Sub Command1_Click()
      Unload Me
End Sub

Private Sub Form_Load()
'初始化各文本框的内容
Dim PFH As FLASHHEADER
Dim PFN As FLASHNOTE
    If PFlashFileName = "" Then
       PFlashFileName = Play.ShockwaveFlash1.Movie
    End If
    PFH = getFlashHeader(PFlashFileName)
    PFN = getNote(PFlashFileName)
    
    Label(0).Caption = PFlashFileName
    Label(1).Caption = FormatNumber(PFH.lMSize, 0) & " 字节"
    Label(2).Caption = PFH.lMWidth & " × " & PFH.lMHeight & " Pix"
    Label(3).Caption = PFH.intMRate & "帧/秒"
    Label(4).Caption = PFH.intMTotalFrames & "帧"
    
    TextMovieName.Text = PFN.strMovieName
    TextAuthor.Text = PFN.strAuthor
    TextCompany.Text = PFN.strCompany
    TextNote.Text = PFN.strNote
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -