title: How to find out if TCustomControl is focused when Focused property returns always False?
body: <p>We are using modified <code>TToolWindow97 = class(TCustomControl)</code> component.</p>
  
  <p><img src="https://i.stack.imgur.com/dPlZd.png" alt="enter image description here"></p>
  
  <p>I can only find it on <code>TForm.Components</code>. And there is no it on <code>TForm.Controls</code>. So, <code>TForm.ActiveControl</code> is nil and <code>TToolWindow97.Focused = False</code> when <code>TToolWindow97</code> is focused. I need to know when it's focused.</p>
  
  <p>I also tried to find any focused control on <code>TToolWindow97</code>. But all of them return <code>Focused = False</code>.</p>
  
  <p>How to find out if <code>TToolWindow97</code> (inheried from <code>TCustomControl</code>) is focused when <code>Focused</code> property returns always <code>False</code>?</p>
  
  <p>P.S. The <code>TToolWindow97</code> window has a shadow on the image. Only focused <code>TToolWindow97</code> windows have it - so focus exists. And I may focus any control on it. But all of them return <code>Focused = False</code>. I don't know why.</p>
  
  <p>Thanks a lot for the help!</p>