Is it possible to copy contents of an mle that is editprotected ??
i'd like to right click to bring up a menu with copy as an option, but that doesn't seem possible.
copy contents of mle
copy contents of mle
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: copy contents of mle
Code: Select all
@ n,n DCMULTILINE cText .... EDITPROTECT {||!lEdit} EVAL {|o|o:RbDown := {|x,y,z|IF(!lEdit,oMyMenu:PopUp(z,x,2,XBPMENU ...),nil)}}
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: copy contents of mle
EDITPROTECT will not even allow the MLE to gain focus, thus you can't use the mouse to copy contents.
If you want to protect from editing but still allow the mouse to work, try this:
Don't use the EDITPROTECT clause.
If you want to protect from editing but still allow the mouse to work, try this:
Code: Select all
@ .. DCMULTILINE .. EVAL {|o|o:keyboard := {|a,b,o|o:undo()}}
The eXpress train is coming - and it has more cars.