[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'typinfo' (#rtl)

TPropInfo

Record describing one published property of a class

Declaration

Source position: typinfo.pp line 199

type TPropInfo = packed record

  PropType: PTypeInfo;

  

Property type

  GetProc: Pointer;

  

Read handler

  SetProc: Pointer;

  

Write handler

  StoredProc: Pointer;

  

Procedure pointer for stored keyword.

  Index: Integer;

  

Index for array properties

  Default: LongInt;

  

Default value

  NameIndex: SmallInt;

  

Index for indexed properties

  PropProcs: Byte;

  

Flags describing property procedures.

  Name: ShortString;

  

Property name

end;

Description

The TPropInfo record describes one published property of a class. The property information of a class are stored as an array of TPropInfo records.

The Name field is stored not with 255 characters, but with just as many characters as required to store the name.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.