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