  | |  | The sad tale of the v2 button component and its icon | The sad tale of the v2 button component and its icon
2004-02-24 - By Aral Balkan
Back As I had posted earlier, the v2 component framework in very inadequate when
it comes to handling icons in a manner suitable for application work. In my
previous post I had a workaround to hack a button component to display
different icon states without skinning it. Now I 'm trying something else, so
as to better encapsulate this functionality and improve the workflow but, as
usual, the amazing architecture is not making it easy. Here 's the question:
When I add an icon to a button component, its class does not get initiated
when the icon is added to the button, even though I 've specified it in the
Linkage properties. Hunch: Somewhere, it must be executing an
Object.registerClass to override the setting at author time.
If I set up a frame loop to register the class back, I get traces from the
constructor when I mouse over the button (from instance name "fui ") and
click it (instance name "fdi ").
Any ideas?
Aral
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:105036
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |