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 > "false". > > > Ken Ray > Sons of Thunder Software, Inc. > Email: [email protected] > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > 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. _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
