PDA

View Full Version : altering component parameters to update live preview


finty
04-10-2006, 05:51 PM
I am creating a few components that extend some of the existing GUI components. One in particular inherits from the label class. I have created a live preview that contains a regular label component and I am updating it using the onUpdate() function and accessing my custom component's parameters using 'xch.autoSize' for example.

My problem is that, although the live preview initializes using all of my custom component parameters, subsequent changes I make to these parameters don't all affect the live update. For example, altering the text color and the text content are fine but autosize, fontFamily, and fontSize don't update even though I am using the same technique (i.e. i am using xch.parameter_name for all of them).

what am I not doing?

thanx in advance