Execute Method

Object List Next Object

Defined By:
ColorDialog

Description:

Displays the color dialog, which presents the user with several colors and color options to select from.

Declaration:

Function Execute() As Integer

Details:

Invoking the Execute Method displays the common color dialog modally. The Execute method does not return until the user either selects a color or dismisses the panel. Execute
s return value is IDOK if the user selects a color, in which case the color selected will be found in the dialogs Color property. If the user dismisses the panel, Execute returns IDCANCEL.