Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'field' phrase is not found error when trying to run for
Message
De
05/07/1998 07:16:40
Jeroen Naus
Harte-Hanks Europe
Hasselt, Belgique
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00113817
Message ID:
00114317
Vues:
28
John just a few comments here.

I think you're partially wrong at your comment. I think you have to make a distinction between the properties of the control you're setting/using. Properties like controlsource, height, width are dependent on both the form and the control, and I think you could set them in some of the forms events/methods.
Properties like rowsource, color, number of columns, queries to get your data for your control should only be set in the events/methods of the control itself that is encapsulation and allows you to reuse your controls.
Also Foxpro initialises your controls before it intialises your form. And it is a pain to if you are not using views to set your controlsources on your controls because they crash when initialising and not finding there controlsource field. Somewhere I think this order of events doesn't make sense, it is liking creating trees and then creating the earth to put them on ?
What do you think ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform