Information générale
Catégorie:
Codage, syntaxe et commandes
Alternatively you can try my way. This is best if you have your own Menu bar and want to add the cut , Paste and Copy functionality to your code.
I tried it earlier 2 years back.
In your code, if you use PRG for your menu, add the commands
DEFINE PAD _medit OF _MSYSMENU PROMPT 'E\ KEY ALT+E, ''
something like that.
Or if you use menu builder, it is much easier.
Just add the pad or bar that you want to use which are available in VFP , by using their default names.
eg: _medit etc.
the list is given in VFP 5.0 help under "system menu names" .
>Hi,
>
>Here is the code,
>
>set sysmenu on
>SET SYSMENU TO _MFILE,_medit
>
>This will give you two menu columns File and Edit,
>
>Suppose you want to remove few of the bars from File Menu
>use the following example.
>
>RELEASE BAR _MFI_CLOSE OF _MFILE
>RELEASE BAR _MFI_CLALL OF _MFILE
>RELEASE BAR _MFI_QUIT OF _MFILE
>RELEASE BAR _MFI_NEW OF _MFILE
>RELEASE BAR _MFI_OPEN OF _MFILE
>RELEASE BAR _MFI_CLOSE OF _MFILE
>RELEASE BAR _MFI_CLALL OF _MFILE
>RELEASE BAR _MFI_SP100 OF _MFILE
>RELEASE BAR _MFI_SP200 OF _MFILE
>
>See help sysmenu
>
>Abdul H. Bokhari,
>
>President,
>CronoMagic / Canasoft.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement