Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release form with INIT Event
Message
De
14/11/2007 00:47:07
 
 
À
13/11/2007 23:18:31
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 XP
Database:
Visual FoxPro
Divers
Thread ID:
01268846
Message ID:
01268850
Vues:
19
>Dear Experts
>
>I wrote following line on the INIT event of form
>
>release thisform
>
>But the form does not release

Depending on exactly what you're trying to do, you could try simply
RETURN .F.
at the end of .Init(). This is available for .Load(), as well - either prevents the form from initializing.

As for your syntax, the RELEASE command is for memvars, object references etc. What you probably want is ThisForm.Release().
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
Répondre
Fil
Voir

Click here to load this message in the networking platform