In the click-event-handler of a control which has no Action property I call a TImageEnViewPromptToOpen action:
ImageEnViewPromptToOpen1.Execute;
Unfortunately, this does not work while ImageEnView1.Visible = False.
The reason for ImageEnView1 being invisible at that time: ImageEnView1 is made visible only in a successive general processing step where an image file is being passed to the app.
Obviously, the ImageEnViewPromptToOpen1 action must pass the loaded file to ImageEnView1 through my custom routine, not by loading it implicitly in ImageEnView1.
So how can I execute the ImageEnViewPromptToOpen1 action while ImageEnView1 is still invisible?