selectedText confusion

Ken Ray kray at sonsothunder.com
Mon Mar 22 16:04:23 EST 2004


How about "put the hilitedText of me into lcgCurrentPerson"

Are you sure that the line is highlighted before executing your code? Just
curious...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Graham Samuel
> Sent: Monday, March 22, 2004 11:45 AM
> To: use-revolution-request-lists.runrev.com
> Subject: selectedText confusion
> 
> 
> I've got a list field where one line is hilited (I can see 
> the hilite), and 
> I have the following handler in it
> 
> on mouseUp
>    global lcgCurrentPerson
>    put the selectedText into lcgCurrentPerson
> end mouseUp
> 
> I send a mouseUp from a handler in the stack which owns the 
> field in order 
> to fill my variable lcgCurrentPerson, but all I get is empty. 
> Can anyone 
> explain this?
> 
> (RR2.2RC on Windows XP Home Edition)
> 
> TIA
> 
> Graham
> 
> ---------------------------------------------------
> Graham Samuel / The Living Fossil Co. / UK & France  
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list