[REBOL] Re: How to simulate action on one button
From: ronaldoff:free at: 11-May-2003 14:59
Hello Gregg and Carl, and all of you Rebolers,
You both gave me the way to solution, thanks a lot.
I'm always amazed by the responsivity of this mailing list, and that's
one of the reasons that make me love Rebol programming.
Thanks for your kindness and for all the shared scripts, tips and
advises that you provide.
Go on guys,
...et vive la Rebolution
Sunday, May 11, 2003, 5:12:05 AM, vous avez écrit :
GI> Hi Ronald,
r>> I'd like to get the same effect as if I had done a mouse click on
r>> one button, but this "action" is originated from script itself.
GI> If you create a reference to the face (e.g. my-btn: button), then you
GI> can do this:
GI> click-face: func [face][
GI> face/feel/engage face 'down none
GI> ]
GI> -- Gregg
--
Best regards,
Ronald GRUSS
[ronaldoff--free--fr]