⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groupboxtest.xml

📁 在流览器上仿CS界面的JAVASCRIPT脚本
💻 XML
字号:
<?xml version="1.0"?><!--	Basic test app to show the group box. This should pick up the look and feel	from the operative system--><application>	<window caption="Group Box Test" width="300" height="300"/>	<resources>		<script><![CDATA[function GroupBoxTest() {	var win = application.getWindow();	var gb = new BiGroupBox("Hello World");	gb.setLocation(5,5);	gb.setRight(5);	gb.setBottom(5);	win.add(gb);	var gbt = gb.getGroupBoxTitle()	gbt.setIcon( new BiImage("images/folder.open.16.png") );	gb.setTitlePosition("right");	gbt.setToolTip(new BiToolTip("Click to change the titlePosition"));	gbt.setCursor("pointer");	var l = new BiLabel("Label added to the group box")	//l.setTop(10);	 // this behaves strangely	l.setPadding(3);	gb.add(l);	this._groupBox = gb;	gbt.addEventListener("click", function () {		gbt.setTitlePosition(			gbt.getTitlePosition() == "right" ? "left" : "right"		);	});}GroupBoxTest.main = function () { new GroupBoxTest(); };		]]></script>	</resources></application>

⌨️ 快捷键说明

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