Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing form in INIT method
Message
 
À
06/02/2001 22:02:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00473278
Message ID:
00473602
Vues:
16
>I have a form which requires a parameter be passed to it. What I tried was
>
>LPARAMER lcstkno
>
>IF PCOUNT() = 0
> WAIT WINDOW 'message'
> Thisform.Release
>ELSE
> setup code
>ENDIF
>
>It does not work. Why not? What is correct method of aborting the form?

Return False in the method INIT.
* Init
LPARAMER lcstkno
IF PCOUNT() = 0
   WAIT WINDOW 'message' NOWAIT
   RETURN .F.
ELSE
   * setup code
ENDIF
Luis María Guayán
Tucumán, Argentina
________________________________
SysOp de www.PortalFox.com
Nada corre como un zorro
________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform