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

04. End-User with Custom Explorer Doesn't minimize correctly

edited October 2002 in End User
The custom explorer doesn't minimize to the task bar. If you don't
register the custom form it does. What needs to be changed in this
project to correct this?

Thanks,
Rick Matthews
Dartek Systems Inc.

Comments

  • edited October 2002
    Sorry, I forgot to specify RB7Ent D6

    Thanks,

  • edited October 2002
    There is a call that is overridden in TppReportExplorerForm, you'll have to
    make this call in the custom descendent form as well. It appears that this
    could be in the ancestor. Thanks for pointing this out.


    procedure TppReportExplorerForm.CreateParams(var Params: TCreateParams);
    begin

    inherited CreateParams(Params);

    Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;

    end;


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited October 2002
    Thanks Jim that fixes that demo.

    On a related note the end user demo 1. Report Explorer (standard
    explorer form) minimizes to the task bar but has two task bar icons
    (an extra one for the main form that is hidden).

    How do you make an application where the only "visible" form is the
    report explorer?

    Thanks,

  • edited October 2002
    The report explorer is a component that drops on a form. This form gets
    created and is part of the application. Then the report explorer creates a
    form and it is shown. They are both going to be displayed. This is the
    same as if you created a TForm on the fly from a button click on the main
    autocreated form of your application. When your main application runs, you
    don't have to use another form to display the end user solution, you can use
    the main form which your application is using.

    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.