Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl: Check if a cell (row, column) is hovered.
ArrayCtrl: Check if a cell (row, column) is hovered. [message #45391] Thu, 05 November 2015 07:55 Go to next message
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
Is there is a way to check if a cell of an ArrayCtrl is being hovered or clicked by the mouse cursor?

I want to add a window with more information if the user hover a cell for 1 sec. Like A tool tip, except it will be a window with another ArrayCtrl. The content shown would depend on the row/column being hovered. For that I either need a way to know if the cell is being hovered, or at least if was clicked.
Re: ArrayCtrl: Check if a cell (row, column) is hovered. [message #45506 is a reply to message #45391] Wed, 25 November 2015 09:27 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
rxantos wrote on Thu, 05 November 2015 07:55
Is there is a way to check if a cell of an ArrayCtrl is being hovered or clicked by the mouse cursor?

I want to add a window with more information if the user hover a cell for 1 sec. Like A tool tip, except it will be a window with another ArrayCtrl. The content shown would depend on the row/column being hovered. For that I either need a way to know if the cell is being hovered, or at least if was clicked.


Clicked is easy, either WhenSel or WhenLeftClick.

Extending Tip after 1s is more tricky. I would likely used WhenMouseMove and add timing logic to that.
Previous Topic: Setting the text Color of the Headercontrol
Next Topic: ArrayCtrl: Grid
Goto Forum:
  


Current Time: Fri Mar 29 12:48:46 CET 2024

Total time taken to generate the page: 0.01418 seconds