Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy & paste within text/memo fields
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01294423
Message ID:
01294429
Views:
20
>I've been asked to make copy & paste work from within the text fields of my VFP application
>
>I tried:
>
>ON KEY LABEL CTRL+C SYS(1500,"_MED_COPY","_MEDIT")
>
>ON KEY LABEL CTRL+P SYS(1500,"_MED_PASTE","_MEDIT")
>
>Control+P, pastes what's in the paste buffer, but CTRL+C doesn't put any highlighted text into the clipboard?
>
>Am I on the right lines?

You just have to have Copy and Paste/Cut menu defined in your application. The rest of the code is unnecessary.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform