Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with combo box border color
Message
From
21/09/2010 18:16:07
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01482219
Message ID:
01482246
Views:
55
>>I've put a standard combo box (the default one that comes with VFP and not sub classed either) on a form and tried to change the border color to red (255,0,0) from the default color (100,100,100) in the properties dialog. It does not change to red but remains gray. The same happens for a list box, an edit box and a text box. The same does NOT happen for a container. It's border color WILL change to red from BLACK even though the default border color is (100,100,100) for said container!!!
>>
>>So, my question is, why does a default border color of (100,100,100) appear grey for a text box, edit box, list box and combo box but black for a container? How do I get the border color of a container to look the same as the default border color for say, a text box?
>>
>>If it matters, and you haven't read it, I'm using Windows 7 with VFP9 SP2.
>
>For the Container you can change BorderColor. For the other controls the border color is controlled by the theme and can be changed through changing theme in appearances.

Hi Naomi. My problem is, how do I determine the border color of the themed controls so that I can set the containers's border color to be the same. I want ALL controls to have the same border color for consistency. As I said, the themed controls all have a border color of (100,100,100) and it appears "gray" to me, It is not nearly the same as the color I observe for the container's border color set to (100,100,100) that looks "black". Why?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform