Check out the TppReport.PreviewFormSettings.WindowState property. Setting this property to wsMaximized will cause the preview form to load maximized by default. This is a published property so it is available in the Delphi Object Inspector. If you want to set the property in code, be sure you add "ppTypes" to your uses clause.
Comments
Check out the TppReport.PreviewFormSettings.WindowState property. Setting
this property to wsMaximized will cause the preview form to load maximized
by default. This is a published property so it is available in the Delphi
Object Inspector. If you want to set the property in code, be sure you add
"ppTypes" to your uses clause.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks alot.