Posted: Thu May 05, 2005 12:41 pm Post subject: Changing pictures using a scroll bar
I got a problem and that is when I use the scroll bar to change the scroll (move that button on it) it wont show another image in the picture box. Is there a way to fix this.
here is the code i have :
code:
Private Sub scrlTANKS_Change()
If scrlTANKS.LargeChange = 2 Then
picTANKS.Picture = LoadPicture("C:\windows\desktop\m60.jpg")
End If
End Sub
PLEASE HELP
new-1.jpg
Description:
Filesize:
262.61 KB
Viewed:
2440 Time(s)
Sponsor Sponsor
Brightguy
Posted: Sun May 08, 2005 1:02 pm Post subject: Re: Changing pictures using a scroll bar
scrlTANKS.Value is the current position of the scroll bar, and it will always stay between scrlTANKS.Min and scrlTANKS.Max.
The amount of change is determined by scrlTANKS.LargeChange when you click in the scroll bar, and by scrlTANKS.SmallChange when you click on the arrow.
Universal
Posted: Thu May 12, 2005 8:42 am Post subject: (No subject)
Ah I dont need that help naymore I found another way to by pass it.
Ooh I recovered some of my game files and have started on my alpha version.