Blitz3D+ Command Reference

RequestedBlue ( )

Parameters

None.

Description

Returns the blue component (0-255) of the colour chosen in the most recent RequestColor.

Requires Extended language mode.

RequestColor does not return the picked colour itself - it returns 1 for OK and 0 for cancel, and stores the choice for RequestedRed, RequestedGreen and RequestedBlue to read. Only a confirmed pick updates the stored colour: cancelling leaves the previous values untouched, and before any RequestColor at all the three components read 255 (white).

If RequestColor() Then SetPanelColor swatch,RequestedRed(),RequestedGreen(),RequestedBlue()

See also: RequestedRed, RequestedGreen, RequestColor.

Index