[lazarus] Form structure by class reference?
Michael Van Canneyt
michael.vancanneyt at wisa.be
Fri Nov 7 12:17:42 EST 2003
On Fri, 7 Nov 2003, Tony Maro wrote:
> > -----Original Message-----
> > From: Mattias Gaertner [mailto:nc-gaertnma at netcologne.de]
> >
> > On Fri, 07 Nov 2003 09:30:07 -0600
> > Tony Maro <tony at maro.net> wrote:
> >
> > > Is it possible to discern the structure of a custom form
> > class without
> > > creating the form?
> > >
> >
> > (The codetools are capable to scan the lrs/lfm information
> > and to create a lfm source tree).
> >
> > What information do you need?
> >
>
> Well, I've got this bright idea of an ISAPI interface that would create
> HTML forms from simple Lazarus forms. So, what I'm after is what
> controls are on the form (label, text, checkbox, buttons, etc.) and the
> position so I can create an HTML form based on it. I might even create
> my own special visual components for dropping on a form that are
> especially suited to HTML formatting.
>
> I already have the ISAPI component basics completed but wanted an easier
> way to display the data on a webpage than hand-coding HTML for it.
>
> Since it's a console only app, I have no need to actually create the
> form, I just want to know how it's organized.
I think the best way is to make it XML.
There is a basic XML streamer for the FCL. It simply needs to be
put in Lazarus, so lazarus could stream/export the form to XML,
and you could analyze the XML.
(note: I don't propose to make this XML the default streaming format,
just an export...)
Michael.
More information about the Lazarus
mailing list