Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changed databinding of controls in 7.0
Message
From
12/11/2001 06:27:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/11/2001 05:06:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00580369
Message ID:
00580388
Views:
14
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform