Glad you liked :) Hope you visit Izmir next time :)
Dataenvironment is not saved. You could use load event to set up environment.
Cetin
>Cetin,
>
>I've just had a beautiful holiday in your country. We spent two weeks in Istanbul and stayed on Buyukada, about 1½ hours time out of Istanbul by ferry. It's one of the nicest places I've ever been to. The friendliest of people, great climate & terrific food, and very affordable. I'll be back!
>
>Anyway, I was aware of the facts as you point them out. But what if you don't want to create a form, but rather work with a subclass of your BasicGridForm class as a class? What happens to the dataenvironment if I use your approach and then save the form as a class?
>
>Regards
>
>Peter
>
>
>>>This used to work like a charm, open a form class and from the project manager drag the fields in a view (remote) to the form.
>>>
>>>All of a sudden nothing happens. Well, not quite, I can still drag - but dropping does nothing.
>>>
>>>What the
is going on?
>>>
>>>BTW, does anyone know why a class based on the Form class does appear not to have a data environment? At least not one that's accessible in the form designer?
>>>
>>>
>>>TIA
>>
>>Peter,
>>For last paragraph :
>>A class based form can have a dataenvironment. In command window :
>>
>>Create form < formname > as < formclassname > from < classlibrary >
>>
>>Right click on created form and DE is there.
>>Cetin