Class

MobileColorPicker


Description

Displays the operating system's color picker.

Properties

Name

Type

Read-Only

Shared

HasAlpha

Boolean

Methods

Name

Parameters

Returns

Shared

Handle

Ptr

Show

initialColor As Color, prompt As String = "", parentScreen As MobileScreen = Nil, parentControl As MobileUIControl = Nil

Events

Name

Parameters

Returns

Closing

ColorSelected

selectedColor As Color

Opening

Property descriptions


MobileColorPicker.HasAlpha

HasAlpha As Boolean

If True, the color selected will be returned with an alpha channel.

The default value is True.

Method descriptions


MobileColorPicker.Handle

Handle As Ptr

Returns a Ptr for use with declares.


MobileColorPicker.Show

Show(initialColor As Color, prompt As String = "", parentScreen As MobileScreen = Nil, parentControl As MobileUIControl = Nil)

Displays the system color picker using the color, prompt and location passed. On iPhone, the parentControl is discarded because it only can be shown as a modal view.

Event descriptions


MobileColorPicker.Closing

Closing

The color picker is closing.


MobileColorPicker.ColorSelected

ColorSelected(selectedColor As Color)

The user selected the color passed.


MobileColorPicker.Opening

Opening

The color picker is opening.

Compatibility

Project Types

Mobile

Operating Systems

iOS

See also

MobileControl parent class