|
|||||||
| TX Text Control .NET Please use this forum for TX Text Control .NET support only. If you need support for a different product, please use the appropriate forum. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Pasting text into a DocumentTarget
Hello,
In my document I have an empty line which begins with a DocumentTarget. When positioning the cursor to that DocumentTarget and doing normal writing everything looks fine. But when I paste some text from the clipboard the text is suddenly inside the DocumentTarget so that it appears as a normal text field. Is that a bug or does exist a workaround for that problem?
__________________
Regards, Aline --- TX Text Control Edition Enterprise TX Text Control Version 14 SP4 Programming Language VB.NET |
|
#2
|
||||
|
||||
|
Re: Pasting text into a DocumentTarget
Hello Aline,
Could you please provide me that document, so I can reproduce that? I don't think this is a bug, but missing code on your side. Did you already try to move the cursor out of the DocumentTarget?
__________________
Regards, Gunnar Giffey, TX Text Control [Forum Administrator] |
|
#3
|
|||
|
|||
|
Re: Pasting text into a DocumentTarget
I can send you an example next monday as I'm currently on vacation.
__________________
Regards, Aline --- TX Text Control Edition Enterprise TX Text Control Version 14 SP4 Programming Language VB.NET |
|
#4
|
|||
|
|||
|
Re: Pasting text into a DocumentTarget
Hello Gunnar,
I can't provide you a document to reproduce the issue but I can give you some steps to reproduce it yourself. Sadly our internet security is way overboard, I cannot upload my test project. 1. Start the programm. 2. Insert a few new lines. 3. Add something to the clipboard. 3. Position the cursor into a new line. 4. Insert a DocumentTarget. 5. Press CTRL + V --> Everything works fine! Now the steps which will produce the error: 1. Start the programm. 2. Insert a few new lines. 3. Add something to the clipboard. 3. Position the cursor into a new line. 4. Insert a DocumentTarget. 5. Position the cursor to a different line. 6. Position the cursor back to the DocumentTarget. 7. Press CTRL + V --> The copied text is now part of the DocumentTarget! I hope you understand my problem now! I tried to work around the problem in the TextField events by determining if the field is DocumentTarget, but it didn't work.
__________________
Regards, Aline --- TX Text Control Edition Enterprise TX Text Control Version 14 SP4 Programming Language VB.NET Last edited by Kawoosh; March 16, 2010 at 17:19:43. |
|
#5
|
||||
|
||||
|
Re: Pasting text into a DocumentTarget
Hello Aline,
I am able to reproduce the issue and added it to our bug list. Unfortunately, I don't see a workaround at the moment, sorry.
__________________
Regards, Gunnar Giffey, TX Text Control [Forum Administrator] |
|
#6
|
|||
|
|||
|
Re: Pasting text into a DocumentTarget
Hi Gunnar,
do you know in which version you will fix it?
__________________
Regards, Aline --- TX Text Control Edition Enterprise TX Text Control Version 14 SP4 Programming Language VB.NET |
|
#7
|
||||
|
||||
|
Re: Pasting text into a DocumentTarget
No, sorry. I just have added the bug, so it will have to be analyzed first.
__________________
Regards, Gunnar Giffey, TX Text Control [Forum Administrator] |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pasting text | mesd | TX Text Control .NET | 1 | September 14, 2009 14:40:29 |
| Convert text to text fields preserving rich text | jeffnc | TX Text Control .NET | 1 | May 14, 2008 14:18:58 |
| Copy and pasting between TX Text Controls | sfatzinger | TX Text Control ActiveX | 1 | April 6, 2004 20:55:44 |
| Pasting HTML Text with styles into Text Control | jeremy | TX Text Control ActiveX | 0 | March 30, 2004 20:39:35 |
| text format lost on paste | jfrazee | TX Text Control ActiveX | 1 | March 12, 2004 14:08:48 |