Richard Gaskin noted that
when text is selected in the field [of the topstack] the palette buttons work great, but if the cursor is inserted with no selection then clicking in the palette window causes the field to lose focus.
My palette is a menu of pulldown buttons, and these handlers are in the palette's stack script:
on mouseEnter global chunkStore get the selectedChunk if it is empty then put empty into chunkStore else put it && "of" && word -2 to -1 of the long id \ of the selectedField into chunkStore end mouseEnter
on mouseDown global chunkStore if chunkStore is not empty then do "select" && chunkStore end mouseDown
Good solution. Ken also came up with this brainstorming with him on the phone last night. I'll go that route for now, and have submitted a Bugzilla report for the future.
Thanks for the help.
-- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ [EMAIL PROTECTED] http://www.FourthWorld.com _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
