views:

67

answers:

1

Hi all,

in Lazarus on Linux, I registered a class as a component, so that I can drop it on a form.

Works like a charm, except that the properties that I can publish are limited to simple types like strings and integers.
Whenever I try to publish a property like a TStringList or a TImage, it raises an 'Access Violation' when I click on it in the object inspector.

I compared my code with the standard components, but I can't see what they're doing differently.

So what are the additional steps necessary to use such properties in the object inspector?

A: 

I think this is about the same as in Delphi, for complex types to be used designtime there needs to be designtime code that handles showing/editing them.

Marco van de Voort
Can you point me to some documentation about this? None of the documentation I read so far mentions anything about special handling of complex types. :(
lyle