Subject Re: [IBO] new AutoLabel property for TIB_Edit
Author Nando Dessena
Tobias,

> > Possibly the properties could be an array,
> > like a Font property. Just have a main
> > property AutoLabel, and under that have:
> > Position
> > Suffix
> > Spacing
> > etc.....
>
> Very nice idea, but TFont is NOT an array. It's a complex object in its own
> right, and my first efforts show that this will be difficult to do.
> Basically I have no idea how it must be done ;=( I'll see if I can find out.

TFont is a TPersistent, so all is taken care of by the streaming system;
you just have to create one in your constructor, publish it as a
property and add a setter method which does an Assign. The VCL is full
of sample code about this issue.
Also, you could make your own "label-options-object" a TPersistent
descendant, as someone suggested, so all the subproperties would be
displayed as a drill-down list.
HTH
--
____
_/\/ando