Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Document view problems
Message
From
10/03/2005 12:14:52
 
 
To
10/03/2005 10:35:23
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00994450
Message ID:
00994495
Views:
31
Hay Todd,

You can come out your corner now.

In a nutshell, here is the answer you are looking for.
* 1-2 : ? 
* 3-4 : 1 = (0n) Display #DECLARE, 0 = (off)
* 5-6 : ?
* 7-8 : 1 = (on) Display Preprocessor, 0 = (off)
* 9-10 : ?
* 11-12 : 1 = Sort By Name, 2 = Location, 4 = type
* 

LPARAMETERS pnSortBy
RELEASE WINDOWS "Document View"

cRes = SYS(2005)
SET RESOURCE OFF 
SET RESOURCE TO 

USE (cRes) shared AGAIN 
LOCATE ALL FOR id="EDPROCLIST"

replace data WITH STUFF(data,11,2,CHR(pnSortBy)+CHR(0))

USE

SET RESOURCE TO "&cRES"
SET RESOURCE on

RETURN 
The only problem I am having with this solution is that the Document View window reads this data only once when the window is first openned. But writes to it every time the settings are changed. I have not discovered a method of forcing it to re-read the settings from the resource file on call. Prehaps someone else here can help us with that.

>This must be a problem on my end since I can not find anything about it in a search of UT.
>
>When I right click on the Document View (either dockable or not), the context menu that pops up lists the following:
>
>
>Sort by Name
>Sort by Location
>Sort by Type
>-------------------------------
>Display #DEFINE Definitions
>Display Preprocessor Directives
>-------------------------------
>Font
>
>
>Sort by Location is checked and ll menu items except Font are disabled.
>
>I would like to be able to change the sort and display options, but can not find out where I can enable the other menu items. I figure it is a problem on my end since there would be a huge uproar if MS had these options with no way to use them.
>
>Thank you for your help.
>
>Todd
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform