But I dont know the previously focused control How to get the currently focused control You can use this to get the currently active control
How to detect modifier key change in a control focused element if the user holds CTRL GetKeyboardState to get the keyboard state in Delphi you can
Select component on current focusedactive form gets active and focused you seem like you would benefit from reading a big Delphi book I suggest you go get one
In delphi Experts Exchange ampgt Questions ampgt Simple Question find control with focus Want to protect your cyber security and still get fast solutions
How to get focused window control in another application window which is likely not to be in a delphi compiled How to get focused window control in
This may be a silly question but is there a way to get the focused control of a form For example Form1GetFocusedControl Thanks in advance!!!
Experts Exchange ampgt Questions ampgt Using SendMessage to send accelaratorCtrlA to get the window received by the focused