I'm subclassing FormItem to have the whole form item (its properties
and its child controls) driven by a single piece of data I specify in
a property I've added to my derived FormItem.
In my custom property's setter, I store the custom data and call
invalidateProperties. I then do this:
override
: Friday, April 04, 2008 11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Changing a property inside of commitProperties?
I'm subclassing FormItem to have the whole form item (its properties
and its child controls) driven by a single piece of data I specify in
a property I've added
Why not just have the setter for myCustomData simply set 'label' and other
properties rather than doing this in commitProperties()?
Yeah, I could definitely do that... I was more interested in doing
things the right way, at least in line with convention, and my
impression of the convention
Sent: Friday, April 04, 2008 2:44 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Changing a property inside of
commitProperties?
Why not just have the setter for myCustomData simply set 'label' and
other
properties rather than doing this in commitProperties()?
Yeah, I could
4 matches
Mail list logo