03-05-2008 11:34 AM
03-05-2008 12:58 PM
earlevel wrote:
I tried casting to more specific type on the CtlRef--to a ring ref--but that didn't fix it.
03-05-2008 01:11 PM
@tst wrote:You should have gone the other way. When you have an event common to several types of controls, the CtlRef terminal will use the class common to all those controls, so you should cast the references to the more generic class. The cleaner solution, however, is to use the equal node to compare the array of references to the CtlRef terminal and then search the resulting array for T.