TForm.OnDeactivate event. untested... JED >>I'm trying to save the last focused control on a form so when I reactivate >>it This control has focus --------------------------------------------------------------------------- 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"