No. One solution is to use the Application.OnActivate event to bring the active form to the front. This will result in the modal window always being brought to the front when tasks are switched. (I do not know why the VCL does not do this automatically - seems like a bug to me).
Example:
if Screen.ActiveForm.WindowState = wsMinimized then Screen.ActiveForm.WindowState := wsMaximized;
Screen.ActiveForm.BringToFront;
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
No. One solution is to use the Application.OnActivate event to bring the
active form to the front. This will result in the modal window always being
brought to the front when tasks are switched. (I do not know why the VCL
does not do this automatically - seems like a bug to me).
Example:
if Screen.ActiveForm.WindowState = wsMinimized then
Screen.ActiveForm.WindowState := wsMaximized;
Screen.ActiveForm.BringToFront;
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thanks, works fine.
It would be nice to automatically have it on the task bar when the preview
is minimized.
/Ronny