Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to HIDE menu but keep CTRL-KEYS functioning in memor
Message
De
19/10/1998 17:49:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00146939
Message ID:
00148302
Vues:
58
Hi Jim,

Took me awhile to figure this one out, but instead of using _MEDIT, use _MSM_EDIT. Don't know why it works - it is probably a bug.

For example:

ON KEY LABEL CTRL+C SYS(1500,"_MED_COPY","_MSM_EDIT") works fine even for top level forms.

>ON KEY LABEL CTRL+C SYS(1500, '_MED_COPY', '_MEDIT')
>ON KEY LABEL CTRL+V SYS(1500, '_MED_PASTE', '_MEDIT')
>ON KEY LABEL CTRL+A SYS(1500, '_MED_SLCTA', '_MEDIT')
>
>The CTRL+V works fine and pastes anything in that is on the clipborad.
>The CTRL+A works also and highlights everything in the textbox.
>But the CTRL+C will not put the highlighted text in the clipboard.
>I even tried the following, but nothing works.
>
>ON KEY LABEL CTRL+C _CLIPTEXT = SYS(1500, '_MED_COPY', '_MEDIT')
>
>Any idea how to get the SYS(1500) copy or cut working?
- Jeff
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform