Thema: Delphi OleContainer Copy

Einzelnen Beitrag anzeigen

danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#1

OleContainer Copy

  Alt 20. Sep 2016, 08:42
Please how can I copy selected text from a Word document in Edit.
The code below is not working.

Thank you

Delphi-Quellcode:
olecontainer1.OleObject.ActiveWindow.Selection.Copy;
  Edit1.Clear;
  Edit1.PasteFromClipboard;
Daniel
  Mit Zitat antworten Zitat