Author |
Message |
dvhudspith
|
Posted: Mon Feb 24, 2003 1:31 am Post subject: help with a draw program |
|
|
i'm having trouble with a draw program that our teacher assigned us. if anybody could post some code to help me out it would be appreacated.
the program has to be able to draw five different colours and five different shapes.
thanx |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
|
|
|
|
gosho
|
Posted: Thu Feb 27, 2003 11:35 am Post subject: (No subject) |
|
|
Hi
I have the same project but I Cant Get the Loop to work.I have to make a button that When Clicked upon Makes the same shape as on the button except On the Paint Screen.I need to do that for a few Shapes and Colours.If you can Help please do:) |
|
|
|
|
|
Tony
|
Posted: Thu Feb 27, 2003 11:57 am Post subject: (No subject) |
|
|
you can look up GUI syntax to make buttons (could someone who knows GUI post a tutorial on that?)
and then assign each button a function that draws a shape. Syntax for shapes are
drawbox
drawoval
drawpolygon
but I guess thats the first thing you learn in turing... strange... graphical user interface should be introduced later on in programming... oh well. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
gosho
|
Posted: Thu Feb 27, 2003 12:40 pm Post subject: (No subject) |
|
|
Can I Have Multiple Buttons in the same loop?And how can I change the Colours??? |
|
|
|
|
|
|