Re: [Lazarus] Form.ActiveChanged vs Screen ActiveControlChanged

2017-01-08 Thread José Mejuto via Lazarus
El 08/01/2017 a las 16:56, Bart via Lazarus escribió: In D7 TForm.ActiveChanged is not fired if I change the focus with the mouse, but it is if I change focus with Tab. Hello, Just for the record I get the same effect as Screen if I override: function SetFocusedControl(Control:

Re: [Lazarus] Form.ActiveChanged vs Screen ActiveControlChanged

2017-01-08 Thread José Mejuto via Lazarus
El 08/01/2017 a las 16:56, Bart via Lazarus escribió: On 1/8/17, José Mejuto via Lazarus wrote: [...] Is this behaviour intented ? I'm testing in Windows 7 with SVN fpc and Lazarus. I do not know how Delphi works. In D7 TForm.ActiveChanged is not fired if I

Re: [Lazarus] Form.ActiveChanged vs Screen ActiveControlChanged

2017-01-08 Thread Bart via Lazarus
On 1/8/17, José Mejuto via Lazarus wrote: > Hello, > > In my code I'm overriding "Form.ActiveChanged" to catch when control > focus changes and perform some global checks, it works fine except when > focus is changed with mouse. > > As a test I've added a handler in