what selected text?!

Ken Ray kray at sonsothunder.com
Thu Aug 7 02:37:00 EDT 2003


Steve,

Set the 'traversalOn' of the button to false. The problem is that with
this property true, it is "stealing" the focus from the field.

PS: Like your tagline. :-)

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

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of 
> Steve Ralston
> Sent: Wednesday, August 06, 2003 5:24 PM
> To: use-revolution at lists.runrev.com
> Subject: what selected text?!
> 
> 
> Hi all,
> 
> I'm trying the most basic thing with a button and text in a 
> field. My buttons script is "on mouseUp put the selectedText 
> end mouseUp"
> 
> I select text in the field, push the button, and all that 
> happens is the text de-selects. I'm just trying to get a 
> handle on how to work with text so I can apply styles, etc., 
> eventually, but I'm missing something it appears.
> 
> Any suggestions are very appreciated.
> 
> Steve Ralston
> Dyton
> 
> --
> "Christianity is a battle, not a dream."
> 
>       - Wendell Phillips
> 
> 
> _______________________________________________
> 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