Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTRL-X ...in code window
Message
De
02/07/2015 02:32:03
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
01/07/2015 13:52:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01621662
Message ID:
01621676
Vues:
61
I think I can remember that part. But I have only apps with menu anyway, so I found no use in hiding it. :)

>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.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform