CodeSnip News
A repository for source code snippets, designed with Pascal in mind.
Brought to you by:
delphidabbler
Two new routines have been added to the Code Snippets Database's Windows category. Both are concerned with detecting focus in a TWinControl. The first is ContainsFocus which tests if a given control has focus. The second is FocusedControl which returns a reference to the TWinControl that contains the focus (if any).
link