|
|
pinEdit WP
Started by sinspin at 11-12-2008 3:14 . Topic has 5 replies.
 
 
|
|
Sort Posts:
|
|
|
|
11-12-2008, 3:14
|
sinspin
Joined on 11-12-2008
Posts 0
|
Error during pinEdit.EditPaste call
|
|
|
|
|
Hello, i use pinEdit eval, version 7.1.1106. ActiveX with Delphi7.
Since the pinEdit 7 versions produce many calls an error in this form:
--------------------------- Fehler --------------------------- 'ContainerHwnd' property is read-only --------------------------- OK ---------------------------
Generally all function calls that results in an OleVariant (in my imported ActiveX interface) produce this error. although it is not relevant if the component is embedded at designtime or create at runtime.
Background: I select a HTML text template via LookupCombobox and would like it to paste to the last cursor postion in the editor. The insert of HTML text into clipboard works fine, but not the paste via pinEdit.EditPaste.
|
|
|
|
|
Report
|
|
|
|
11-12-2008, 3:31
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
Re: Error during pinEdit.EditPaste call
|
|
|
|
|
Hello,
does the editor has the focus when you paste ?
Can you set the focus before pasting ?
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
11-12-2008, 4:39
|
sinspin
Joined on 11-12-2008
Posts 0
|
Re: Error during pinEdit.EditPaste call
|
|
|
|
|
Hello,
this was a good idea, but the result is the same as before. I set the focus and call the window's message processor to ensure the focus is set. The cursor is shown in the editor, then appears the same error.
I can create a sample application and send as email to you, maybe it is a way to find a solution and eliminate this problem.
Regards Stefan.
|
|
|
|
|
Report
|
|
|
|
11-13-2008, 8:50
|
Pintexx Support
Joined on 08-30-2005
Posts 1.910
|
Re: Error during pinEdit.EditPaste call
|
|
|
|
|
Hello,
a sample application does not help because we are not familiar with Deplhi and don't have this system.
Setting focus could be a problem.
Could you please try
editor.execute("editSetFocus()") ?
Instead of using EditPaset could you please try
EditInsertHtml(html)
Regards,
Hans-Peter
|
|
|
|
|
Report
|
|
|
|
11-13-2008, 12:18
|
sinspin
Joined on 11-12-2008
Posts 0
|
Re: Error during pinEdit.EditPaste call
|
|
|
|
|
Hello,
it is very difficult. After this changes the error is shown after the Editor.Execute('editSetFocus()') call.
--------------------------- Fehler --------------------------- 'EditAtDesignTime' property cannot be set at run time --------------------------- OK ---------------------------
Regards Stefan
|
|
|
|
|
Report
|
|
|
|
11-13-2008, 2:59
|
sinspin
Joined on 11-12-2008
Posts 0
|
Re: Error during pinEdit.EditPaste call
|
|
|
|
|
Hello,
ich have the ActiveX import again generated and all new tests are positive! The previous errors result potentially from diffrent versions of the generated interface and the ActiceX. With the new interface have i no problems more.
PinEdit is a very powerful component. An integration in Delphi is although a bit difficult, but i use it.
Thanks for you help Stefan.
|
|
|
|
|
Report
|
|
|
|
|
Pintexx Forum » Developer Produ... » pinEdit WP » Error during pinEdit.EditPaste call
|
|
|
|