Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a button control have to be gray????
Message
De
27/06/1998 18:42:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00111460
Message ID:
00112206
Vues:
29
>>>>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,

Thanks! Was not aware of these schemes. I'll look into it.

Mark
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform