Greetings Tom!
This should get you going. Slight modification to the code:
Keep the gif files the way they are. If you want, consider creating images using .bmp extension, better resolution since you have a lot of snapshots to load.
The gif files you now have should not be (re)saved as bmp since the are already in that format, will look about the same, try for next time.
Have fun, Tom, and good luck...
Dököll
This should get you going. Slight modification to the code:
Code:
'BG ::Specific to C:\Frames\Background.gif" 'Image1 ::Specific to Image1 = LoadPicture("C:\Frames\f1.gif") in your code 'Image2 ::Specific to Image1 = LoadPicture("C:\Frames\f2.gif") in your code 'Image3 ::Specific to Image1 = LoadPicture("C:\Frames\f3.gif") in your code Private Sub Command1_Click() BG.Visible = False Image1.Visible = True Image2.Visible = False Image3.Visible = False End Sub Private Sub Command2_Click() BG.Visible = False Image1.Visible = False Image2.Visible = True Image3.Visible = False End Sub Private Sub Command3_Click() BG.Visible = False Image1.Visible = False Image2.Visible = False Image3.Visible = True End Sub 'this is where you would need to revert to blank image as needed (C:\Frames\Background.gif) Private Sub RefreshMenu_Click() Unload Me SingleMenu.Show End Sub 'form loads with blank background snapshot set to true for visibility Private Sub Form_Load() BG.Visible = True 'Specific to C:\Frames\Background.gif" End Sub 'Note: you should change the [B]Image frame [/B] that will be used for background to [B]BG[/B] in Name: so it is clear that Image1 = f1.gif, an so on...
The gif files you now have should not be (re)saved as bmp since the are already in that format, will look about the same, try for next time.
Have fun, Tom, and good luck...
Dököll
Comment