Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot release my VFP5.0 OLE Form.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00182586
Message ID:
00183373
Vues:
14
>Jean-Rene,
>Have you tried
>
>oForm.Release()
>
Yes we did but it do not work. We did more testing on this an found that in VFP5 if you set only the caption of the form the release will work but if you set a properties of an object in the form the release will not work.

The only way we can make the release work is by using a method of the form to set the properties of objects in the form. Then the release will work.
>HTH
>Barbara
>
>>I have a form saved as a class with OLE public in VFP5.0. This form is use as interface for my backend. If I call this form as an OLE, and set some value in one of the text box, when I what to release the for with "Release oForm" the form do not want to release. If I do not set any value of text box it work ok.
>>
>>oForm = CreateObject("FoxFW.Fox")
>>oForm.Visible = True
>>oForm.MyTextBox.value = "Hello"
>>release oForm
>>
>>It compiled as OLE EXE ( Out process )
>>
>>The same code work in VFP6.0 but unfortunately VFP6 is a not a option for us at the moment.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform