Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If not Foxpro... what?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00888691
Message ID:
00888950
Vues:
29
Very well said... it's a great time to be a vfp developer.
>
>btw, you should always;
>
>
>lcRant=set("rant")
>
>SET RANT OFF
>
>*.. proceed with rant
>
>SET RANT &lcRant
>
>There's nothing worse than setting rant off by mistake ;-)


Why not OOP then? Something like:
Local oRant
oRant = CreateObject("SaveSetRant")
SET RANT ON
...
Release oRant  && or just let it go out of focus
And in the SaveSetRant object you create a custom property to keep the previous setting in Init(), and reset it back in Destroy().


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform