![]()  | 
 
Pronlem with Copy | 
 
    Post Reply  
   | 
  
| Author | |
   
   Wi4er  
   
   Newbie  
   Joined: 04 June 2009 Location: Ukraine Status: Offline Points: 3  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Pronlem with CopyPosted: 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.  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
   
   Wi4er  
   
   Newbie  
   Joined: 04 June 2009 Location: Ukraine Status: Offline Points: 3  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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?  | 
 |
![]()  | 
 |
   
   mdoubson  
   
   Senior Member  
   Joined: 17 November 2008 Status: Offline Points: 1705  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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 
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |