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

📄 anchortest.xml

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 XML
字号:
<Application>	<Window caption="Anchor Test" width="300" height="300"/>	<Resources>		<Script><![CDATA[function getRandomValue(nLow, nHigh) {	return Math.random() * (nHigh - nLow) + nLow;}function getRandomColor() {	return "rgb(" + Math.round(getRandomValue(0,255)) + "," +		Math.round(getRandomValue(0,255)) + "," +		Math.round(getRandomValue(0,255)) + ")";}function AnchorTest() {	var win = application.getWindow();	var topLeft = new BiComponent; topLeft.setBackColor(getRandomColor());	var topCenter = new BiComponent; topCenter.setBackColor(getRandomColor());	var topRight = new BiComponent; topRight.setBackColor(getRandomColor());	var middleLeft = new BiComponent; middleLeft.setBackColor(getRandomColor());	var middleCenter = new BiComponent; middleCenter.setBackColor(getRandomColor());	var middleRight = new BiComponent; middleRight.setBackColor(getRandomColor());	var bottomLeft = new BiComponent; bottomLeft.setBackColor(getRandomColor());	var bottomCenter = new BiComponent; bottomCenter.setBackColor(getRandomColor());	var bottomRight = new BiComponent; bottomRight.setBackColor(getRandomColor());	var center2 = new BiLabel("Nested"); center2.setBackColor(getRandomColor());	topLeft.setLeft(5);	topLeft.setTop(5);	topLeft.setWidth(20);	topLeft.setHeight(20);	topCenter.setLeft(25);	topCenter.setRight(25);	topCenter.setTop(5);	topCenter.setHeight(20);	topRight.setRight(5);	topRight.setTop(5);	topRight.setWidth(20);	topRight.setHeight(20);	middleLeft.setLeft(5);	middleLeft.setTop(25);	middleLeft.setBottom(25);	middleLeft.setWidth(20);	middleCenter.setLeft(25);	middleCenter.setRight(25);	middleCenter.setTop(25);	middleCenter.setBottom(25);	middleRight.setRight(5);	middleRight.setTop(25);	middleRight.setBottom(25);	middleRight.setWidth(20);	bottomLeft.setLeft(5);	bottomLeft.setBottom(5);	bottomLeft.setWidth(20);	bottomLeft.setHeight(20);	bottomCenter.setLeft(25);	bottomCenter.setRight(25);	bottomCenter.setBottom(5);	bottomCenter.setHeight(20);	bottomRight.setRight(5);	bottomRight.setBottom(5);	bottomRight.setWidth(20);	bottomRight.setHeight(20);	center2.setLocation(25, 25);	center2.setRight(25);	center2.setBottom(25);	win.add(topLeft);	win.add(topCenter);	win.add(topRight);	win.add(middleLeft);	win.add(middleCenter);	win.add(middleRight);	win.add(bottomLeft);	win.add(bottomCenter);	win.add(bottomRight);	middleCenter.add(center2);}AnchorTest.main = function () { new AnchorTest(); };		]]></Script>	</Resources></Application>

⌨️ 快捷键说明

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