Edward,

At a guess, your object is a descendent of TComponent.  The default
behaviour of the object inspector is to display a combobox of compatible
components for the property.  Furthermore, when the form is saved to a DFM
file, only a reference to the component is saved.

If you changed your object to derive from TPersistent instead, the object
inspector will expand it like the TFont, etc objects.

Regards,
Dennis.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 23 July 2001 16:36
> To: Multiple recipients of list delphi
> Subject: [DUG]: Property Editor for an object
>
>
> Hi, All,
>
> I think it's a easy question...
>
> In object inspector, we can expand properties like 'Font', 'Constraints'
> etc, and set property for these objects.
>
> How can I let Delphi to expand my own object property like them?
> At moment,
> a customised object property comes up a dropdown box with no options to
> select.
>
> Thanks,
>
> Edward
>
> ------------------------------------------------------------------
> ---------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to