Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changed databinding of controls in 7.0
Message
From
12/11/2001 05:06:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Changed databinding of controls in 7.0
Miscellaneous
Thread ID:
00580369
Message ID:
00580369
Views:
49
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
New Year's pledge: Last year I learned so much from my errors that I decided to make some more.
Next
Reply
Map
View

Click here to load this message in the networking platform