2013-02-06 1 views

답변

0

은 기본적으로 당신은 최상위 창을 닫을 때

예를 들어,

<zk> 
    <window mode="overlapped" title="win one" border="normal" width="200px" height="150px"> 
    <attribute name="onMove"><![CDATA[ 
     ((Label)self.getFirstChild()).setValue("My Zindex is the highest one"); 
     ((Label)self.getNextSibling().getFirstChild()).setValue(""); 
    ]]></attribute> 
    <attribute name="onClick"><![CDATA[ 
     ((Label)self.getFirstChild()).setValue("My Zindex is the highest one"); 
     ((Label)self.getNextSibling().getFirstChild()).setValue(""); 
    ]]></attribute> 
    <label value="" /> 
    </window> 
    <window mode="overlapped" title="win two" border="normal" width="200px" height="150px"> 
    <attribute name="onMove"><![CDATA[ 
     ((Label)self.getFirstChild()).setValue("My Zindex is the highest one"); 
     ((Label)self.getPreviousSibling().getFirstChild()).setValue(""); 
    ]]></attribute> 
    <attribute name="onClick"><![CDATA[ 
     ((Label)self.getFirstChild()).setValue("My Zindex is the highest one"); 
     ((Label)self.getPreviousSibling().getFirstChild()).setValue(""); 
    ]]></attribute> 
    <label value="" /> 
    </window> 
</zk> 
+0

그러나, 등 무엇을 최소화됩니까, 윈도우가 온 클릭하고 onMove 동안 가장 상단 하나가 알 수 있습니까? – bidifx

+1

쉬운 방법이 없으며, 모든 창을 가져 와서 비교할 필요가 있습니다. zIndex – benbai123