Right Mouse Actions
[1/6] from: mail::defiantpc::com at: 23-Dec-2003 13:50
Hi, how would one go about creating right mouse functions.
For example, I click the right mouse button in my program and it brings up a cut copy
paste menu?
If someone could point me to any documentation, tutorials or examples where it has been
implemented I would be very grateful.
Thanx in advance...
-Maryjane.
[2/6] from: stasil213:yah:oo at: 23-Dec-2003 21:39
Hi Maryjane,
This document on www.rebol.com helped me with mouse clicks. Maybe someone
else knows about popping up menus...
go to: www.rebol.com
on the left side under: language
choose: documents
under: Other Resources...
choose: How-To Tutorials
choose: How to Handle User Interface Events
look at: sections 5, 5.1, 6, 6.1, 6.2
Stan Silver
[3/6] from: mail:defiantpc at: 23-Dec-2003 16:30
Thank you for the info. It does help, now I have to find info. on cut copy
paste ;)
I will look through all the docs...
[4/6] from: atruter:labyrinth:au at: 24-Dec-2003 10:42
> Hi, how would one go about creating right mouse functions.
view layout [btn [print "left"][print "right"]]
Regards,
Ashley
[5/6] from: antonr:iinet:au at: 24-Dec-2003 12:40
For right-mouse button, event/type = 'alt-down or 'alt-up
Copy text to clipboard:
write clipboard:// {hello}
Copy text from clipboard:
text: clipboard://
You could mold binaries to put them in there too.
Anton.
[6/6] from: mail:defiantpc at: 23-Dec-2003 20:33
Excellent!
Many thanks to all that answered.
-Mj