I know I know ... this sounds stupid ...
But this RTB is about to drive me nuts
I have contents of an array in the rtb and I need to clear whast in the rtb so I can update it with new content but what I am getting is this
lets say I have
1
2
3
I have the above for example displayed in rtb when I update the rtb I get this
1
2
3
1
2
3
Its not clearing the other text before adding evn though I am telling it to
Her is my code
I know this has got to be simple ... if I do this in lets say a listbox I can easily clear it an give it the update ... why not this stupid RTB?
ALL help very much appreciated
vbMarkO
But this RTB is about to drive me nuts
I have contents of an array in the rtb and I need to clear whast in the rtb so I can update it with new content but what I am getting is this
lets say I have
1
2
3
I have the above for example displayed in rtb when I update the rtb I get this
1
2
3
1
2
3
Its not clearing the other text before adding evn though I am telling it to
Her is my code
Code:
' Why doesnt rtbDes.text = "" get it done???????
rtbDes.Text = ""
For i As Integer = 0 To myPubAr.Count - 1
rtbDes.Text = rtbDes.Text & myPubAr(i) & "..........." & myLocAr(i) & vbCrLf
Next
I know this has got to be simple ... if I do this in lets say a listbox I can easily clear it an give it the update ... why not this stupid RTB?
ALL help very much appreciated
vbMarkO