From: Neven MacEwan [mailto:[EMAIL PROTECTED]]
> I'm trying to save the last focused control on a form so when I reactivate
> it This control has focus

The focused control is TForm.ActiveControl, and when you call Form1.SetFocus
it calls Form1.ActiveControl.SetFocus internally.  So normally this happens
for free...

> Can anyone gove me a pointer?

Copy the next line. :-)
var P: Pointer;

Cheers,
Carl
---------------------------------------------------------------------------
    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"

Reply via email to