On Wednesday, Oct 20 1999, rice wrote: > What am I missing? The following script is in a button and after the user has > highlited a word or phrase in field 1 they click the button to execute this: > > on mouseUp > get the selectedtext of cd field 1 > put it > end mouseUp > > Field 1 is not locked. > It works on a Mac but not on Win 95. It's MC 2.2.5 Is it possible that the button is getting the focus and thus removing the text selection when you click on it? Turn traversalOn off on the button, or save the selection in a custom property on the field (use the selectionChanged message that gets sent to the field to do this). Regards, Kevin > Rick Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/> Cross Worlds Computing, MetaCard Distributors, Custom Development. Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
