Welcome! Log In Create A New Profile

Advanced

[SOLVED]determining content of selected cell in memory table

Posted by gga 
gga
[SOLVED]determining content of selected cell in memory table
August 28, 2023 08:16PM
This should be simple but I can't find an answer for WinDev22. It's probably old age.
I have a memory table displayed on the screen.
I want to perform an action if the user double clicks some cell.
I originally couldn't determine which cell the user was in but then I found TableInfoXY
Now I want to retrieve the content of that cell but I'm stumped.
Stumped no more!
gnRow = TableInfoXY(TABLE_Schedule, tiLineNumber, MouseXPos(), MouseYPos())
gsCol = TableInfoXY(TABLE_Schedule, tiColNumber, MouseXPos(), MouseYPos())
Info(sContent)
Thanks
Garry



Edited 3 time(s). Last edit at 08/29/2023 12:56AM by gga.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: