Can anyone help me. I am doing a project and am thinking of coding it OO instead of traditional C in C++ Builder. I can't write a class(and I've really tried to do this!) that will simply put text into a text box on a form. I am starting with a simple example and am hoping that the rest will follow.


LABEL: whatever! TEXTBOX:________BUTTON:______
when the button is clicked text will fill the box. I can do this simply by coding behind the button Forn1->Edit1->text = "10"; but I will need to be able to write a class that will handle about 15 fields so I was starting with one.
Can anyone help me???
I hope it makes sense!

Thanks alot