ClassesClasses | | Operators

set_coloredset_coloredSetColoredSetColored (Operator)

Name

set_coloredset_coloredSetColoredSetColored — Set multiple output colors.

Signature

set_colored( : : WindowHandle, NumberOfColors : )

Herror set_colored(const Hlong WindowHandle, const Hlong NumberOfColors)

Herror T_set_colored(const Htuple WindowHandle, const Htuple NumberOfColors)

void SetColored(const HTuple& WindowHandle, const HTuple& NumberOfColors)

void HWindow::SetColored(Hlong NumberOfColors) const

static void HOperatorSet.SetColored(HTuple windowHandle, HTuple numberOfColors)

void HWindow.SetColored(int numberOfColors)

Description

set_coloredset_coloredSetColoredSetColoredSetColored is a shortcut for certain set_colorset_colorSetColorSetColorSetColor calls. It allows the user to display a region set in different colors. NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColors defines the number of colors that are used. Valid values for NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColors can be queried with query_coloredquery_coloredQueryColoredQueryColoredQueryColored.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Window handle.

NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColors (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Number of output colors.

Default value: 12

List of values: 3, 6, 12

Result

set_coloredset_coloredSetColoredSetColoredSetColored returns 2 (H_MSG_TRUE) if NumberOfColorsNumberOfColorsNumberOfColorsNumberOfColorsnumberOfColors is correct and the window is valid. Otherwise an exception is raised.

Possible Predecessors

query_coloredquery_coloredQueryColoredQueryColoredQueryColored, set_colorset_colorSetColorSetColorSetColor

Possible Successors

disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

query_coloredquery_coloredQueryColoredQueryColoredQueryColored, set_colorset_colorSetColorSetColorSetColor, disp_regiondisp_regionDispRegionDispRegionDispRegion

Module

Foundation


ClassesClasses | | Operators