Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form class and data environment
Message
From
04/09/2001 11:54:45
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
 
 
To
02/09/2001 12:22:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00551124
Message ID:
00552105
Views:
25
That clears things up a lot. I've been using my form class as a template, but usually not called from code. I'll have to make some changes.

Thanks again.

John

>Hi, John-
>
>>I understand that the class doesn't have a DE. Are you saying that a form created (i.e. newobject('myform','formclass',...)) doesn't have a DE unless I specifically code it into the base class as in your example?
>
>Correct. That is what the example demonstrates.
>
>> If I open a table in such a form, then I must specifically close it, just as in a .prg, right?
>
>Not necessarily. You can use the DE's CloseTables() method The following is a better example, I hope, for your situation. Note: I couldn't get AutoOpen and AutoClose to work in a programmatic DE. I'm not sure if it should, or not.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform