Besides TForm is there a container component that handles keystrokes? lazarus / 31-LCL ---------------------------------------------------------------------- vfclists · 2024-10-04 09:05 I'm going through the components list in Lazarus to look for a container component like TPanel that handles keystrokes and the only one I can find is TForm. Is there no other such component than TForm? On a side note when a TForm is embedded in another are keystrokes in the embedded form seen by the parent form, or are they all trapped by the embedded form? ---------------------------------------------------------------------- jamie · 2024-10-04 21:06 Application.AddOnUserInputHandler I don't know what you are trying to do but that should capture it all. ---------------------------------------------------------------------- mas steindorff · 2024-10-04 22:40 it's not in the object inspector but TFrames also have .onKey... just tested the tpanal and it to has these onKey functions i.e. during the create() function of my frame I typed self.panel1.onKey.. and auto complete  shows the rest. ---------------------------------------------------------------------- vfclists · 2024-10-05 13:11 Quote from: jamie on October 04, 2024, 11:06:00 pmApplication.AddOnUserInputHandler I don't know what you are trying to do but that should capture it all. Looks like I was introduced to AddOnUserInputHandler 9 years ago https ://forum.lazarus.freepascal.org/index.php/topic,27980.msg173805.html#m sg173805, I even found good  example on using it, but I didn't explore it further. Thanks.