I have to show (with ShowModal
) a Form with many TEdit
but I want to force the focus on a TEdit
, but not always the same, depending on the context.
I can't use SetFocus
before the ShowModal
(because the Form is not activate) and use the component Name
or Tag
is not convenient in my application.
Do you have an idea ?