5. Provide yourself an example (not one from your instructor) of how you use a particular command that will help jog your memory in the future when you need that command again. You must provide a little code as well as a written explanation with this one.
To move an object up or down a certain number of pixels, I use the code:
Me.pbSmiley.Left = pbSmiley.Location.X - 5
This is will easier to remember later, becuase 'location' makes sense, as the object is moving. Also, X-5 reminds me of x and y mathematically, so it will be easy to remember how to move the object I need to move, and which is which.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment