[fpc-devel] extending platform flag request

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Sep 28 08:54:47 CEST 2007


On 27/09/2007, Павел Ишенин <webpirat at mail.ru> wrote:
>
> TMenu = class(...)
> published
>   property Detachable: Boolean read ... write ... ; platform carbon qt;
> { or it can be platform 'carbon,qt' or another easier way }
> end;

So using this example:  Detachable property information will be
written to the lfm file for carbon and qt platforms. What is going to
happen if that lfm file is loaded (as in x-platform applications)
under a Windows or Linux-GTK system?  "Unknown property error" on load
in Lazarus??? And when saved under the later platforms, Lazarus will
auto remove that unknown property from the lfm file like it does with
other unknown properties?


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/


More information about the fpc-devel mailing list