Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Server with forms?
Message
 
À
23/05/2006 09:35:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01122983
Message ID:
01124230
Vues:
13
>>Using a property in my server object to hold the form object as you suggest so that it stays in scope for the life of the server.
>
>Nice to hear that))
>
>While I more prefear OOP approach - create forms as classes, you can still use oldstyle DO FORM. But with NAME clause to store reference and LINKED option to automatically release form. For example
>
DO FORM "someform.scx" NAME This.SomeForm LINKED
>is similar to:
>
This.SomeForm = CREATEOBJECT("someform")
No it is not, with
DO FORM "someform.scx" NAME This.SomeForm LINKED
You didn't need to call Show() method ;-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform