Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Class with DE Class
Message
 
 
To
06/01/2002 12:02:36
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00601276
Message ID:
00601290
Views:
16
Boban,

You'll have to write code to instantiate your DE class in the Form.Load() event. But you won't have the DE available at design time so you won't have ControlSource dropdowns, you'll have to just type all that stuff in. This is one reason I seriously don't like form classes.

>I have created a Form Class with a grid on it but I don't know how to set a Data Environment.
>I know that I can create a non-visual DE class with CURSORS and RELATIONS in it, but I don't know how to connect with a Form Class.
>
>How to connect Form Class and DE class, so that every time Form Class (when is being instanteined) load DE Class?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform