Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM unexpectedly returns, but form is still there
Message
De
15/04/2008 16:31:59
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01310904
Message ID:
01310908
Vues:
23
>I have a form that is called as a subroutine from another form:
>
>DO FORM SetupProjSessions WITH nProjectID TO lResult
>
>The WindowType property of SetupProjSessions form is Modal.
>
>When I run the main form and execute the DO FORM statement, the SetupProjSessions form appears the the screen, but I get a "syntax error", with no other error information.
>
>Under the debugger, I can see that SetupProjSession.Init runs to completion. I even added an explicit RETURN .T. statement and step through that.
>
>The next thing that executes is a refresh method of a container (a supermover object) on the SetupProjSessions form, and then the refresh method one of its listboxes. When I step out of the refresh method of the listbox, I am back in the calling form on the line following the DO FORM call, with the "syntax error" message on the screen.
>
>If I click Ignore to the 'syntax error' message, the SetupProjSession form continues to work.
>
>I would appreciate suggestions on how to debug this.

Anything in SetupProjSessions.Load()?

What about the .Init()s of SetupProjSessions's member objects?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform