keeping focus in a field
SparkOutYNY at gmail.com
Tue Feb 17 17:33:49 CST 2009
Ken Ray wrote:
>> But if I create a context menu using popup button, the selected text in
>> field looses focus at the moment the popup is called. Is there any
>> simple trick (I already know complex ones :-)) to force the selection to
>> persist, so I could handle it from the context menu ?
> Yes, set the "traversalOn" of the button that is the context menu to
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> This won't likely apply in the given situation (you want to preserve the
> selection of text in a field, not really the point where you'd have any
> handlers firing) but one caveat of disabling the traversalOn of the button
> is that any handlers in the field (such as closeField) will not be
> triggered until after the focus leaves the button and goes to some other
> focusable object. It might be something to remember in other situations.
View this message in context: http://www.nabble.com/how-to-change-the-font-of-stacks-title-bar--tp22057705p22068360.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode