Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET TALK for new datasession?
Message
De
04/12/2001 07:10:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
04/12/2001 06:50:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00588274
Message ID:
00589137
Vues:
35
>BTW Hilamr
>
>If I make a method in my oApp object to run these set commands and
>call it from the init of my data session object will it implement them
>in the data session I am creating or will it just implement them in the the data environment for oApp object.

I don't know - but if you call a function (= procedure), it will affect the current form.

Another thing you can do is call the SET... commands from the parent-of-all-forms. IOW, you derive your forms from a class you call, say, cForm, and you make the changes only once, in class cForm.

Also, I think it is better to invoke these SET commands in Load(), not in Init(). You see, Form.Init() gets called after the objects contained in the form (including grids) get INITialized.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform