Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More MODAL forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00115397
Message ID:
00115439
Vues:
17
>Leighton,
>
>Yes, exactly. Modify your code to htis for a modal form;
>
>
>this.addobject('oReindex', 'frmReindex')
>
>with this.oReindex
>   .setall('fontname', this.FontName)
>   .setall('fontsize', this.FontSize)
>   .show()
>endwith
>
>* Release the external reference to the form object
>THIS.oReindex = NULL
>
>return
>
>
>The above will not work well for non-modal forms.

I modified the code as specified. When ran, the app is waiting at the .show statement (as it should) for the window to be released. Once I get to the this.oReindex = NULL statement there is no oReindex.
I added a Close button with thisform.release, but if my users use the close button on the title bar, the form just sits there until they press the new Close button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform