Tuesday, November 16, 2010

What would the code be in VB 6 if i wanted to touch two images together and start a (if) function.?

For Example using an object (moving around) to touch another object. im not sure how to use the height, width in the fuction and i would like to knowWhat would the code be in VB 6 if i wanted to touch two images together and start a (if) function.?
object's top and left properties determines the upper left x,y position of the object

to get the object's right and bottom values you should have: right = left + width, and bottom = top + height

so basically its like:

x1 = left

y1 = top

x2 = left + width

y2 = top + height



btw, start an if function? are you sure you know the basics in vb? you should try to learn the basics first before doing something big, just an adviceWhat would the code be in VB 6 if i wanted to touch two images together and start a (if) function.?
ya i know the basics

Report Abuse

No comments:

Post a Comment