Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object session
Message
De
22/03/2002 06:29:52
 
 
À
19/03/2002 10:36:00
Roman Segaud
Laboratoires Fortepharma
Nice, France
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00634475
Message ID:
00635932
Vues:
19
Hi Roman,
>
>How to create a visual class object based on session type like custom ?

The Session Class can only be used programmatically, however there are three visual classes that can have a private datasession - Formset, Form and Toolbar. Of the three the Formset is the 'lightest - but only if you use it programmatically and set its FormCount = 0.

Otherwise use a Toolbar and set it's Visible property to .F. and put a NODEFAULT in it's Show() method - that will prevent it from ever being made visible. Then just give it a Private Datasession and you have the nearest thing to a visual equivalent of the Session class.
----
Regards
Andy Kramek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform