Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cut & paste / sysMenu conflicts
Message
De
31/12/2003 02:01:59
 
 
À
30/12/2003 21:29:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00863046
Message ID:
00863069
Vues:
11
>Happy New year all
>I have a need to cut(ctrl-c)& paste(ctrl-v)from graphics programs into a general fld. I don't want sysmenu set on because I don't want to see it in my .exe. If I set sysmenu off, I loose cut & paste funtionality. I have reduced the size of sysMenu to just copy with the following commands:
>SET SYSMENU TO _MSM_EDIT, _MED_COPY
>Sysmenu is still visible however and I want if gone without loosing copy functionality. Any ideas?
>thanks, Vince

Hi Vince. Define a pop up menu with the copy/paste functions you need. You dont need to display the popup, just define it. When you no longer need it you can release it.
* Define the pop up menu

  DEFINE POPUP _medit
  DEFINE BAR _med_slcta OF _medit PROMPT '' KEY CTRL+A
  DEFINE BAR _med_paste OF _medit PROMPT '' KEY CTRL+V
  DEFINE BAR _med_copy  OF _medit PROMPT '' KEY CTRL+C
  DEFINE BAR _med_cut   OF _medit PROMPT '' KEY CTRL+X
  DEFINE BAR _med_undo  OF _medit PROMPT '' KEY CTRL+Z

* To release the popup menu

  RELEASE POPUP _medit
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform