Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does a button control have to be gray????
Message
 
To
25/06/1998 14:27:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111460
Message ID:
00111922
Views:
19
>>>Is there a way to make the button control have a different color for the background? All buttons seem to be gray in the background, regardless of altering the 'background' property on the button.
>>>
>>>Mark
>>>mark@remarkable-systems.com
>>
>>If the command button's .ColorSource equals 4, it uses the settings in the control panel to determine the background color. However, since a command button doesn't have a .Background color property, setting the .ColorSource to some other value may be pointless. You might try setting the .ColorSource to 2 (ColorScheme property scheme), and setting a custom scheme up for it.
>
>
>George,
>
>The last idea sounds great, but how does one do that exactly? I can set the scheme to custom, but where do I establish this custom scheme?
>
>Thanks for any assistance,
>
>Mark
I suggest that you read the Colors Overview in the help file. I've never played around with Color Schemes in VFP because I let the users determine how the objects should look. The command button does allow, however, that color schemes 16-24 can be set up for this purpose. Again, I haven't tried it, so I really don't know if it will work or not.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform