Hi.

In a single form application, is it always the case that TForm.ActiveControl = "Focused Control" ?

Eg. if I somewhere in my coded has:

...
SomeWinControl.SetFocus;
...

And the later do a check:

...
if (MainForm.ActiveControl = SomeWinControl) then
...

will the above if statement be true (considering focus hasn't changed)?

Kind regards,
Torsten.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to