Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert results of GETCOLOR() to RGB values
Message
 
À
13/03/1998 09:02:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00084415
Message ID:
00084427
Vues:
30
>I am using the GETCOLOR() function to allow users to specify the color of bar chart columns. The return value is a number from 0 to 16777215 (black to white). Is there a function that can take this value and return the RGB combination for the color? An example is dark blue returns 16711680, but what I really want to know is the RGB combination of 0,0,255.
Mark,

Ed and George have told you how to do this, but I would ask why bother? You can;

THISFORM.Text1.ForeColor = 16711680

So why bother to convert the color return value from getcolor(), just use it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform