|
|
#1 |
|
New Member
Join Date: Jan 10
Posts: 6
![]() |
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? |
|
|
|
|
|
#2 |
|
Fanatic Member
Join Date: Dec 08
Location: USA
Posts: 933
![]() ![]() |
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?
__________________
If your problem is solved, click the Thread Tools button at the top and mark your topic as Resolved! If someone helped you out, click the button on their post and leave them a comment to let them know they did a good job__________________ My Vb.Net CodeBank Submissions: Microsoft Calculator Clone Custom TextBox Restrictions Get the Text inbetween HTML Tags (or two words) |
|
|
|
![]() |
| Tags |
| graphics, noob |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|