Código Delphi [-] if not (sender as TDBEdit).Focused then exit;
if not (sender as TDBEdit).Focused then exit;