suncica2222
March 6th, 2010, 02:06 PM
I made GUI in VC++2008 Win form app template and I dont know how to assign string or int variable to a textbox that I made.There's no variable field in text field properties and no add variable on right click.I haven't found any.
All that I found in Form.h is :
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox4;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::TextBox^ textBox1;
I guess those are just made for panel and are not supposed to be casted into strings or types I need.
This should be an easy question.
All that I found in Form.h is :
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox4;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::TextBox^ textBox1;
I guess those are just made for panel and are not supposed to be casted into strings or types I need.
This should be an easy question.