PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Click in Table Column
Click in Table Column
Débuté par Ruan, 20 aoû. 2014 11:29 - 2 réponses
Membre enregistré
208 messages
Popularité : +1 (1 vote)
Posté le 20 août 2014 - 11:29
Good day

I Have a Table Called "DETAILS" there are two columns I want to reference 1. Service Call Nr. and Activity Nr. - When I click on the service call number I want to go to my service call details and the same when I click the activity number I want to go to my activity details. I cannot get this to work for there is no code in when column click.

How can I get this to work?

Thanks

Ruan
Posté le 21 août 2014 - 11:16
You find out the clicked ROW by
nTmpThisRow is int = TableInfoXY(TABLE_T, tiLineNumber, MouseXPos, MouseYPos)

You find out the clicked COLUMN by
nTmpThisColumn is int = TableInfoXY(TABLE_T, tiColName, MouseXPos, MouseYPos)

Hope this helps,
Kind regards
Membre enregistré
208 messages
Popularité : +1 (1 vote)
Posté le 21 août 2014 - 15:13
Rudolf van Roosmalen wrote:
You find out the clicked ROW by
nTmpThisRow is int = TableInfoXY(TABLE_T, tiLineNumber, MouseXPos, MouseYPos)

You find out the clicked COLUMN by
nTmpThisColumn is int = TableInfoXY(TABLE_T, tiColName, MouseXPos, MouseYPos)

Hope this helps,
Kind regards



Wow Thanks a lot that worked great - Thanks so Much