Computer Science Canada

help with a draw program

Author:  dvhudspith [ 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

Author:  Tony [ Mon Feb 24, 2003 2:06 am ]
Post subject: 

there already was a similar post at http://danco.no-ip.com/turing/viewtopic.php?t=309

Author:  gosho [ Thu Feb 27, 2003 11:35 am ]
Post 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:)

Author:  Tony [ Thu Feb 27, 2003 11:57 am ]
Post 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.

Author:  gosho [ Thu Feb 27, 2003 12:40 pm ]
Post subject: 

Can I Have Multiple Buttons in the same loop?And how can I change the Colours???


: