Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

DataExplorer freezing

edited June 2005 in End User
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?

Comments

  • edited June 2005

    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
  • edited June 2005
    I'll try that, thanks
This discussion has been closed.