polygrid data

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rjd
Posts: 16
Joined: Thu Aug 29, 2013 11:29 am

polygrid data

Post by rjd »

Hi - anyone know how to retrieve the line or cell data in a polygrid? I thought probably 'put the text of line pRowNumber' would work off of cellDoubleClick but no joy.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: polygrid data

Post by Klaus »

If I remember right, this should be similar to the syntax for the Datagrid object.
So I guess this should work:

Code: Select all

...
put line pRowNumber of the PGtext of widget "your polygrid here"
...
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: polygrid data

Post by Klaus »

Found an old demo of the PolyGrid from "FerrusLogic" and can confirm that my script above works as expected!
rjd
Posts: 16
Joined: Thu Aug 29, 2013 11:29 am

Re: polygrid data

Post by rjd »

Thanks Klaus! Works beautifully :D
Post Reply