[Lazarus] LazReport feature request
giuliano.colla at fastwebnet.it
Fri Nov 22 12:44:25 CET 2013
Jesus Reyes ha scritto:
> El Jueves, 21 de noviembre, 2013 6:10:55, Giuliano Colla <giuliano.colla at fastwebnet.it> escribió:
>> Dealing with inexperienced users, I would need to set the DefaultDir and
>> Filename of the file dialog to something meaningful by the application
>> point of view.
>> Is that already possible, setting some TfrReport properties I've been
>> unable to find, or it would be necessary to patch LazReport by providing
>> additional public properties, or providing overloaded versions of
>> ShowReport and ShowPreparedReport, with additional parameters?
>> Thanks for any hint.
> You can use the Report.ExportFileName field for selecting the default file name the dialog will use on exporting. In addition, passing a filename with extension will make an initial selection of export filter.
> Setting the initial directory was not implemented, is now in r43471, the file path extracted from the FileName is used.
Before activating the tongue, make sure that the brain is connected
More information about the Lazarus