Print Page | Close Window

Pronlem with Copy

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=14447
Printed Date: 06 May 2024 at 5:21am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pronlem with Copy
Posted By: Wi4er
Subject: Pronlem with Copy
Date Posted: 04 June 2009 at 4:27am
I have problem with .copy() function, it don`t work, but .cut() and .paste() functions working fine.
Anybody have any ideas.



Replies:
Posted By: mdoubson
Date Posted: 15 June 2009 at 7:04pm
Can't confirm - both cases work properly (Ctrl+C or ContextMenu - Copy) - same as such sample function to automate copy o double-click:
 
Private Sub wndSyntaxEdit_DblClick()
    wndSyntaxEdit.Copy
End Sub


-------------
Mark Doubson, Ph.D.


Posted By: Wi4er
Date Posted: 16 June 2009 at 8:27am
I found decision in my X-Base project.
When I call .copy(), it doesn't work, but when I call .callMethod("copy") - it`s work.
Have any ideas?


Posted By: mdoubson
Date Posted: 22 June 2009 at 11:10am
Looks like .copy is internal X-Base function and .callMethod("copy") is the way to discriminate system (X-Base) and object (SyntaxEdit) function with same name

-------------
Mark Doubson, Ph.D.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net