Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't make forms go away
Message
De
04/05/1998 13:46:58
 
 
À
04/05/1998 12:12:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00096713
Message ID:
00096783
Vues:
14
>
>Normal structure is following:
>*** Main.prg
>*some setting here
>DO FORM Login to lLoginflag
>if lLoginflag
> * some cleaning here
> return
>endif
>DO FORM Mainform && this is main form/formset. Quit code should contain CLEAR EVENTS
>READ EVENTS
>* some cleaning here
>RETURN

Ed,
Two questions on your structure:
1) Where and what is the preferred placement of the 'Return' in the called form. Is it 'RETURN .T.' in the unload event?
2) What is the purpose of the 'RETURN's if this is the calling prog? Should they be placed here and not in the called form?


Please pardon my ignorance, I really am trying to understand.
Pete

Peter Adams
FoxPro Programmer
Compu-Mail

Heisenberg was probably right...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform