home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form FrameSet
- BorderStyle = 3 'Fixed Dialog
- Caption = "Frame Settings"
- ClientHeight = 3510
- ClientLeft = 1950
- ClientTop = 2040
- ClientWidth = 4950
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 3510
- ScaleWidth = 4950
- ShowInTaskbar = 0 'False
- Begin VB.CheckBox Check2
- Caption = "&Transparency"
- Height = 375
- Left = 240
- TabIndex = 11
- Top = 360
- Width = 1335
- End
- Begin VB.TextBox Text4
- Height = 375
- Left = 1800
- TabIndex = 8
- Text = "Text4"
- Top = 2760
- Width = 735
- End
- Begin VB.TextBox Text3
- Height = 375
- Left = 240
- TabIndex = 7
- Text = "Text3"
- Top = 2760
- Width = 735
- End
- Begin VB.ComboBox Combo1
- Height = 315
- ItemData = "FRAMESET.frx":0000
- Left = 240
- List = "FRAMESET.frx":0010
- Style = 2 'Dropdown List
- TabIndex = 5
- Top = 1800
- Width = 2055
- End
- Begin VB.CommandButton Command2
- Cancel = -1 'True
- Caption = "Cancel"
- Height = 375
- Left = 3480
- TabIndex = 4
- Top = 720
- Width = 1215
- End
- Begin VB.CommandButton Command1
- Caption = "OK"
- Default = -1 'True
- Height = 375
- Left = 3480
- TabIndex = 3
- Top = 240
- Width = 1215
- End
- Begin VB.TextBox Text2
- Height = 375
- Left = 1200
- TabIndex = 2
- Text = "Text2"
- Top = 840
- Width = 855
- End
- Begin VB.TextBox Text1
- Height = 375
- Left = 1800
- TabIndex = 0
- Text = "Text1"
- Top = 360
- Width = 1215
- End
- Begin VB.Label Label4
- Caption = "&Top"
- Height = 255
- Left = 1800
- TabIndex = 10
- Top = 2400
- Width = 855
- End
- Begin VB.Label Label3
- Caption = "&Left"
- Height = 255
- Left = 240
- TabIndex = 9
- Top = 2400
- Width = 855
- End
- Begin VB.Label Label2
- Caption = "&Disposal Method"
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 1440
- Width = 1335
- End
- Begin VB.Label Label1
- Caption = "&Delay (ms)"
- Height = 255
- Left = 240
- TabIndex = 1
- Top = 960
- Width = 855
- End
- Attribute VB_Name = "FrameSet"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Check2_Click()
- If Check2 Then
- Text1.Enabled = True
- Else
- Text1.Enabled = False
- End If
- End Sub
- Private Sub Command1_Click()
- If Check2 Then
- Main.ActiveForm.Lead1.BitmapEnableTransparency = True
- Else
- Main.ActiveForm.Lead1.BitmapEnableTransparency = False
- End If
- Main.ActiveForm.Lead1.BitmapTransparentColor = CLng(Text1)
- Main.ActiveForm.Lead1.BitmapDelay = CLng(Text2)
- Main.ActiveForm.Lead1.BitmapLeft = CInt(Text3)
- Main.ActiveForm.Lead1.BitmapTop = CInt(Text4)
- Main.ActiveForm.Lead1.BitmapDisposalMethod = Combo1.ListIndex
- Unload FrameSet
- End Sub
- Private Sub Command2_Click()
- Unload FrameSet
- End Sub
- Private Sub Form_Load()
-
- If Main.ActiveForm.Lead1.BitmapEnableTransparency Then
- Check2 = 1
- Else
- Check2 = 0
- End If
- Text1 = "&H" + Hex(Main.ActiveForm.Lead1.BitmapTransparentColor)
- Text2 = CStr(Main.ActiveForm.Lead1.BitmapDelay)
- Text3 = CStr(Main.ActiveForm.Lead1.BitmapLeft)
- Text4 = CStr(Main.ActiveForm.Lead1.BitmapTop)
- Combo1.ListIndex = Main.ActiveForm.Lead1.BitmapDisposalMethod
- End Sub
-