Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Cut and Paste?
Message
From
21/05/1997 19:01:36
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
To
21/05/1997 15:55:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00033165
Message ID:
00033194
Views:
38
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform