How do I reference an image in a group in a Data Grid form from outside the grid?

Josh Mellicker josh at dvcreators.net
Fri Sep 9 17:03:43 EDT 2011


Just wondering what best practices are when wanting to reference an image (or button or other non-text field control) in a Data Grid form.


img "blueCircle" of grp x of grp "DataGrid"

works, but x does not seem to correlate with either the index or line number.


So, does anyone know:

1. what x is?

2. how to get x (the group number of the group containing the image) when the image is clicked on?

3. Any other way to easily reference a control in a Data Grid form?

Thanks in advance!






More information about the use-livecode mailing list