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?
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;
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?
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.
Comments
Thanks,
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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,
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
http://www.digital-metaphors.com
info@digital-metaphors.com