|
-
Mar 11th, 2010, 01:19 PM
#1
Thread Starter
New Member
Simple noob problem-need help from you!!
Hello guys,
I want to make quite a simple program where I want to put an angle (from 0-90 degrees) into a box and then click a button.
When that button is clicked the angle of an inclined planes changes accordingly.
I.e. I want a line to move up by a certain angle
if you look at this picture:
http://www.engineeringtoolbox.com/do...ined-plane.png
You can see what I mean better.
I simply want the angle of that line to change as I change the angle in the textbox.
I have tried to do this using the visual basic power packs to draw the line, and then I tried to figure out how to make the that line move as I change the angle.
I keep changing the y2 co-ordinate and it the stretches upwards as I decrease the values which of course is not good....
any idea's?
-
Mar 11th, 2010, 04:07 PM
#2
Re: Simple noob problem-need help from you!!
So what's the problem with changing the y2 coordinate. All you said was that decreasing it makes the line go up "which isn't good". What isn't good is the description of your problem. Maybe you want to make the line go down? Well have you tried increasing y2?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|