>After creating a property of type TStrings ( or TStringList for that matter ) for a 
>component 
>compiling and installing it, and then trying to edit the property in designtime, upon 
>clicking the 
>ellipsis I get the runtime error

>  "Cannot assign a nil to a TRicheditstrings"

>I understand that TRicheditstrings is declared in Comctrls and handles the "lines" 
>property.

Just a guess but the process of starting the property editor for TStrings assigns the 
value
returned from your components getproperty to aTRichEditStrings in the property 
editor...

It's likely that either
1. You've not created the TStrings for the property editor to copy from

or

2. The result of your TStringList.Create was not assigned to your properties storage 
location
or not being returned by your GetProperty read specifier.

--
Aaron@home


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to