>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.
OK, I think I've got a handle on that. I'll look at creating a DE programmatically.
>
>
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?
If you mean CREATE FORM with the setting changed in Tools/Options/Forms/Template classes, then OK. Otherwise, I'm not sure what you mean. I just add new classes based on my main form class to the VCX.
MODIFY CLASS newformclass OF myvcx AS mybaseformclass
>
>
>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?