Debugging popup

Richard Gaskin ambassador at fourthworld.com
Tue Mar 15 10:51:29 EDT 2011


David Bovill wrote:
> I have a script that used to work fine, which pops up a menu in a field -
> however now it is causing the selected text in the field to loose it's
> selection. I've been here before and debugging popup menus is confusing
> because I think a number of messages are sent as part of the process -
> "mouseUp" even perhaps? Has anyone dug into the bottom of this before?

If you set the traversalOn of the popup button to false the selection 
should be retained.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv




More information about the use-livecode mailing list