|Subclassing Text [message #778951]
||Sat, 14 January 2012 02:52
| Timothy Vogel
Registered: July 2009
I need to provide default behavior on all text fields in an application. Examples are selectAll() on gainFocus and restriction to a subset of keys.|
My first approach was to build a class hierarchy anchored on Text but it is marked @noextend. The only other way I can come up with is to add the code to each control individually or in a loop. This appears to me to be very non-OO and difficult to support.
Can anyone educate me on the reason that Text is marked @noextend? A link to existing discussion would be great.
Thanks for taking the time to read my question!
Powered by FUDForum
. Page generated in 0.01577 seconds