Selecting a line, going to that card

André Bisseret andre.bisseret at wanadoo.fr
Wed Nov 24 12:19:42 EST 2010


Bonjour Scott,

The selectedLine returns something like "line 2 of fld 1
To get the text of the line use
value(the selectedLine)
So try :
on mouseDoubleUp
put value(the selectedLine) into tNewCard
go to card tNewCard
end mousedoubleUp

Best regards from Grenoble

André

Le 24 nov. 2010 à 18:05, Scott Pepperdine a écrit :

> Thanks to help received on this list, I now have a list field that contains the names of all the cards in that stack. I'd like the user to be able to double click on a line and go to that card.  I've tried variations on the following without success.:
> on mousedoubleup
>  put the selectedline into tNewCard
>  go to card tNewCard
> end mousedoubleup
> 
> Probably simple again.  Thanks for any help.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list