Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut menu
Message
 
 
À
05/04/2001 22:55:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00491767
Message ID:
00492662
Vues:
18
>>>>Ok, now is the little problem. I created a menu with a highlighted first item (according to today's threads by Hiten and Mike), now I want the first item never be selectable, e.g. it should be like a Header. Do you know, how this could be done?
>>>>
>>>>Thanks in advance.
>>>
>>>
>>>Disable it? SKIP FOR .T.
>>
>>I tried it, the result is not desirable.
>>This is my simple test. Try it (by creating a menu) and you'll see, what I mean.
>>
>>*       *********************************************************
>>*       *                                                         
>>*       * 04/05/01              MEN1.MPR                22:32:36  
>>*       *                                                         
>>*       *********************************************************
>>*       *                                                         
>>*       * Author's Name                                           
>>*       *                                                         
>>*       * Copyright (C) 2001 Company Name                         
>>*       * Address                                                 
>>*       * City,     Zip                                           
>>*       *                                                         
>>*       * Description:                                            
>>*       * This PROGRAM was automatically generated BY GENMENU.    
>>*       *                                                         
>>*       *********************************************************
>>
>>
>>*       *********************************************************
>>*       *                                                         
>>*       *                      Menu Definition                    
>>*       *                                                         
>>*       *********************************************************
>>*
>>
>>DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
>>DEFINE BAR 1 OF shortcut PROMPT "Header" ;
>>     MESSAGE "Status Bar" COLOR RGB(255,255,255,0,0,0) FONT "TAHOMA" STYLE 'B'
>>DEFINE BAR 2 OF shortcut PROMPT "\-"
>>DEFINE BAR 3 OF shortcut PROMPT "Option2"
>>ON SELECTION BAR 3 OF shortcut wait window "Option 2"
>>
>>ACTIVATE POPUP shortcut
>
>I don't see the "SKIP FOR .T." in your first option. In the Menu Designer, in the SKIP FOR condition just put .T. in the box.
Fred,

I removed it after I found this undesired result. Try it yourslef, you'll see.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform