Click or drag to resize

Scheme Function

X#
-- todo --
Returns a color pair list or a single color pair from a specified color scheme.

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax
 FUNCTION Scheme(
	nSchemeNumber,
	nColorPairNumber
) AS STRING CLIPPER
Request Example View Source

Parameters

nSchemeNumber (Optional)
Type: Usual
Specifies the number of the color scheme for which you want a complete color-pair list. SCHEME( ) returns ten color pairs.
nColorPairNumber (Optional)
Type: Usual
Specifies the position of one color pair in the color scheme, and SCHEME( ) returns only this color pair. For example, if nColorPairNumber is 4, SCHEME( ) returns the fourth color pair from the color scheme.

Return Value

Type: String
Character
Examples
X#
1? SCHEME(4,3)
See Also