Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Request For Help
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
montesser




PostPosted: Tue Jan 18, 2011 1:38 pm   Post subject: Request For Help

Hello everyone, im making a slider puzzle with pictures for my visual basics class final project, and ive had it all set up and working, but when i move the buttons the pictures on them do not stay the same, i will upload my code for you guys to check out, the pictures will not be attached, but u will get the just of it,


Basically the main problem i can't figure out is how to keep the pictures posted to my buttons for when they slide around,

Example ( Picture 7 will be his head and on the CMD button 7, but when the command button lets say #4 which has his hand, moves into the spot of button 7 the picture changes back into head and it does that for every button in any spot)



Slider1.frm
 Description:

Download
 Filename:  Slider1.frm
 Filesize:  7.7 KB
 Downloaded:  326 Time(s)


Slider2.vbw
 Description:

Download
 Filename:  Slider2.vbw
 Filesize:  53 Bytes
 Downloaded:  322 Time(s)


Slider2.vbp
 Description:

Download
 Filename:  Slider2.vbp
 Filesize:  666 Bytes
 Downloaded:  344 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Jan 18, 2011 2:15 pm   Post subject: RE:Request For Help

It sounds like the pictures are associated with locations rather than buttons themselves.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
montesser




PostPosted: Wed Jan 19, 2011 2:57 pm   Post subject: Re: Request For Help

Do you have any suggestions as to what i can do to change that? Only have a few days left of my culminating project, Any help towards what to change in the code or how to make the picuters slide not the button, would be much appreciated
Tony




PostPosted: Wed Jan 19, 2011 3:36 pm   Post subject: RE:Request For Help

I don't have any suggestions beyond "read your code carefully, and try to understand exactly what it's doing"
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: