Hi all
Although the problem has been fixed, I thought this may be helpful and/or of interest to some of you. I have also added at the bottom a REQUEST FOR HELP regarding when changes to colour settings take effect (if anybody thinks that should be a different thread, I will post another message for that)
I have recently been experimenting with different colours in the code editor. I have been using VFP's own Tools~Options~Editor and have also been importing .REG files. Everything has been working fine until this morning (I have made no changes this morning).
I have tried "Reset All" and importing/merging a .REG file. I exported the VFP Options from Registry Editor and this is what the .REG contained (only relevant entries)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualFoxPro\9.0\Options]
"EditorCommentColor"="RGB(0,128,0,255,255,255), NoAuto, Auto"
"EditorKeywordColor"="RGB(0,0,255,255,255,255), NoAuto, Auto"
"EditorConstantColor"="RGB(0,0,0,255,255,255), Auto, Auto"
"EditorNormalColor"="RGB(0,0,0,255,255,255), Auto, Auto"
"EditorOperatorColor"="RGB(0,0,0,255,255,255), Auto, Auto"
"EditorStringColor"="RGB(0,0,0,255,255,255), Auto, Auto"
"EditorVariableColor"="RGB(0,0,0,255,255,255), Auto, Auto"
"EditorCommentStyle"="-1"
"EditorKeywordStyle"="-1"
"EditorConstantStyle"="-1"
"EditorNormalStyle"="-1"
"EditorOperatorStyle"="-1"
"EditorStringStyle"="-1"
"EditorVariableStyle"="-1"
Just after I started this message, I had another thought - in Registry Editor, delete all the Editor colour entries and start over. Hey presto, that solved the problem.
REQUEST FOR HELP
When I make changes to colours using Tools~Options~Editor, the changes take effect immediately. If I change one or more colours *from within* VFP by modifying the registry entries. The changes only take effect after restarting VFP. Is there/might there be a way to force VFP to respect the changed colours immediately?
Many thanks
Paul Newton
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---