{$ifdef fpc} {$mode delphi} {$endif} {$r-} uses SysUtils, Classes, TypInfo, Variants; type TBla = class(TPersistent) private fBool: Boolean; fint: integer; published property Bool: Boolean read fBool write fBool; property int: integer read fint write fint; end; begin SetPropValue(TBla.Create, 'Bool', 'true'); end.