Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label & Text Box Control Appear Behind Page Frame
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00751694
Message ID:
00752327
Vues:
22
Your class would be visible to the form only in form's Init (if you add this class to form in design time). So, you can not access it using this syntax.

That's an interesting problem, BTW, and I'm sure, there is an elegant solution around it.

Unfortunately, at this moment my thoughts are preoccupied with Shopping Cart application on the WEB and I'm unable to think straight VFP...

>Putting the code * directly * in the 'before open tables' worked.
>
>I then created a custom class 'setsfordatasession' and added a method 'dosets' to it. When I call the method '=thisform.setsfordatasession.dosets()' from the before open tables an error occurs "unknown member 'setsfordatasession'". However, it appears that the class has executed because the 'set talk off' has occured.
>Does that seem correct?
>Tks.
>
In VFP8 you also can subclass DE of the form. So, you can put your code in this class...

Other ideas from anyone?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform