ImageEn, unit iexColorButton

TIEColorButton.PromptForColor

TIEColorButton.PromptForColor

Declaration

function PromptForColor(Centered: Boolean = False): Boolean;

Description

For the display of the color selection dialog for the button.
if Centered = True, the dialog is centered on screen. If False, it pops up at the button.
Result is True if user does not cancel selection.

Example

if IEColorButton1.PromptForColor() then
  ImageEnView1.CurrentLayer.FillColor := IEColorButton1.SelectedColor

See Also

IEPromptForColor