Bonsoir Eric
The TraversalOn of my "Edit" button (the relevant one) is set to false.
I found out by experiment that 'the focusedObject' does work as
expected if I have create a simple one-card stack with fields on the
card and a button on the same card that examines the fields (I mean it
has a script that displays the focusedObject). The focusedObject
points to a field as long as the cursor is flashing in it, even when
the field is empty and nothing in the field is actually selected: when
there is text in the field, the focusedObject also points to it,
whether the text is selected or not. I haven not yet looked at the
selectedField, but I believe it works in the same way as the
focusedObject.
I don't know why my original menu thing doesn't work, but it could be
a side-effect of using GLX2 (I haven't tried it outside the
development environment). I'll do some more research.
Graham
PS My 'France profonde' is about 20 km West of Carcassonne in the Aude
- a village with less than 300 inhabitants. If you like, I can send
you a picture (but not of course to this text-only list).
On Fri, 19 Sep 2008 19:04:31 +0200, Eric Chatonet <[EMAIL PROTECTED]
> wrote:
Bonsoir Graham,
This just means that invoking your menu item deselects the selected
field.
Does you menu button has its traversalOn set to false?
BTW, You speak about 'la France profonde': which one exactly?
;-)
Le 19 sept. 08 à 18:55, Graham Samuel a écrit :
Bonjour Eric
Thanks for the quick reply. Sadly the selectedField returns empty
in the circumstances. I do find this very mysterious. For example,
if I put some text in a field and invoke my 'cut' menu, which
executes this script fragment from the menuPick handler dealing
with "Cut":
cut
if clipboardData["text"] is not empty then
put the selectedfield
....
The clipboard data can be shown to be as expected (i.e. what was in
the field), but the selectedField is just empty.
There must be some way for the handler in the menu to detect what
the cut (or paste or clear) operation was operating on, but I can't
find it.
Best wishes from la France profonde
Graham
Best regards from Paris,
Eric Chatonet.
_______________________________________________
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