Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Wrap in FP 2.6 / 5.0
Message
De
30/06/1998 15:10:34
 
 
À
30/06/1998 15:06:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00113078
Message ID:
00113082
Vues:
27
>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform