TIP: Click on subject to list as thread! ANSI
echo: delphi
to: MATHEAS MANSSEN
from: OLE ALMIND MORTENSEN
date: 1996-10-20 09:51:00
subject: Inserting text in TMemo

Hej Matheas!
Onsdag 16. Oktober 1996 kl.00:24 skrev Matheas Manssen til All:
 MM> * And I want also to insert a text at the end of the current selected
 MM> text.
 MM> Is this easy to do? I see troubles.
This is quit easy. ;-)
Var
  Tmp : String;
Begin
  Tmp:=Editor.SelText+'This is what should be added';
  ClipBoard.AsText:=Tmp;
  Editor.PasteFromClipboard;
End;
This will put the new text at the end of the selected text. Then it should be 
quit easy to convert it, if you want it in front of the text or on other 
places. :)
  Mvh. Ole
  Team S.A.R.R.
--- GoldED/W32 2.51.A0901 UNREG
---------------
* Origin: Nightcall Point (2:237/10.150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.