?? z35-panel-001.zul
字號:
<window>
<panel id="p1" width="500px">
<panelchildren>
Change view: Click following buttons and it should work well.
</panelchildren>
</panel>
<button label="Change title">
<attribute name="onClick">
if(p1.title=="")
p1.setTitle("Panel Component");
else
p1.setTitle("");
</attribute>
</button>
<button label="Change border">
<attribute name="onClick">
if(p1.border=="none")
p1.setBorder("normal");
else
p1.setBorder("none");
</attribute>
</button>
<button label="Change framable">
<attribute name="onClick">
p1.framable=!p1.framable;
</attribute>
</button>
<button label="Change width and height">
<attribute name="onClick">
if(p1.width.equals("500px")) {
p1.setWidth("700px");
p1.setHeight("300px");
} else {
p1.setWidth("500px");
p1.setHeight("150px");
}
</attribute>
</button>
</window>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -