How to fix the event delay

前端 未结 2 825
余生分开走
余生分开走 2020-12-11 12:38

I\'m making a table reservation system for a school project, and I\'m using a list of PictureBoxes to represent the tables. To these PictureBoxes I have linked a hover event

2条回答
  •  轮回少年
    2020-12-11 13:05

    If you want to trigger event immediately, use MouseEnter event instead. By design your mouse should stay stationary for some time for MouseHover event to fire.

    BTW SystemInformation.MouseHoverTime holds that delay for MouseHover event.

提交回复
热议问题