On Fri, Sep 9, 2011 at 11:03 PM, Josh Mellicker <j...@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!

Hi Josh,

Have a look to the dgDataControlOfIndex property in the datagrid API:
http://lessons.runrev.com/s/lessons/m/datagrid/l/7344-Data-Grid-API


Best regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to