Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can exit loop when called directly but not from menu
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00975330
Message ID:
00975352
Vues:
10
>I guess, I misunderstood your other post where you mentioned a bunch of SET and other commands involved in the launching of the form.
>Anyway, menu looks plain enough to me and I don't see what could cause a problem you describe.
>

Oh, OK. I was wondering why you wanted the MPR. The Load method of default class of the form calls a method in my goApp class called SetSets. That method sets things like SET TALK, SET SAFETY, etc. It's called regardless of how the form is launched.

But there are a number of settings I do before calling the form. I've tried to get those into the Load of the form as well by bracketing it with IF UPPER(PROGRAM(0)) <> "MAIN" (meaning you're calling the form directly). These are things like setting the path and making sure the DBC is open, as well as code that regenerates the views.

I've also added WAIT WINDOWS showing SET("Escape") and ON("Escape") right after the SET ESCAPE ON just in case that command wasn't working somehow. Regardless of how I launch the form, Escape is ON and ON("Escape") returns llXit = .T.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform