Selecting a line, going to that card

John Dixon dixonja at hotmail.co.uk
Wed Nov 24 12:18:05 EST 2010


try...  

on mouseDoubleDown
   put line (word 2 of the clickLine) of me into cardName
   go card cardName
end mouseDoubleDown


> Date: Wed, 24 Nov 2010 10:05:42 -0700
> From: spepper at byu.net
> To: use-livecode at lists.runrev.com
> Subject: Selecting a line, going to that card
> 
> 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