一个toolbar和statusbar结合的问题
鼠标指到toolbar的某个button时,怎样在statusbar中显示对应这个button的提示信息 问题点数:50、回复次数:5Top
1 楼jamzh(Show me the money!!!)回复于 2004-09-03 10:01:16 得分 0
帮你顶Top
2 楼yingshis(英石)回复于 2004-09-03 10:04:49 得分 0
我感觉toolbar的mousemove和mouseenter事件不能返回具体的按钮,
所以无法在statusbar中显示出对应按钮的提示信息。
Top
3 楼The123(Shall We Dance? :))回复于 2004-09-03 10:24:17 得分 50
不要用toolbar自己的Butoon(System.Windows.Forms.ToolBarButton)
在toolbar上放System.Windows.Forms.Button。
在butoon的move 事件里就可以处理了
private void button1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
statusBar1.Text = ......
}
Top
4 楼Canbus()回复于 2004-09-03 10:26:21 得分 0
没用过,不过如何用自已的button应该比较容易点。Top
5 楼kongwzg(公用电话)回复于 2004-09-03 13:38:21 得分 0
没人知道吗Top




