Recent

Author Topic: Property is published, but not in Object Inspector  (Read 5496 times)

Zoran

  • Hero Member
  • *****
  • Posts: 1974
    • http://wiki.lazarus.freepascal.org/User:Zoran
Property is published, but not in Object Inspector
« on: March 07, 2010, 08:30:13 am »
In TForm's class definition (unit Forms) there is property "LCLVersion", declared in published section.

Code: [Select]
property LCLVersion: string read FLCLVersion write FLCLVersion stored LCLVersionIsStored;

When designing the Form in Lazarus IDE, this property does not appear in Object Inspector!

In Form's .lfm file, however, this property appears regularly:

Code: [Select]
object Form1: TForm1
...
  LCLVersion = '0.9.29'
...

I thought that published section means -- appears in Object Inspector.
My question is -- how can a published property be excluded from Object inspector?
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

eny

  • Hero Member
  • *****
  • Posts: 1648
Re: Property is published, but not in Object Inspector
« Reply #1 on: March 07, 2010, 08:44:22 pm »
Maybe it's ignored by Lazarus because of it's special purpose.
Nevertheless I'm interested in the anser as well.
All posts based on: Win10 (Win64); Lazarus 3_4  (x64) 25-05-2024 (unless specified otherwise...)

 

TinyPortal © 2005-2018