vb.net - How to change the button`s name on Mouse Hover -


q- when 'mouse hover action' used button (n.b: button has name-text shows under properties- wish change name when mouse hovers on change font color of textfield (textbox) blue red). please can you`ll me change name of button component , color issue.

code attempt: (visual basic 10 express)

public class form1    private sub button1_mousehover(byval sender object, byval e eventargs) handles button1.mousehover       button1.name("about go red")     end sub  end class 

when click buttton in properties, there icon looking lightning bolt events. click icon, , search event mousehover

as don't know if mean design name, or text shows.

for text:

    private sub button1_mousehover(sender object, e eventargs) handles button1.mousehover       button1.text = r.next(0, 10) end sub 

for name:

private sub button1_mousehover(sender object, e eventargs) handles button1.mousehover     button1.name = r.next(0, 10) end sub 

ofcourse can edit r.next thing want.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -