I have a new program I am working on and I would like to repeat a portion of code to redo the same thing again, and again.
When the program starts, it will give me a number from my NIC card (I think). Ok so I have it going to a TMemo. I have one button set up the clear the Tmemo, and I want to use another button to redo the function that produced the number in the first place. How do I do that?
I can provide code if needed.
Also, how would I, if it is any different to a major degree, repeat all code should that ever be necessary for me in the future.
Thanks for any and all help in advance! :)
ps. I forgot... This should be real easy, but I have searched for a good while and cant find an example. I am working on some error messages for a separate program. All I am wondering is how to show one error message for 3 different Tedit boxes. Seems silly to write the same error for 3 edit boxes. Basically the edit boxes need text in them, if no text is in any one of the boxes, an error message will appear. Thanks!