Hover on Button
-
Does anyone know how to do a hover on a button that displays what the button does like the toolbar does with the text property.
-
Does anyone know how to do a hover on a button that displays what the button does like the toolbar does with the text property.
I'm not sure I understand. Could you clarify?
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Goof around music jam with my brothers (with video) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Does anyone know how to do a hover on a button that displays what the button does like the toolbar does with the text property.
Hook up the mouse hover event of the button and add a tool-tip. Sample code: hook up the event -
this.button1.MouseHover += new System.EventHandler(this.button1_MouseHover);
define the handler -private void button1_MouseHover(object sender, System.EventArgs e) { ToolTip obTool = new ToolTip(); obTool.SetToolTip( button1, "This would Cancel the form"); }
-
Does anyone know how to do a hover on a button that displays what the button does like the toolbar does with the text property.
-
Does anyone know how to do a hover on a button that displays what the button does like the toolbar does with the text property.
Thanks - the tooltip works great. Much appreciated.