Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changed databinding of controls in 7.0
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Changed databinding of controls in 7.0
Divers
Thread ID:
00580369
Message ID:
00580369
Vues:
50
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform