Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom class with DataSession?
Message
 
À
31/07/2001 17:26:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00537926
Message ID:
00538304
Vues:
9
Hi Ramil,


>Appreciate if you could provide me a very simple example to assign an object to a property inside the session class definition.


Try this:
_screen.AddObject("osession","session")
_screen.osession.AddProperty("CusApp",CREATEOBJECT("custom"))
? _screen.osession.CusApp.Name
_SCREEN.oSession.CusApp=""
_screen.RemoveObject("osession")
hth,
Frank Camp
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform