Use of dgIndex

zryip theSlug zryip.theslug at gmail.com
Tue Nov 8 13:49:36 EST 2011


On Tue, Nov 8, 2011 at 2:24 PM, Michael Doub <mike at doub.com> wrote:
> I also tried using dgLine and it is not returning anything either.   Obviously because of the invalid reference being returned in me.

As explained and demonstrated in a previous reply, the dgLine property
uses the dgIndex property for returning a result.

As the dgIndexes property returns the list of the indexes in the order
of the displayed list:

put the dgIndex of me into tindex
put the dgIndexes of theGrid into tlist
set itemdel to comma
put itemOffset(tindex,tlist) into myPosition

is equivalent to:
put the dgLine of me into myPosition


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




More information about the use-livecode mailing list