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

📄 tooltiptest3.xml

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 XML
字号:
<?xml version="1.0"?><!--	This uses the toolTipText property instead--><Application>	<Window caption="Tool Tip Test 3" width="300" height="200"/>	<Resources>		<Script><![CDATA[function ToolTipTest3() {	var win = application.getWindow();	var c = new BiLabel;	var cb = new BiCheckBox;	var cb2 = new BiLabel;	var tt2 = new BiToolTip;	var tt3 = new BiToolTip;	this._label = c;	this._checkBox = cb;	c.setText("Both this label and the application window have " +		"tool tip texts set");	//c.setTabIndex(1);	c.setWrap(true);	c.setPadding(2);	c.setBackColor("Window");	c.setBorder(new BiBorder(1, "solid", "ThreeDDarkShadow"));	c.setLocation(5,5);	win.add(c);	cb.setText("Checkbox with tool tip");	cb.setLeft(5);	win.add(cb);	c.setToolTipText("Tool tip for component");	win.setToolTipText("No more rich\ntool tips in this demo");	cb.setToolTipText("Tool tip for checkbox");	win.addEventListener("resize", this.doLayout, this);	this.doLayout();}ToolTipTest3.prototype.doLayout = function () {	var w = application.getWindow().getClientWidth() - 10;	this._label.setWidth(w);	this._checkBox.setTop(this._label.getTop() + this._label.getHeight() + 5);	this._checkBox.setWidth(w);};ToolTipTest3.main = function () { new ToolTipTest3; };		]]></Script>	</Resources></Application>

⌨️ 快捷键说明

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