Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTRL-X ...in code window
Message
De
01/07/2015 13:33:49
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
01/07/2015 11:20:17
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:
01621667
Vues:
72
>Hi @all,
>
>I'm going to update the UI by throw away the native VFP Menu and using an Ribbon by pure VFP Elements.
>This works fine. Bud...
>
>We use
>
modify command (lcPath) window (loForm.Name)
>to modify code at runtime. In this Situation now cut and paste dont work any more :-/
>
>Any hint's to solve this?
>
>Greetings from Germany

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform