<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="monospace">Hi.<br>
<br>
In a single form application, is it always the case that
TForm.ActiveControl = "Focused Control" ?<br>
<br>
Eg. if I somewhere in my coded has:<br>
<br>
...<br>
SomeWinControl.SetFocus;<br>
...<br>
<br>
And the later do a check:<br>
<br>
...<br>
if (MainForm.ActiveControl = SomeWinControl) then<br>
...<br>
<br>
will the above if statement be true (considering focus hasn't
changed)?<br>
<br>
Kind regards,<br>
Torsten.<br>
</font>
</body>
</html>