Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTRL-X ...in code window
Message
From
01/07/2015 13:52:33
 
 
To
01/07/2015 13:33:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01621662
Message ID:
01621668
Views:
68
Likes (1)
The menu just needs to be defined. It doesn't have to be visible.


>Hallo Jörg,
>
>In addition to Dragans:
>You need to have an edit menu or define the items somewhere like
>
>DEFINE PAD _EditP OF _MSYSMENU PROMPT "Edit" AFTER "File" COLOR SCHEME 3
>
>ON PAD _EditP OF _MSYSMENU ACTIVATE POPUP _Edit
>DEFINE POPUP _Edit MARGIN RELATIVE SHADOW COLOR SCHEME 4
>
>DEFINE BAR _MED_CUT OF _Edit PROMPT 'cut' ;
> KEY CTRL+X, "Ctrl+X" ;
> PICTRES _MED_CUT
>DEFINE BAR _MED_COPY OF _Edit PROMPT 'copy' ;
> KEY CTRL+C, "Ctrl+C" ;
> PICTRES _MED_COPY
>DEFINE BAR _MED_PASTE OF _Edit PROMPT 'paste ;
> KEY CTRL+V, "Ctrl+V" ;
> PICTRES _MED_PASTE
>
>I'm not sure about the string literals, but I guess you will figure that out yourself (I have 'DEFINES there and I'm to lazy to look for there values)
>
>Basically you have to include _MED_CUT _MED_COPY _MED_PASTE with the keyboard shortcuts to your menu. Because the CTRL+[XCV] thing works through the menu.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform