Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datasessions
Message
De
03/07/2002 08:21:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/07/2002 19:17:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00674769
Message ID:
00674892
Vues:
26
>Hi All,
>Would I have to declare 'Thisform.DataSession = 2' on every form I have to get that benefit? Or could I do so in the main calling program for the project? Any opinions would be greatly appreciated.
>Thanks.

As Nadya says, you should do this with classes. In general, you need a form class, and have all all your forms derive from this class. This allows you to control many aspects of form design in one central place. To give a simple example, if you assign an icon for the form class, that icon will be used in all forms that use this class.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform