当鼠标移到Button上,回显示一些字,提示用户的。

wjohen 2003-09-12 03:18:49
我记得Delphi,VC的按钮都有这个属性的,C#中有吗? 是什么属性?
...全文
421 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
BLGT 2003-09-12
  • 打赏
  • 举报
回复
用控间tooltip
zhongwanli 2003-09-12
  • 打赏
  • 举报
回复
是呀,tooltip
「已注销」 2003-09-12
  • 打赏
  • 举报
回复
按钮的属性ToopTip写上你要显示的内容就可以了.
没有必要那么麻烦的啊.
project 2003-09-12
  • 打赏
  • 举报
回复
放一个ToolTip控件在Form上,相应的控件就会多一个ToolTip属性.往里面写值就可以了.
cnhgj 2003-09-12
  • 打赏
  • 举报
回复
tooltip
storm97 2003-09-12
  • 打赏
  • 举报
回复
给你的窗体添加一个ToolTip;然后你在Button的属性业中可以看到多了一个属性
假设你的ToolTip叫做toolTip1,那么它就叫做"toolTip1上的toolTip";
直接给他添加值就可以了。
storm97 2003-09-12
  • 打赏
  • 举报
回复
给你的窗体添加一个ToolTip;然后你在Button的属性业中可以看到多了一个属性
假设你的ToolTip叫做toolTip1,那么它就叫做"toolTip1上的toolTip";
直接给他添加值就可以了。
jjcccc 2003-09-12
  • 打赏
  • 举报
回复
从工具箱中拖一个Tooltip控件到在Form上,然后:
this.toolTip1.SetToolTip(this.button1, "This a button");
brightheroes 2003-09-12
  • 打赏
  • 举报
回复
打错了,tooltip
brightheroes 2003-09-12
  • 打赏
  • 举报
回复
一般来说toolbar有这个功能
windsoft 2003-09-12
  • 打赏
  • 举报
回复
放個tooltip控件
然後在button的屬性裡就有個tooltip on ...
提取,编辑和轻松评估XPath查询。 XPath的助手很容易提取,编辑,并在任何网页评估XPath查询。 重要提示:安装此扩展后,必须重新加载任何现有的选项卡或重新启动Chrome浏览器扩展工作。 说明: 1.打开一个新的标签,并导航到任何网页。 2.按Ctrl-Shift键-X(或OS X命令移-X),或单击工具栏上的XPath的助手按钮,以打开XPath助手控制台。 3.按住Shift键将鼠标悬停在页面上的元素。查询框将不断更新,以显示鼠标指针下方的元件XPath查询,结果框将显示当前查询的结果。 4.如果需要,请在控制台直接编辑XPath查询。结果框会立即反映更改。 5.重复步骤(2)关闭控制台。 如果控制台在你的方式获得,按住Shift键,然后将鼠标移动到它; 它会移动到页面的相对侧。 一个忠告:当渲染HTML表格,浏览器插入人工标记到DOM,这将在随后通过该扩展提取查询显示出来。 Extract, edit, and evaluate XPath queries with ease. XPath Helper makes it easy to extract, edit, and evaluate XPath queries on any webpage. IMPORTANT: After installing this extension, you must reload any existing tabs or restart Chrome for the extension to work. Instructions: 1. Open a new tab and navigate to any webpage. 2. Hit Ctrl-Shift-X (or Command-Shift-X on OS X), or click the XPath Helper button in the toolbar, to open the XPath Helper console. 3. Hold down Shift as you mouse over elements on the page. The query box will continuously update to show the XPath query for the element below the mouse pointer, and the results box will show the results for the current query. 4. If desired, edit the XPath query directly in the console. The results box will immediately reflect your changes. 5. Repeat step (2) to close the console. If the console gets in your way, hold down Shift and then move your mouse over it; it will move to the opposite side of the page. One word of caution: When rendering HTML tables, Chrome inserts artificial tags into the DOM, which will consequently show up in queries extracted by this extension.

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧