typeof

Rod Martin <[email protected]> Fri, 4 Apr 2003 14:42:02 -0500
Newsgroups gmane.comp.java.xwt.general
Organization Benshaw
Message-ID <[email protected]>
Is there currently a way to determine the name of a template in question?
ie. I'd like to do something like this:
if( typeof(somebox) == "button" ) { ...do something... }

Atm, typeof(somebox) simply returns 'object', which makes sense because boxes 
are objects.  Is there another command I could be using, or could typeof be 
overridden (is that even a word?) to implement something like this?

Rod

_______________________________________________
http://lists.xwt.org/listinfo/dev