Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasessions
Message
From
03/07/2002 08:21:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/07/2002 19:17:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00674769
Message ID:
00674892
Views:
27
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform