I have been learning delphi for 1 week now and I am trying to get further in my learning of Delphi, I have a large script that I am studying... so far I have learned to write data to an ini file, read data from and ini file, make an array, make a button do a procedure, I can do quite a few things now from studying the script.
I want to now move on to doing procedures that lead to other procedures so I am experimenting by creating the most simple of programs: hello world!
I have made a program that shows the message 'Hello world' after 10seconds of being open, but it does this every ten seconds over and over and over never stopping.
Can some one show me how to do this?
1.when my program opens you have a button that you can click.
2.when you click the button it shows the message 'hello world' after 10 seconds. it does this once then stops.
3.after 20 seconds it show another message 'why have you pulled all of your hair out?' it does this once and then stops.
If I can understand how to start and stop events when I need to, then my learning will vastly improve. as far as I understand at the moment I have to put conditions for things starting and stopping (if)... I would be happy with any help understanding this simple thing.
I want to now move on to doing procedures that lead to other procedures so I am experimenting by creating the most simple of programs: hello world!
I have made a program that shows the message 'Hello world' after 10seconds of being open, but it does this every ten seconds over and over and over never stopping.
Can some one show me how to do this?
1.when my program opens you have a button that you can click.
2.when you click the button it shows the message 'hello world' after 10 seconds. it does this once then stops.
3.after 20 seconds it show another message 'why have you pulled all of your hair out?' it does this once and then stops.
If I can understand how to start and stop events when I need to, then my learning will vastly improve. as far as I understand at the moment I have to put conditions for things starting and stopping (if)... I would be happy with any help understanding this simple thing.