tward
asked on
VB 6.0 MaskEdBox 6.0 Copy/Paste with Right Mouse Button!!
Anyone run into this before?
I have two MaskEdBoxes on a form both with the following mask ">CCCCCCCCCC". I enter some text in the first box, highlight it using the mouse and copy it using the Right Mouse button and clicking on Copy.
I go to the second box and right click then click on paste. The text is there but when I leave the box the text disappears.
I have two MaskEdBoxes on a form both with the following mask ">CCCCCCCCCC". I enter some text in the first box, highlight it using the mouse and copy it using the Right Mouse button and clicking on Copy.
I go to the second box and right click then click on paste. The text is there but when I leave the box the text disappears.
ASKER
Did you try your answer? It doesn't work.
It's a very annoying bug (Very simular to the newest IE4 security bug).
The easyest solution would to stop the user from pasting.
Mr. Fixit
The easyest solution would to stop the user from pasting.
Mr. Fixit
ASKER
Not really a good answer... Looked in the Knowledge base and couldn't find anything. Will put it out there to see if anyone has a better answer...
How do you stop the pasting with the right mouse button anyway? I saw this one time but can't remember the control or the property I was dealing with.
Another note is that if I do the copy/cut/paste using the Ctrl-V,C,X or Shift-Ins then it works just fine!!
How do you stop the pasting with the right mouse button anyway? I saw this one time but can't remember the control or the property I was dealing with.
Another note is that if I do the copy/cut/paste using the Ctrl-V,C,X or Shift-Ins then it works just fine!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Crazy to have to do things like that but it does work!
Thanks...
Thanks...
You need to set the property ClipMode = "Exclude Literals"
bye,