Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set syntax coloring?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00223463
Message ID:
00223508
Views:
34
Thanks George,
That looks like a winner. I know little about setting the registry; how would you set that up in code for run-time? We want the user to see only black at run-time & don't want to go to each machine to make the setting.
Thanks again

>>>Hi,
>>>We are trying to turn off syntax coloring while in modi comm (or in modi file) but the only thing that seems to work (sometimes) is set resouce off then modi file. Also, the syntax coloring behavior is different in development or at run-time, sometimes off and other times on.
>>>Is there a way to SET SYNTAX OFF (or ON)? can't find a VFP SET command, so is there another way to get at it?
>>>TIA
>>
>>Hi Bill,
>>
>>The syntax coloring is stored in the registry under HKEY_USERS\.DEFAULT\Software\Microsoft\VisualFoxPro\6.0\Options. The settings, however, are a bit difficult to decipher, however. For example, the color of the comments are determined by the EditorCommentColor entry. On my machine it reads: "RGB(0,128,0,255,255,255, NoAuto, Auto". Obviously the first 3 color values are the foreground color and the last three the background. I'm not certain what the meaning of the NoAuto and Auto entries are.
>>
>>hth,
>
>Arrgh! Make that: "RGB(0,128,0,255,255,255), NoAuto, Auto"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform