We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hover over reset

Thread ID:

Created:

Updated:

Platform:

Replies:

1009 Sep 12,2002 08:40 PM UTC Sep 13,2002 09:53 PM UTC WinForms 2
loading
Tags: GridControl
Andre King
Asked On September 12, 2002 08:40 PM UTC

Hi again. Is there a way to reset the hover-over event without leaving the databoundgrid control? Ideally we would like the hover over to reset when leaving the current (hover) cell. Right now, we hae to move the mouse off the control before the hover-over will re-fire. Thanks for the swift and extensive help this week - it looks like we will be able to send a product demo to our customer tomorrow because of quality of your support.

Clay Burch [Syncfusion]
Replied On September 13, 2002 09:45 PM UTC

> Hi again. Is there a way to reset the hover-over event without leaving the databoundgrid control? Ideally we would like the hover over to reset when leaving the current (hover) cell. Right now, we hae to move the mouse off the control before the hover-over will re-fire. > Thanks for the swift and extensive help this week - it looks like we will be able to send a product demo to our customer tomorrow because of quality of your support.

Clay Burch [Syncfusion]
Replied On September 13, 2002 09:53 PM UTC

Sorry for the delay in getting to this question. I don't know of a way to reset the hover timer. But you can simulate this functionality by handling the grid's MouseMove event and adding your own timer. In the MouseMove event, you keep track of the cell that the mouse is over. When this cell changes, you enable the timer so it will fire in your desired hover delay. If the timer fires, then that is your hover event. In the timer event, you do your hover code and disable the timer. It will remain disabled until the next mousemove resets it (when the mouse moves over a different cell). Attached is a sample project that implements this scheme. Now if you don't want to have any delay, you can do without the timer, and just note when the MouseMove event hits a new cell as your 'hover event'.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;