Jacque and Mark - thanks, "select the text of" does indeed work. I'd previously tried 'select after' which did not work.
It must definitely be a bug then, and apparently specific to the Linux build? Its a very specific problem. Its not that focus on field does not work. On the same screen I have a backup handler at card level to trap miscellaneous mouse clicks and restore focus to the field. That one does work fine. The thing seems to be, if you start out with the cursor in a field and focus on the field, then do something which places focus on another object, even if the handlers for that object try to restore focus on the field they cannot do it with 'focus'. Though they can do it with 'select'. Obviously this is not what you'd expect, its inconsistent behaviour. You'd expect focus on field to work the same wherever it is found, and it don't. Its also not very good, because from the user point of view, what he/she sees is the cursor flashing normally in the input field, but for some reason the keyboard fails to work. My dear users are totally baffled by this, so I get calls saying the keyboard is broken! Well, it must be. You push the keys and nothing happens! The other odd thing about this is, there is a card script which just does focus on field if there is a mouse up. This works fine if you click anywhere on the screen. But it does not work if it is invoked by 'send mouseUp to this card'. Peter -- View this message in context: http://www.nabble.com/why-does-this-not-work-and-how-do-you-do-it--tp16593303p16602982.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
