Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RGB - returns
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00060073
Message ID:
00060092
Vues:
24
>Hi to all VFP users
>
>Can anybody tell me how can I return the RGB values (say 230,40,140) from a selected colour within VFP.
>I can get the value VFP addigns to it but that is of no use. I need the RGB value.
>
>Thanks
>
>Willie

Try this:
nRed=nColor%256
nGreen=int((nColor%65536)/256)
nBlue=int(nColor/65536)
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform