I need help with coding this program and all you wonderful programmers are going to try and help me. PLEASE.
This is what i have to do:
Planning Bounce
To arrive at a solution for this problem you’re going to have to use IF statements, a WHILE loop, private unit-level memory variables and a lot of ingenuity. This is the problem:
You have to create a form with two panels, one at the bottom that will contain two buttons, and one at the top that will fill the remainder of the form. The two buttons should labelled start and stop, when you click on startsomething starts to bounce around the main panel. In other words the something starts to move right and downwards. When the something reaches the right edge of the panel it stops moving rightwards and starts to move leftwards; similarly when it reaches the bottom of the panel the something stops moving downwards and starts moving upwards.
When the stop button is pressed the something stops moving.
The something that moves could be anything you want - though it should be small. It could be an image of a ball, a small button, a small panel, anything you like. If you use a button or a panel I would change it’s colour so that it stands out.
Here is a demo program so that you can see what the program might look like, you might be able to run it directly, or you may need to save it to your U: drive or some external drive and run it from there. Remember to delete it afterwards to save space.
If possible, would you be able to provide me with step by step code instructions in order for me to understadn the code.
having a look at the demo. Just draw a square in a random place using randm function for differenr cordinates. Move it in a direction and check whther it hits a side of so change direction taking into account the angle. Go and look at some documentation as it's been ages since I used delphi.
I have been told that this is not enough and that I need to know the code? ( I think this means the code of the cute little blue dot thing that bounces about).
There must be someone who has used Delphi. If I knew how to pronounce it, I would surely know how to use it. Please help!
tsk tsk tsk. Do you know how bad it is to get other to do ur homework? exams are usually based on these assignments too ... blah blah blah.
Now lets come back to real world :p
When is it due?
I have done Visual Basic - Delphi is similar. It does sounds like a simple prorgam. I am willingly to HELP you after a week and half. Why after? cuz i have my own freakin projects due and examz.
PrinceMS, there is no need for "tsk tsk tsk" ing when one has asked for help so nicely, especially seeing as I am a tiny little lass and in the computer forum. Nonetheless, do not worry yourself over my work and make sure you revise appropriately for your own exams. Good Luck!
Sh3ry, I would love you from the bottom of my heart if you could help me out with the code thing for the cute little blue dot thing...please.