Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The color of comments in your code window
Message
 
 
À
03/10/2012 17:33:18
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01418690
Message ID:
01554273
Vues:
58
>>>OK... try this for size:
>>>
*[2012/10/03 12:30] ndragan - from UT #1418747
>>>
>>>LOCAL oReg
>>>
>>>oReg = NEWOBJECT("FoxReg",HOME(2)+"classes\registry.prg")
>>>oReg.SetFoxOption("EditorCommentColor","RGB(0,0,0,128,250,250),NoAuto,NoAuto")
>>>oReg.SetFoxOption("CallstackSelectedColor","RGB(0,0,80,128,250,250),NoAuto,NoAuto")
>>>* this one doesn't work
>>>oReg.SetFoxOption("BookmarkColor","RGB(0,80,255,255,0,128),NoAuto,NoAuto")
>>>oReg.SetFoxOption("EditorConstantColor","RGB(128,0,128,255,255,255), NoAuto, Auto")
>>>oReg.SetFoxOption("EditorKeywordColor","RGB(0,64,128,255,255,255), NoAuto, Auto")
>>>oReg.SetFoxOption("EditorNormalColor","RGB(0,0,0,255,128,255), Auto, Auto")
>>>oReg.SetFoxOption("EditorOperatorColor","RGB(0,128,255,255,255,255), NoAuto, NoAuto")
>>>oReg.SetFoxOption("EditorStringColor","RGB(0,0,0,255,255,80), Auto, NoAuto")
>>>oReg.SetFoxOption("EditorVariableColor","RGB(0,0,128,255,248,255), NoAuto, NoAuto")
>>>
>>>oReg.SetFoxoption("CallstackFontName", "Consolas, 8, N, 1")
>>>oReg.SetFoxoption("LocalsFontName", "Consolas, 8, N, 1")
>>>oReg.SetFoxoption("OutputFontName", "Consolas, 8, N, 1")
>>>oReg.SetFoxoption("TraceFontName", "Consolas, 8, N, 1")
>>>oReg.SetFoxoption("WatchFontName", "Consolas, 8, N, 1")
>>>
>>>SYS(3056,1)
>>>
>>
>>PMFJI (I didn't know these options exist). So my question, can do you set one or some of these options temporarily, without setting them in registry? TIA.
>
>You can do most of this in the options dialog, but the choice of colors is limited and you have to set the font for each debugger window separately.
>
>The easiest thing, IMO, would be to simply have two sets of settings in a .prg like this - special and default, and then run one or the other whenever you want.

Thank you for your reply and for the suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform