tristaanogrewrote:
That is a VERY odd looking component... the "wText" property looks like it contains XML so I'm GUESSING that this is an edit control that somehow does some kind of wrapping/rendering of XML data into something else. I see a "wSelection" property and a select start and select end which seems to imply that there's some text on the control that is currently selected/highlighted. So, over all, a rather interesting control.
My suspicion is that you will need to do some odd code here... If you want to edit the text contents, I would say you should grab the contents of wText, convert that into an MSXMl.DOMDocument object, manipulate the nodes, text, etc. using DOMDocument methods and properties, convert that back into text, and set the wText value to that new value.
Yes the control text was highlighted by myself at the time of retrieving its properties/methods through ObjectSpy, ideally the value for wSelection End & Start is '0'. Any suggestions/guidance as to how can I do what you've suggested above ie "convert that into an MSXMl.DOMDocument object, manipulate the nodes, text, etc. using DOMDocument methods and properties, convert that back into text, and set the wText value to that new value." Thanks