Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color pairs in the old Foxpro application
Message
De
23/01/2006 20:42:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01089604
Message ID:
01089616
Vues:
31
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform