dgIndex is a property of a line in the datagrid, not of the datagrid
itself.  So:

put the dgIndex of me into tindex

should take care of it.

Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Mon, Nov 7, 2011 at 3:12 PM, Michael Doub <m...@doub.com> wrote:

> Can someone explain to me where you are able to use the dgLine and dgIndex
> properties?   In the script below I am falling into the condition where no
> value is being returned for dgIndex.   Do I have a syntax problem?
>
> Thanks
>   Mike
>
>
> on FillInData pDataArray
>
>   put the dgControl of me into theGrid
>   put the dgIndex of theGrid into tinder
>
> end FillInData
>
> the complete stack can be found here to see the issue in actual operation:
>
> http://doub.com/test/test.livecode
>
>
> _______________________________________________
> 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
>
>
_______________________________________________
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