📄 visiblevparent.zul
字号:
<zk>
<window position="center" id="win" title="Parent" border="normal" width="350px"
sizable="true" mode="overlapped">
Here is a parent window.
<window top="50px" left="50px" id="child" title="Child"
border="normal" width="300px" sizable="true" mode="overlapped">
Here is a child window.
</window>
</window>
<hbox>
<vbox>
<button label="Parent Modal" onClick="win.doModal();" />
<button label="Parent Overlap" onClick="win.doOverlapped();" />
<button label="Parent Popup" onClick="win.doPopup();" />
<button label="Parent Embed" onClick="win.doEmbedded();" />
<button label="Parent Visible: True" onClick="win.setVisible(true);" />
<button label="Parent Visible: False" onClick="win.setVisible(false);" />
</vbox>
<vbox>
<button label="Child Modal" onClick='((Window)win.getFellow("child")).doModal();' />
<button label="Child Overlap" onClick='((Window)win.getFellow("child")).doOverlapped();' />
<button label="Child Popup" onClick='((Window)win.getFellow("child")).doPopup();' />
<button label="Child Embed" onClick='((Window)win.getFellow("child")).doEmbedded();' />
<button label="Child Visible: True" onClick='((Window)win.getFellow("child")).setVisible(true);' />
<button label="Child Visible: False" onClick='((Window)win.getFellow("child")).setVisible(false);' />
</vbox>
</hbox>
</zk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -