Hi
Danke
Der OnActivate wird ja ausgelößt wenn die Form wieder in den Focus kommt, das sollte es ja nich.
So steht es auch in dem Beschreibung:
Zitat:
OnActivate event
Occurs when the form becomes active.
Delphi syntax:
property OnActivate: TNotifyEvent;
C++ syntax:
__property Classes::TNotifyEvent OnActivate = {read=FOnActivate, write=FOnActivate, stored=IsForm};
Description
Use OnActivate to perform special processing when the form receives focus. A form becomes active when focus is transferred to it (when the user clicks on the form, for example).
Note: The OnActivate event of the application (TApplication), not the form, occurs when Windows switches control from another application.
Oder versteh ich das jetzt Falsch?
Daniel M.