lazarus/components/dbexport/demo/stdexports
2022-05-01 08:45:46 +00:00
..
export.xpm
firstnames.txt
frmmain.lfm
frmmain.pp
gendata.pp
lastnames.txt
README.txt
stdexports.ex-meta
stdexports.lpi
stdexports.lpr
testdata.dbf
testdata.mdx

This directory contains a demonstration program for the dbase
export components.

The dbexport_demo example contains a similar program which demonstrates how
to work with the export components directly. 

Both programs work on a DBase data file. The File|New menu
can be used to create a new data file (it is saved at once,
a filename is asked) or the File|Open can be used to load
(any) Dbase file.

You can configure the components as you wish, at runtime the 
design-time settings will be used. (unless the user changes them
with the dialog)

When the 'show config dialog' menu option is set in the program,
exporting will first show the configuration dialog, so the
export can be configured at runtime by the user. This is a generic dialog,
so it may not be the summit of ease-of-use.

This (stdexports) program demonstrates how the automatic
registration routines (TStandardExportFormats component) work in 
conjunction with the TFPDataExporter component. The former controls
which export formats are registered (and hence visible to the end 
user), the second shows a selection and configuration dialog.

The set of registered formats can be set at design time, only the
selected formats will be available to the end user.

Note that currently, only data that can be represented in text format
can be exported, i.e., blobs will not work (unless they contain text).