* 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 RETURNThe 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.
>Sort by Name >Sort by Location >Sort by Type >------------------------------- >Display #DEFINE Definitions >Display Preprocessor Directives >------------------------------- >Font >>