I need to show (with showModal) a form with many TEdit, but I want to force focus on TEdit, but not always the same, depending on the context.
I cannot use SetFocus before ShowModal (because the form is not activated) and using the component name or tag in my application is not very convenient. Do you have an idea?
delphi focus setfocus
philnext
source share