Jump to content


Photo

Find cell from mouse X-Y position


  • Please log in to reply
2 replies to this topic

#1 bertrod

bertrod
  • Members
  • 101 posts
  • Gender:Male
  • Location:Switzerland

Posted 01 March 2019 - 02:48 PM

Hi,

 

Is it possible to get a cell based on the X-Y coordinates of the mouse?

 

At the moment I could not find a way to do this.

 

Thank you !

 

 



#2 bertrod

bertrod
  • Members
  • 101 posts
  • Gender:Male
  • Location:Switzerland

Posted 01 March 2019 - 03:05 PM

I found it: TNextGrid6 there is a function GetCellAtPos in the TNxReportGridView6.



#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 02 March 2019 - 05:47 AM

Correct, sorry for delay.

You can use also NextGrid.ActiveView.GetCellAtPos
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users