>Hi everybody,
>we are accustomed to this philosophy: The dataenvironment must contain the data for controls that have a (tablename.fieldname) or (tablename) assigned to their controlsource (textbox, listbox, combo).
>In VFP 7.0 however You can forget to open data in the load-event of the form and only do this in the form.init.
>If You trace the init-events, You will see that all these controls do theit init without breaking despite the fact that the respective data are not available. Only the form.init checks that now. You can see that in the event trace, if You do not open tables at all.
>
>It seems as if the moment of binding data to controls in a form has changed to a later time in the event sequence. Is this documented somewhere or has it been discussed here earlier?
>
>P.s.: The grid also seems to have new manners. (see separate thread)
>
>best regards from Friedrichsdorf
>Eugen Wirsing
Eugen,
I couldn't see any behaviour change different from earlier versions (VFP5,VFP6 behaved the same way). It doesn't apply to all controls so I think you should go with that philosophy.
Cetin