Article ID: 149184
Article Last Modified on 9/30/2003
RGBComp( nRGBColor, @nRedVal, @nGreenVal, @nBlueVal )
*-- Set up to use FoxTools.FLL
CLEAR
SET LIBRARY TO SYS(2004) + '\FOXTOOLS'
*-- Declare some variables to be used in the function calls
nRedVal = 0
nBlueVal = 0
nGreenVal = 0
*-- Display as we go.
? RGBCOMP(65537, @nRedVal, @nGreenVal, @nBlueVal)
? nRedVal, nGreenVal, nBlueVal
= RGBCOMP(65537 + 44 + 256 * 4, @nRedVal, @nGreenVal, @nBlueVal)
? nRedVal, nGreenVal, nBlueVal
= RGBCOMP(65537 + 86 + 256 * 4, @nRedVal, @nGreenVal, @nBlueVal)
? nRedVal, nGreenVal, nBlueVal
*-- Reset the current active library.
SET LIBRARY TO
Additional query words: VFoxWin
Keywords: kbcode KB149184