Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cut and Paste from Screen Memo Field?

Status
Not open for further replies.

xBaseDude

MIS
Jan 31, 2002
357
0
0
US
Hey Fox Friends...

Why can't I Cut and Paste from a Screen Memo Field?.

I am displaying the text in a Edit object.

TIA and Regards - Wayne

 
The Menu shortcuts need to be enabled, so try adding the following to your main program:

** Enable Cut, Copy, Paste and Select All.
DEFINE POPUP EditKeys
DEFINE BAR _med_cut OF EditKeys ;
PROMPT "Cut" KEY CTRL+X,""
DEFINE BAR _med_copy OF EditKeys ;
PROMPT "Copy" KEY CTRL+C,""
DEFINE BAR _med_paste OF EditKeys ;
PROMPT "Paste" KEY CTRL+V,""
DEFINE BAR _med_slcta OF EditKeys ;
PROMPT "Select All" KEY CTRL+A,""

Note: Don't use any of these "hot" keys in your menu or forms, or they may not work.

Rick


Rick

 
Rick
If you don't use any of "hot keys in a menu or forms, then
are you suggesting putting this in the startup.prg or config.fpw, or where?
 
I assumed you were speaking of an application - just put in the "main" program of the project. If you are in the development environment, it should already work.

Just to verify, are you using FoxPro for DOS or FoxPro for Windows? Which version and update level? (e.g. FPD 2.5b, FPW 2.6a)

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top