>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