Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter for selecting view
Message
De
19/10/2001 07:22:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00570305
Message ID:
00570708
Vues:
18
>For this kind of situation I have variables declared as private in the calling program (form). In this case, they would be seen in Form's Load (not in Init!).
>
>In other words:
>Calling program:
>private tcFileName, tcMode
>tcFileName = "myfile"
>tcMode = "Manual
>
>Form.Load
>if vartype(m.tcFileName)="C"
> ...
>endif

Nadya,

Your answer is exactly what I need. The solution is simple and effective. Now, how come I didn't think of this? (I have already used private variables in the past, as substitute for parameters). Seems that I am getting lazy, or old.

Thanks a lot.

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