[lazarus] Setting a value using RTTI

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Sat Dec 2 09:20:16 EST 2000




On Fri, 1 Dec 2000, Shane Miller wrote:

> If you are going to add a 
> 
> procedure SetProp(Instance: TObject; const PropName: string;const Value: string);
> 
> can you add a 
> procedure SetSetProp(Instance: TObject; Index : Intger;const Value: string);
> 
> That way I don't have to do a thing!  :-)

I'll keep it in mind :-)

> 
> I have TComponentInterface setup to set Boolean, Integers, Floats, Methods and strings.  
> The functions seem to work but setting certain properties seems to fail.

There were some issues setting string properties, but these should be
solved in the snapshots I think; release 1.0.4 may solve these.

Michael.






More information about the Lazarus mailing list