Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Shows Verbiage
Message
De
16/03/2021 07:57:11
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
16/03/2021 07:51:50
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678986
Message ID:
01679011
Vues:
55
>>>>Since we have BindControls property, there is no reason to not wait until Init. :)
>>>
>>>There is - filling the combos and multiple checkbox boxes with stuff from lookup tables, reading last saved something that may influence the layout (sometimes number) of controls etc etc.
>>>
>>>Data first, control when needed... fresh filozofija I just invented.
>>
>>All done in Init. :) Some stuff depends from parameters to the class, and this is not know to LOAD isn't it?
>
>If it can't be done three ways in fox, it's not worth doing...
>
>Of course it can be done that way, obviously you are doing it already (and it works), and even I did at times. The "prepare everything in .load() so you can use it when instantiating the controls" was the mantra on my last gig, and that also worked. Now which is better? The one that gives you fewer surprises when working on a form. Surprises take at least half an hour each.

The one that gives more surprises. Nothing is more boring then a program running.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform