Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close temp window
Message
From
27/02/2010 09:25:04
 
 
To
26/02/2010 18:53:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01451366
Message ID:
01451424
Views:
28
>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
>
Why do you need the temp window? What's its role here?

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform