Owner Vs PArent and Taction shortcuts on Frames
- by Fred
I have a form with a panel.
I create frames at runtime and display them on the panel by setting frame's parent property to the panel.
When creating panels I do not set the owner property because i manage myself the lifetime of the frame.
Until now i got no problem. Next I put an TActionList on the frame with some shortcuts on the actions.
I found that my actions did not execute until I set the owner property of the frame to the panel.
Can someone can explain me that ? I thought that owner property was just about wich component is responsible to free the children components, and not responsible to forward key events.