Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 Tip (AddProperty function)
Message
From
29/10/1998 08:11:42
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00152205
Message ID:
00152211
Views:
26
Hiya Mark ---

Neat tip. Now, if we could just figure out how to add _access and _assign to _SCREEN properties :-D



>I have started using the AddProperty() function to add properties to _screen as a convenience during development. In my VFPSTART.prg that runs every time I launch VFP has commands to add some default properties.
>
>I use UNC paths quite frequently, so I have something like:
>   _screen.addproperty('UNC1', '\\Srv1\Vol2\Apps\Travel')    _screen.addproperty('UNC2', '\\Srv1\Vol2\Apps\Staff')
>This sure beats losing memory variables I may create then lose if I issue a *CLEAR ALL* or lose them when I test run an app that clears or resets any memory variables after shutdown.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform