Well I found the solution. Its not ideal,but it works. I already have the text highlighted in the form, so I just doa send keys...agh....oh well. IT works.
Jeremy -----Original Message----- From: Myles Penlington <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Fri, 18 Oct 2002 11:38:48 +1300 Subject: RE: [DUG]: Getting Selected Text > If the other form is in Delphi, else you need to get the handle of the > selected window. > > How about something like this - off the top of the head <g> > > SendMessage( OtherForm.ActiveControl.Handle, WM_COPY, 0, 0); > > Myles. > > -----Original Message----- > From: vss [mailto:vss@;vss.co.nz] > Sent: Friday, 18 October 2002 11:28 a.m. > To: Multiple recipients of list delphi > Subject: [DUG]: Getting Selected Text > > > Hi all. > Is is pos. to get the text that is selected on another form? > > > Jeremy > > ----------------------------------------------------------------------- > ---- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > ----------------------------------------------------------------------- > ---- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/