Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup won't pop down
Message
De
17/03/2016 11:32:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
17/03/2016 10:53:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01633275
Message ID:
01633277
Vues:
68
>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform