How to determine if the mouse cursor is inside a control

前端 未结 3 592
梦如初夏
梦如初夏 2021-02-04 06:22

I\'m adding support for mouse wheel movement to a TScrollBox (using the FormMouseWheel procedure) and I need to determine if the mouse is inside the component.

Basically

3条回答
  •  鱼传尺愫
    2021-02-04 06:49

    My Delphi knowledge is a bit rusty, but shouldn't there be MouseEnter, MouseLeave events? A quick google showed this. Does that help you?

提交回复
热议问题