Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If not Foxpro... what?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888691
Message ID:
00888950
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform