hi all
talking about this testcase.

<canvas debug="true" width="100%" height="300">
    <debug width="350" height="200"/>
    <class name="myWindow" extends="window" width="150" height="100" >
        <command name="keyCommand" key="['Enter']">
            <handler name="onselect">
                Debug.write(classroot.name + " Enter command");
            </handler>
        </command>
    </class>

    <class name="myWindow2" extends="window" width="150" height="100" >
        <command name="keyCommand" key="['Enter']">
            <handler name="onselect">
                Debug.write(classroot.name + " Enter command");
            </handler>
        </command>
    </class>

    <simplelayout/>
    <myWindow name="win1" title="window 1"/>
    <myWindow2 name="win2"  title="window 2"/>
</canvas>

when i hit the enter button on canvas, both of the onselect events are being
called. Is it possible to make this call according to

-- 
Cem SONMEZ

Reply via email to