I am relatively new to Borland 2006 C++ Builder. I have a form which has about 6 buttons and a text box for selecting and inputting values respectively (e.g. Clicking on Button 1 should return "100" to a variable in the calling form. Likewise, entering 100 into the text box and pressing enter would do same. This form is called by another form which needs to make use of the value selected. I have been able to return values from the text box. However, I need help on how to return values as a result of clicking the buttons.
Thanks in advance.
Thanks in advance.