Hello Lazarus-List,

All objects in the widgetset interface TWSxxxxx has the "class
procedure" under the published section like:

TWSBitBtn = class(TWSButton)
published
  class procedure SetGlyph(const ABitBtn:...........
  class procedure SetLayout(const ABitBtn:..........
  class procedure SetMargin(const ABitBtn:..........
  class procedure SetSpacing(const ABitBtn:.........
end;

Is there any reason to be published instead public ? Maybe to garantee
that the functions will never be removed by fpc/linker if not directly
used in the code ?

-- 
Best regards,
 José


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to