On Tue, 04 Dec 2007 02:55:02 +0100
Marc Santhoff <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> what is the convention for returning unset published properties when
> making a component?
> 
> For numerical values it is 0 or eventually a default value, but how
> about strings? Should an empty string be returned or a NIL pointer?
> 
> I'm mostly thinking of property editors and the object inspector here.

An empty string is the same as nil for RTTI.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to