textBox2->Lines->Add(new String("test"));
but this doesn't work, it throws this exception:
An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll
Additional information: Collection was of a fixed size.
What is correct way of adding new lines to textBox control?
[.net] textBox-Lines-Add
Hi,
i am using textBox class to display some text. I have set it tu multiline=true, and now i want to add extra line to it, this is what i do:
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement