DataExplorer freezing
I am creating my datamodule holding my report + designer at runtime.
I don't have full information at the moment but I have noticed quite
frequently that the data explorer wont respond to mouse/key input. I can
show/hide it in the designer menu option but it seems as though it is
completely disabled (can't even close using the X button in the caption)
Is this a known problem?
I don't have full information at the moment but I have noticed quite
frequently that the data explorer wont respond to mouse/key input. I can
show/hide it in the designer menu option but it seems as though it is
completely disabled (can't even close using the X button in the caption)
Is this a known problem?
This discussion has been closed.
Comments
No.
I suspect there is modal dialog being shown somewhere. Delphi does not
handle window layering when task switching amongst applications.
Try adding an event-handler to the Application.OnActivate event that always
brings the active window to front....
example....
Application.OnActivate := ehApplicationActivate;
procedure TmyEndUserSolution.ehApplicationActivate(Sender: TObject);
begin
if Screen.ActiveForm.WindowState = wsMinimized then
Screen.ActiveForm.WindowState := wsMaximized;
Screen.ActiveForm.BringToFront;
end;
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com