adding text to a tMemo control
2005-01-01 02:19:22 AM
cppbuilder107
I am working on a derivative of the texteditor tutorial which will display xml data in the editor window.
The xml data is generated programmatically, but I am having problems adding the xml data to my tMemo control.
I tried the following code, but got nothing displayed in the control:
txtView->Clear();
txtview->Text = "<!?xml version=\"1.0\"?>\n";
This code was inside the event for one of my menu items.
Any suggestions greatly appreciated.
btw: the tmemo is readonly, and is used to display a trace of activity.