Cut, Copy and Paste text from the control

Submitted by:Jhon Smith

Date added:25 January, 2012

Category:Delphi

Delphi code example - how to Cut, Copy and Paste text from the control which has the focus.

Tags: copy and paste

Code Snippet:

  SendMessage(GetFocus,WM_CUT,0,0);

SendMessage(GetFocus,WM_COPY,0,0);

SendMessage(GetFocus,WM_PASTE,0,0);
 
 

Comments