How to detect activation application ? lazarus / 32-Linux ---------------------------------------------------------------------- Borneq · 2020-02-03 20:29 I want check in my editor if files changed outside. One way is check file time and size in Application.OnActivate, this work on Windows but not in Linux Mint CInnamon, better is Application.OnRestore which is called after each restoring from minimization, but not after go to application by Alt+Tab. ---------------------------------------------------------------------- winni · 2020-02-03 21:12 Hi! Application.OnActivate is fired only once in Linux: The first time the app is shown. If you only want to check after restoring from minimized use Form.OnResize. There you can check if the form was minimized and then check your files. Winni ---------------------------------------------------------------------- Borneq · 2020-02-03 22:31 MInimization I check by Allication.OnRestore, but is possible check after Alt+Tab without minimization? Is OK if I click on other appication window and again on my editor, but not detect Alt+tab. Similar is get Application.Active in timer, after go out with Alt+tab, in Cinnamon Application think that is active. ---------------------------------------------------------------------- winni · 2020-02-03 22:52 As I told you: use Form.OnResize. There you can check if the form was minimized and then check your files. Winni