Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it in the Resource File
Message
From
28/12/1999 22:56:15
 
 
To
28/12/1999 19:39:31
Stephen E Johnson
Johnson & Associates Business Software
Corvallis, Oregon, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00309619
Message ID:
00309677
Views:
38
>I want to use the resource file to store window and browse positions, but I need a default position if they are not defined. How do I detect if the positions for a specific window or browse are stored so I can issue a browse last to get the fields and widths and positions.

You'll be looking for PREFW/WINDBROW entries; I'm not sure what 'name' you have to match in the name field for browse parameters (probably table name or alias; you'll have to experiment unless someone is certain.) You can't search the FoxUser file while it's in use, since VFP opens it for exclusive access unless the flag is flagged as read-only by the OS, in which case, you can't update it anyway.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform