Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom class with DataSession?
Message
De
31/07/2001 16:30:54
 
 
À
31/07/2001 16:27:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00537926
Message ID:
00537996
Vues:
10
It does work! Sorry for the confusion.

>>You can use CreateObject() at any moment.
>
>Check the following code:
>
>x=createobject('login')
>x.show()
>debug
>read events
>
>define class login as form
>    frmDM = null
>    procedure init
>       frmDM = createobject('datamanager')  && nowhere in sight!!!
>    endproc
>enddefine
>
>*-- business object
>define class datamanager as form
>   datasession = 2
>   visible = .F.
>enddefine
>
>*--- this works though but this is not how I need it to be (not encapsulated)
>y=createobject('datamanager')
>x=createobject('login')
>x.show()
>debug
>read events
>
ramil
~~ learning to stand still
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform