RequestedBlue ( )

Parameters

None.

Description

Returns the blue component (0-255) of the colour chosen in the most recent RequestColor, or shown by an open colour picker.

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).

A picker opened with OpenColorPicker updates them as its colour changes, and leaves them at the chosen colour after OK, or the starting colour after Cancel.

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


See also: RequestedRed, RequestedGreen, RequestColor, OpenColorPicker.

Index