[fpc-pascal] TFPColor vs TColor
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue May 5 13:36:22 CEST 2009
On Tue, 5 May 2009 13:15:02 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> On Tue, May 5, 2009 at 1:08 PM, Vincent Snijders
> <vsnijders at vodafonevast.nl> wrote:
> >
> > Under what circumstances are properties of fpGUI classes streamed
> > when LCL-fpGUI is developed?
>
> I haven't delved much into the LCL widgetset internals, so I might
> have this wrong. I would have thought streaming will occur when the
> properties of fpGUI components (TfpgForm, TfpgButton etc) are being
> set when a LCL-fpGUI based form (*.lfm) is loaded?
No.
Only the widgetset independent LCL properties are set. The LCL
interfaces then reads/sets the widgetset properties.
fpgui needs published properties when you want to edit components
visually. At the moment lazarus has designers for lcl TFrame, lcl
TForm and fcl TDataModule. Maybe someday you want to add a designer for
fpgui forms. hint, hint ;)
The object inspector, property editors and component editors work with
TComponent, so they already work with fpgui forms/controls.
Mattias
More information about the fpc-pascal
mailing list