VB.net - Mousehover not sensitive -
i made picturebox change if mover on image takes long. can me please? here's code:
private sub button2_mousehover(sender object, e eventargs) handles button2.mousehover button1.visible = true button2.visible = false end sub private sub button1_mouseleave(sender object, e eventargs) handles button1.mouseleave button1.visible = false button2.visible = true end sub thanking in advance
if want adjust time mouse must pause on image, docs say;
a typical use of
mousehoverdisplay tool tip when mouse pauses on control within specified area around control (the "hover rectangle"). pause required event raised specified in millisecondsmousehovertimeproperty.
to achieve that, change value of systeminformation.mousehovertime in code.
alternatively, has commented, use mouseenter event instead, trigger instantly.
Comments
Post a Comment