>I am currently maintaining a 2.6 application running under visual 5.0. I have a utility that allows users to view log files (text files). I am having difficulty getting the window to not wrap long lines of text. I solved this initially by using "modify command" instead of "modify file". When running under VFP, the "modify command" command highlights (changes color) VFP reserved words. Without messing with the registry on system builds, is there a way around this? For now, I will have to maintain my existing 2.6 code base. My code is below:
>
>Thanks in advance.
>
>I define a window:
>
>define window LogView ;
> at 0,0 size 1,100 ;
> system font 'MS Sans Serif', 8 ;
> style 'N' ;
> close ;
> float ;
> zoom ;
> in window screen
>
>
>Then modify command:
>
>modify command &lcTempFile noedit ;
> window LogView
>
When you use "modify file" and have the "edit" menu available, you can set the preferences for the file type to not have word wrap turned on. This is assuming you use a "resource" file (FOXUSER) and that all your log files have the same extension.