Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using dataenvironment for first time, now set talk is on
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00214055
Message ID:
00214172
Views:
21
Oops - did I duplicate someone else' answer? I was just skimming through messages....

Yes, subclassing is VERY useful.
Barbara

>Thanks Barbara,
>My eyes are just opening to the power of subclassing. As Jorge suggested, this is a good example of why subclassing is very useful.
>
>Marcus.
>
>>Marcus,
>>The easiest way is to put the SET commands in the BeforeOpenTables() or in the form Load() events in your base form class. This way they will 'trickle down' to every screen.
>>
>>Don't forget to use the DoDefault() command if you put other code in the actual form so it doesn't replace your SET commands.
>>
>>HTH
>>Barbara
>>
>>>Thanks,
>>>Does this mean I have to SET all my environment settings in every DE.BeforeOpenTable event for every form?
>>>
>>>Marcus.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform