home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "
- ClientHeight = 5310
- ClientLeft = 1860
- ClientTop = 1530
- ClientWidth = 6465
- LinkTopic = "Form1"
- ScaleHeight = 5310
- ScaleWidth = 6465
- Begin VB.OptionButton Option1
- Caption = "
- DIB)"
- Height = 375
- Index = 3
- Left = 4560
- TabIndex = 6
- Top = 240
- Width = 1600
- End
- Begin VB.CommandButton cmdQuit
- Cancel = -1 'True
- Caption = "
- Height = 495
- Left = 5040
- TabIndex = 4
- Top = 4200
- Width = 1215
- End
- Begin VB.PictureBox Picture1
- AutoSize = -1 'True
- Height = 3855
- Left = 240
- ScaleHeight = 3795
- ScaleWidth = 4035
- TabIndex = 3
- Top = 840
- Width = 4095
- End
- Begin VB.OptionButton Option1
- Caption = "
- Height = 375
- Index = 2
- Left = 3120
- TabIndex = 2
- Top = 240
- Width = 1600
- End
- Begin VB.OptionButton Option1
- Caption = "Z-
- Height = 375
- Index = 1
- Left = 1680
- TabIndex = 1
- Top = 240
- Width = 1600
- End
- Begin VB.OptionButton Option1
- Caption = "
- Height = 375
- Index = 0
- Left = 240
- TabIndex = 0
- Top = 240
- Value = -1 'True
- Width = 1600
- End
- Begin VB.Timer Timer1
- Interval = 800
- Left = 5160
- Top = 2880
- End
- Begin VB.Label Label1
- Caption = "
- 256
- Height = 255
- Left = 240
- TabIndex = 5
- Top = 4920
- Width = 6135
- End
- Begin VB.Image Image1
- BorderStyle = 1 'Fixed Single
- Height = 1290
- Left = 4680
- Picture = "Palettes.frx":0000
- Stretch = -1 'True
- Top = 840
- Width = 1620
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- PaletteMode
- Palette
- ///
- '// 1.0
- 1996.12.10 ///
- '// ///
- 256
- Option Explicit
- Dim objPic As Picture '
- Picture
- Private Sub cmdQuit_Click()
- Unload Me
- End Sub
- Private Sub Form_Load()
- '
- 256
- DIB
- picture
- Set objPic = LoadPicture(App.Path & "\PASTEL.DIB")
- End Sub
- Private Sub Option1_Click(Index As Integer)
- Timer1.Enabled = False
- Select Case Index
- Case 0
- '
- Form1.PaletteMode = vbPaletteModeHalftone
- Case 1
- '
- Form1.PaletteMode = vbPaletteModeUseZOrder
- Case 2
- 'Set Form1.Palette = Nothing
- '
- Image1
- Form1.Palette = Image1.Picture
- '
- Form1.PaletteMode = vbPaletteModeCustom
- Case 3
- 'Set Form1.Palette = Nothing
- '
- picture
- Form1.Palette = objPic
- '
- Form1.PaletteMode = vbPaletteModeCustom
- End Select
- Picture1.Refresh
- Timer1.Enabled = True
- End Sub
- Private Sub Timer1_Timer()
- Static intC As Integer
- '
- If intC < 1 Then
- Picture1 = LoadPicture(App.Path & "\BANNER.GIF")
- intC = 1
- ElseIf intC = 1 Then
- Picture1 = LoadPicture(App.Path & "\CLOUDS.BMP")
- intC = 2
- Else
- Picture1 = LoadPicture(App.Path & "\FOREST.JPG")
- intC = 0
- End If
- End Sub
-