Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen Shows Verbiage
Message
From
16/03/2021 07:57:11
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
16/03/2021 07:51:50
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01678986
Message ID:
01679011
Views:
54
>>>>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform