Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Syntax Edit
  New Posts New Posts RSS Feed - Pronlem with Copy
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pronlem with Copy

 Post Reply Post Reply
Author
Message
Wi4er View Drop Down
Newbie
Newbie
Avatar

Joined: 04 June 2009
Location: Ukraine
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wi4er Quote  Post ReplyReply Direct Link To This Post Topic: Pronlem with Copy
    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.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Wi4er View Drop Down
Newbie
Newbie
Avatar

Joined: 04 June 2009
Location: Ukraine
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wi4er Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.