Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color pairs in the old Foxpro application
Message
From
23/01/2006 20:42:40
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01089604
Message ID:
01089616
Views:
32
Thanks for the information. Do you have any insight as to why the same code would generate such different results?

>The color pairs for the list
Color Pair 	
>Number	List Attribute
>1	Disabled option
>2	Enabled option
>3	Border and scroll bar*
>5	Message
>6	Selected list item
>9	Enabled list
>10	Disabled list
>*Controls drawn in background color. Bar drawn in dim of foreground color.
>
I guess you would want to change the 6th one. Something like
...
>COLOR RGB(0,0,0,255,255,255),RGB(0,0,0,255,255,255),,,,RGB(0,0,0,0,0,160)
>
>
>>I have an old FPW 2.6 application which runs in VFP 6 using the PRGs/SPRs directly. I have a list box which is generated by
>>
@ 13.313,57.667 GET m.pol_lbnum ;
>> 	PICTURE "@&N" ;
>>	FROM pol_lbarr ;
>>	SIZE 11.333,37.429 ;
>>	DEFAULT 1 ;
>>	FONT "Courier New", 9 ;
>>	WHEN w_pol_lbnum() ;
>>	VALID edit_pollb() ;
>>	COLOR RGB(0,0,0,255,255,255),RGB(0,0,0,255,255,255)
>>
>>On my desktop, this shows up with a white background. The current item has black letters in a dark blue background.
>>
>>On my laptop I log in with two separate ID's.
>>
>>On the first ID this same list box shows a white background. The current item has black letters in a light blue background.
>>
>>On the second ID this same list box shows a white background. The current item has black letters in a grey background.
>>
>>Can somebody please point me to where (in either FoxPro or Windows) these color schemes are kept so that I can get the one I want (which is the Dark Blue background).
>>
>>Thanks to all.
>>
>>
>>....Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform