Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object session
Message
From
22/03/2002 06:29:52
 
 
To
19/03/2002 10:36:00
Roman Segaud
Laboratoires Fortepharma
Nice, France
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00634475
Message ID:
00635932
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform