Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form disappearing under another form
Message
De
28/10/1998 09:07:44
 
 
À
28/10/1998 09:02:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00150735
Message ID:
00151499
Vues:
24
>>PUBLIC poForm
>>* DO FORM... Commented
>>poForm = CREATEOBJECT(yourForm, < maybe some parameters, if you have them > )
>>poForm.Show(1)  %% Modal or
>>poForm.Show(2)  %% Modeless
>>
>>RELEASE poForm
>
>Daniel, if you link form object to some variable and then release this variable then you effectively kill the form, i.e. above example will not work for modeless form. Actually, any newly created form obvject should be linked to some property of higher-level object and this hogher-level object will provide on-request reference to any form in application.

Yes, I realize that, Edward. Actually, what I ment in the above example was that "RELEASE poForm" should be in "Quit" button of the form, otherwise the modeless form, naturally, dissapears right away.

Still with me on this one?
Danijel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform