I am trying to compile a text to a TextArea from various lines in an Array. The TextArea formatted as styledText.RTFData. My nonworking tryout:
var ST as new StyledText for rCount=0 to mTitleArray.Count-1 ST.RTFData = mTitleArray(rCount,0)+chr(9)+mTitleArray(rCount,1)+chr(9)+mTitleArray(rCount,2)+EndOfLine+EndOfLine TextArea1.addText = ST next
But with this code, Xojo is wining:
This method cannot accept an assigned value (it lacks an Assigns parameter).
TextArea1.addText = ST
Can someone help me out here, pleae?