Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Shows Verbiage
Message
De
16/03/2021 07:51:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
16/03/2021 06:53:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678986
Message ID:
01679010
Vues:
49
>>>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform