Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use a modeless form?
Message
De
28/04/2001 02:13:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00501150
Message ID:
00501195
Vues:
28
>Larry, this works for forms, but... and I guess this a new concern. This does not work all that well for form classes
>I dont know, but I found a way to get form classes work modeless. by creating a public var and then when I issue a omyform=create("myform") type command if the omyform var is made public, it does not clear just after it loads.
>
>the reason I am writing, is that I dont know for sure if this is a good way of handling classforms... by creating public vars... it works, but something is telling me that is not, really a good solution.
>

Hello.

Use the SYS(1271) function. It returns the .SCX file name. Fortunatelly, the public variable created by form have the same name. In the Unload method you can issue RELEASE (SYS(1271),THIS).

In this way the variable is released at the unload event.

Hope this helps.
Grigore Dolghin
Class Software.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform