>I my EXE program, I am using the Cut and Paste features. I can
>Cut/Paste from my EXE program to the Notepad, but I can not
>Cut/Paste from one field to another and I can not Cut/Paste from
>an outside program (NotePad) into my EXE. Why is wrong?
You need to have the system menu bar defined in a popup somewhere, even if it is 'hidden'.
Try some code like they following. Note the use of the new VFP sys call (1500)
IF CNTBAR("_MEDIT") = 0
DEFINE POPUP _MEDIT
ENDIF
DEFINE BAR _med_paste OF _MEDIT PROMPT "Paste" KEY "Ctrl+V"
= SYS(1500,"_med_paste","_medit")
Bob
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement