Here's a piece of code I use to add the current date and time to the current cursor position:
Memo.SelText := DateTimeTostr(Now); HTH's. from: Robert Meek at: [EMAIL PROTECTED] dba "Tangentals Design" home of "PoBoy" freeware Windows apps and utilities located at: www.TangentalsDesign.com e-mail to: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Monday, August 22, 2005 5:24 AM To: [email protected] Subject: insert text at cursorposition in TMemo Hello, I need to insert text in a TMemo at the current cursor's position in that memo. Someone knows how to find out where the cursor position is ? --- Rgds, Wilfried http://www.mestdagh.biz __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
