Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving code from de.beforeopentables to form.load
Message
From
10/02/1999 19:21:02
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00186197
Message ID:
00186316
Views:
20
Objects you create from a form class are forms. You've got the basic idea that a form class you've made in the class designer does not have a DE, right? It just doesn't. The forms that "automatically" have DEs are designed in the form designer.

If you CREATEOBJECT() a form from your form class then you can add a dataenvironment that you've created programmatically. I think you'll first need to add a dataenvironment property to the form class. IOW, you can't addobject it.

Or you can create a new form in the form designer based on your form class and then you'll have a visual DE that you can manipulate.

Does that make sense?

>I create objects from my class, and it looks like a form, smells like a form, but it's not really a form? It shows up in the Forms collection, like a form does, but it doesn't have a DE. Just for my (future) information, is there a way to give it a DE?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform