[Lazarus] lfm file format

Michael Van Canneyt michael at freepascal.org
Sun Apr 6 21:03:21 CEST 2014



On Sun, 6 Apr 2014, Marc Santhoff wrote:

>>> by a generator program. If there is any existing code that can be reused
>>> it would be very helpful.
>>
>> This is too vague. What do you want to achieve?
>
> I'm thinking about a programm that:
> - opens a database
> - generates form and source for each table
> - uses mapping db-type -> gui component
> - uses configuration
>
> If you ever used the "Database Form Wizard/Assistant" of Openoffice you
> know what I want. Not exctly that way, but in result a basic form that
> can be trimmed to fit by hand afterwards.

Yes !

Please consider donating that to Lazarus :)

If you do, here some ideas:
- Allow both grid/detail form.
- Let the user control to some extent the kind of control that is generated.
- Having the ability to specify lookup controls for foreign key fields are important.
   That may include creating a new dataset that fetches data from the referenced table.

I have created such a wizard for Delphi (closed source) and it really helps creating 
forms very quickly. Having this available in Lazarus would be a real asset.

Michael.




More information about the Lazarus mailing list