Go Back   TX Text Control Community > TX Text Control Discussion and Support Forums > TX Text Control .NET

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.

Reply
 
Thread Tools Display Modes
  #1  
Old March 5, 2010
Kawoosh Kawoosh is offline
Registered User
 
Join Date: Feb 2009
Location: Berlin, Germany
Posts: 40
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
Reply With Quote
  #2  
Old March 9, 2010
Gunnar Giffey's Avatar
Gunnar Giffey Gunnar Giffey is offline
TX Support Engineer
TX Text Control
 
Join Date: Sep 2004
Location: Bremen, Germany
Posts: 3,999
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]
Reply With Quote
  #3  
Old March 10, 2010
Kawoosh Kawoosh is offline
Registered User
 
Join Date: Feb 2009
Location: Berlin, Germany
Posts: 40
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
Reply With Quote
  #4  
Old March 15, 2010
Kawoosh Kawoosh is offline
Registered User
 
Join Date: Feb 2009
Location: Berlin, Germany
Posts: 40
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.
Reply With Quote
  #5  
Old March 18, 2010
Gunnar Giffey's Avatar
Gunnar Giffey Gunnar Giffey is offline
TX Support Engineer
TX Text Control
 
Join Date: Sep 2004
Location: Bremen, Germany
Posts: 3,999
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]
Reply With Quote
  #6  
Old March 18, 2010
Kawoosh Kawoosh is offline
Registered User
 
Join Date: Feb 2009
Location: Berlin, Germany
Posts: 40
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
Reply With Quote
  #7  
Old March 18, 2010
Gunnar Giffey's Avatar
Gunnar Giffey Gunnar Giffey is offline
TX Support Engineer
TX Text Control
 
Join Date: Sep 2004
Location: Bremen, Germany
Posts: 3,999
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]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


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


All times are GMT +1. The time now is 06:01:56.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 1991 - 2010 The Imaging Source Europe GmbH