Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RGB() and Getcolor()
Message
De
17/01/2002 07:13:08
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00605980
Message ID:
00606002
Vues:
26
Alan you can use the RGBComp function in foxtools.fll
taken from the foxtools help
RGBComp( )
Returns the red, green, and blue components of a composite RGB color value.

Syntax
RGBComp( nRGBColor, @nRedVal, @nGreenVal, @nBlueVal )

nRGBColor
Specifies a composite RGB color value ranging from 0 to 16777215.

@nRedVal
Specifies a reference to a variable in which the function returns the intensity of the red color component of nRGBColor.

@nGreenVal
Specifies a reference to a variable in which the function returns the intensity of the green color component of nRGBColor.

@nBlueVal
Specifies a reference to a variable in which the function returns the intensity of the blue color component of nRGBColor.

Return Type
Logical
>RGB() and GETCOLOR() both return a colour number, how do i change a colour number into RGB()?
>
>thanks
>
>daryl
Alexandre Palma
Senior Application Architect
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform