Try one or more of focusedObject(), selectedField(), selectedChunk() Terry...
On 25/03/2015 10:29 am, "Dr. Hawkins" <doch...@gmail.com> wrote: >I've created menus and handlers, and use behaviors for them. > >But when I want to paste, the handler can't find where I was. > >If I'm in a field, "me" and "the target" both point to the menu button, >not >the field; the selectedObject contains nothing, and I can't find something >like "menuSource". > >THis is obviously easy and long solved; what am I missing? > >-- >Dr. Richard E. Hawkins, Esq. >(702) 508-8462 >_______________________________________________ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode