Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close temp window
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Close temp window
Divers
Thread ID:
01451366
Message ID:
01451366
Vues:
107
Quick question - also probably basic.
In code below: If the user DOES NOT chose any of the selections in the popup but rather presses escape or presses anywhere outside the window, the temp window remains visible and active.

Is there a line of code i can use which will close the temp window if this happens?

thanks
k
DEFINE WINDOW temp1w FONT 'Geneva',10 STYLE 'b' FROM 27,67 TO 39,111 ;
COLOR Rgb(0,0,20,200,191,255) 

activate window temp1w
do pop1

activate popup mnubef
SITE = " "

proc pop1
DEFINE POPUP mnubef relative COLOR SCHEME 6 FROM 2,4 style 'bI'  FONT 'cambria',13 ;
 
DEFINE Bar 1 of mnuBef PROMPT "Option1"
DEFINE Bar 2 OF mnuBef PROMPT "Option2"
DEFINE Bar 3 OF mnuBef PROMPT"Option3"
DEFINE Bar 4 OF mnuBef PROMPT 'Return to Menu'

On Selection Popup mnubef Do netter

proc netter
release window temp1w
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform