Ok, here I am asking the same question again! I was thinking it is so basic an I would have no problem finding an answer in no time. But after searching and asking for days, I got nothing!
Here is the question:
A textbox control can handle data of Text type only. For example, if I have a form with a TextBox named textBox1, and I have the following code under a button:
x = textBox1->text;
I woul get the following error when compiling:
error C2440: '=' : cannot convert from 'System::String ^' to 'int'
The same applies to reading numeric values from a textbox.
Now, how can I change the data type of a textbox to integer or float so that it can handle numirec values?
Would appreciate any input.
Thank you in advance,