[色選択] ダイアログを表示します。
戻り値
プログラミング注意事項
| 例 | |
{import * from CURL.GUI.EXTRAS}
{Frame
valign = "center", margin = 4pt,
border-width = 1px, border-style = "sunken",
background = "yellow",
"Click to Choose Color",
{on PointerRelease at f:Frame do
{if-non-null fp:FillPattern =
{choose-color
prompt = "Select a color for the example:",
initial-color = {f.background.to-FillPattern}
}
then
set f.background = fp
}
}
}
|