messagebox.zul

来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· ZUL 代码 · 共 48 行

ZUL
48
字号
<?xml version="1.0" encoding="UTF-8"?><?page title="ZK Test" language="xul/html"?><!--test.zul{{IS_NOTE	Purpose:		View the specified subject.	Description:			History:		Mon May 30 19:13:47     2005, Created by tomyeh}}IS_NOTECopyright (C) 2005 Potix Corporation. All Rights Reserved.{{IS_RIGHT	This program is distributed under GPL Version 2.0 in the hope that	it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT--><window title="${arg.title}" border="normal" width="250pt" closable="true"use="org.zkoss.zul.impl.MessageboxDlg">	<hbox>		<image src="${arg.icon}"/>		<label multiline="true" hyphen="true" maxlength="40">			<attribute name="value">${arg.message}</attribute>		</label>	</hbox>	<separator bar="true"/>	<hbox style="margin-left:auto; margin-right:auto">	<button identity="${arg.OK}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.OK}"/>	<button identity="${arg.CANCEL}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.CANCEL}"/>	<button identity="${arg.YES}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.YES}"/>	<button identity="${arg.NO}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.NO}"/>	<button identity="${arg.RETRY}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.RETRY}"/>	<button identity="${arg.ABORT}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.ABORT}"/>	<button identity="${arg.IGNORE}" width="45pt" use="org.zkoss.zul.impl.MessageboxDlg$Button"		if="${!empty arg.IGNORE}"/>	</hbox></window>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?