How do I reference an image in a group in a Data Grid form from outside the grid?
zryip.theslug at gmail.com
Fri Sep 9 16:36:27 CDT 2011
On Fri, Sep 9, 2011 at 11:03 PM, Josh Mellicker <josh at dvcreators.net> wrote:
> 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!
Have a look to the dgDataControlOfIndex property in the datagrid API:
-Zryip TheSlug- wish you the best! 8)
More information about the use-livecode