Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Shows Verbiage
Message
De
15/03/2021 13:43:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
15/03/2021 13:35:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678986
Message ID:
01678997
Vues:
33
>>>Besides, I'm not sure the DS of the form exists during its .load(), isn't it supposed to be made after it? Um... no, you're right, it has to exist, because we can open all kinds of aliases during .load(), right. Other objects don't exist yet, and the form doesn't exist, but its .datasession does, except it's still not assigned a reference.
>>
>>It's complete odd. I do nothing before INIT so I'm secure. LOAD might work with a DE object, but this is not automatic with class based forms. And I will not create a dumb SCX for each form class. nooooo.
>
>I don't remember having problems with code in .load() and most of my forms were class based and had private DS. That being said, the opening of any cursors was delegated to bizobjs which would be instantiated in .load (as .init() would be too late).

Since we have BindControls property, there is no reason to not wait until Init. :)
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