View Full Version : object inserted as a char - location
Karol Pecyna
August 3, 2007, 12:46:16
Hi
I would like to get ID of the object inserted as a char, when I know its location in text control.
Now I'm using additional lists to determine it, but this method makes my program slowing down.
Regards
Karol
Karol Pecyna
August 20, 2007, 10:18:16
Are there any plans to add such feature in next version?
Björn Meyer
August 20, 2007, 10:32:25
Hello Karol
Which version of TX Text Control do you use?
Karol Pecyna
August 20, 2007, 10:38:58
I use TX Text control 12 (ActiveX)
Björn Meyer
August 20, 2007, 13:30:21
To be honest, I don't see an application for that right now. The objects have an id to be addressed easily. I don't see an application where you need to know it's location instead of the unique id.
But as always: Help me to learn more about your intention.
Karol Pecyna
August 20, 2007, 16:15:30
Some words or sentences in my application may be replaced by object, and then this word or sentence is deleted and object is inserted at it's position.
Object may include picture and other features. But sometimes I need to change this object to the text again. It happens for example, when I want to copy all Tx component's content as a text for speech synthesis. When I use Text or SelText property, I know objects location in text, but I don't know their IDs. If I knew their IDs I would easy insert suitable texts instead of object's chars.