Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an event in Delphi that fires when ActiveControl changes?

I would like to run a small routine whenever the ActiveControl changes. How can I do this? I thought about having a timer that checks the active control at certain intervals, and fires my routine when it changes, but is there a more elegant solution?

like image 316
Svein Bringsli Avatar asked Sep 02 '10 12:09

Svein Bringsli


1 Answers

TScreen.OnActiveControlChange

like image 60
splash Avatar answered Oct 20 '22 00:10

splash