[fpc-pascal] SetPropValue doesn't convert string to enum

Joao Morais post at joaomorais.com.br
Wed Nov 15 20:11:06 CET 2006


Hello,

I am converting an application framework to FPC/Lazarus and I have 
observed that SetPropValue doesn't convert, e.g., 'False' string to the 
False enum value if my property is a boolean datatype. The same happens, 
of course, with user defined enumerations.

Am I using the wrong procedure or using a mistaken approach?

Thanks,
--
Joao Morais



More information about the fpc-pascal mailing list