Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup won't pop down
Message
De
17/03/2016 17:31:01
 
 
À
17/03/2016 11:32:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01633275
Message ID:
01633295
Vues:
40
>>Sorry for the newbie question- but I haven't done this before
>>Call to the menu:
>>
>>
>>
>> DO ssofficemen.mpr
>>*  ACTIVATE POPUP TRANSACTIO
>>  READ EVENTS
>>
>>
>>Code in the menu bar:
>>
>>ln_mencol = 2
>>ln_menrow = 1
>>CLEAR EVENTS
>>
>>
>>All is well when that activate line is commented
>>
>>I'd like to have one of the menu bars active when the menu appears.
>>
>>When I uncomment that line though, I have to click the menu bar twice to execute the code.
>>What am I missing?
>
>My popups are like
>
> DEFINE POPUP Men_Auftrag SHORTCUT RELATIVE FROM MROW(),MCOL()
> DEFINE BAR 1 OF Men_Auftrag PROMPT dcNutzer_Root_Bar_C01
> DEFINE BAR 2 OF Men_Auftrag PROMPT dcNutzer_Root_Bar_C02
> DEFINE BAR 3 OF Men_Auftrag PROMPT dcDivider
> DEFINE BAR 4 OF Men_Auftrag PROMPT dcNutzer_Root_Bar_C03
> ON SELECTION BAR 1 OF Men_Auftrag *
> ON SELECTION BAR 2 OF Men_Auftrag *
> ON SELECTION BAR 3 OF Men_Auftrag *
> ON SELECTION BAR 4 OF Men_Auftrag *
>
> ACTIVATE POPUP Men_Auftrag
>
> lnBar = BAR()                    && Übernahme Menüauswahl
>
> RELEASE POPUPS  Men_Auftrag
> DO CASE
>  CASE lnBar = 4
>....
>
>
>the dc's are constants

Lutz
Thank you for your reply.
I'm using the menu generator to create the menu.
The code in the .mpr doesn't look like yours.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform