On Thu, 2 Nov 2006, Felipe Monteiro de Carvalho wrote:

> On 11/2/06, DarekM <[EMAIL PROTECTED]> wrote:
> > uses
> > {$IFDEF XHTML}
> > xlForm,
> > ...
> > {$ELSE}
> > form, controls,
> >
> > {$ENDIF}
> 
> This can be good to start with, but the ideal way would be to create a
> new interface for Lazarus. This way you don't need any IFDEFs and can
> use the form designer, etc.
> 
> The process of creating a new widgetset is documented here:
> 
> http://wiki.lazarus.freepascal.org/LCL_Internals

For Intraweb, a new widgetset won't cut it.

The problem is that at design-time, you need to display the regular 
components on a form, and at runtime you need to emit HTML code.
And all this in such a way that the run-time code does not contain any
GUI widget set dependent code.

The approach of Darek is one approach. Another approach would be to
construct proxy components.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to