On Sun, 2011-01-16 at 11:30 +0100, Mattias Gaertner wrote: > > Graeme must write for every component dedicated IDE integration > > code AFAIK. > > Not dedicated IDE, but dedicated streaming code. The LCL must do the > same, for example TBitmap.Data.
Like I mentioned before, fpGUI doesn't use the built-in streaming features of the RTL. fpGUI's property editors each know how to read or write it's data. fpGUI handles images differently, so there is no need for a Image1.Data property. In fpGUI you register images with framework, then simply reference those images by name. This also has the benefit that it reuses images (reducing the memory footprint). > Graeme, how does the fpgui writer support circles? > For example: > > object Edit1: TEdit > AnchorSideLeft.Control = Label1 > end > object Label1: TLabel > AnchorSideTop.Control = Edit1 > end fpGUI doesn't have such properties, so those would fall under the "unknown lines" memo and simply get ignored by the UI designer. Then when you compile your project, any forward declaration will have to be added in code. -- Regards, - Graeme - -------------------------------------------------------------- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
