Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-11

SetPropValue doesn't convert string to enum

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joao Morais

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