invoke cut/copy/paste programatically

SyntaxEditor for Windows Forms Forum

Posted 6 years ago by Matt Fielder
Version: 12.1.0304
Avatar

I appologize for what is a simple question, but I just can't seem to find the appropriate methods.  I want to programatically invoke cut/copy/paste functions that exist on the default context menu programatically.  What is the necessary method call?

Comments (2)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Matt,

It's methods on the view like:

syntaxEditor.SelectedView.CopyToClipboard()


Actipro Software Support

Posted 6 years ago by Matt Fielder
Avatar

That's just what I was looking for.  Thanks.

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.