|
<< Index >> |
FutureBasic |
ColorWell | statement / function | |
|
color = colorwell (tag )
Description
The
Parameters
Parameter |
Description |
tag | A number (1 through 1000000) that you assign when you create the colorwell and that you refer to when altering the colorwell. The number you assign must be different from the tag value of all other existing widgets in the current window. A negative tag hides the colorwell. |
enabled | A boolean value which specifies whether the colorwell should be enabled or disabled. |
color |
The initial color to be displayed in the colorwell. This can be either a
_zYellow _zGreen _zCyan _zBlue _zMagenta _zRed _zBlack _zWhite See the CocoaUI.incl header for a complete list. |
rect | The colorwell's enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the colorwell.(ii) A |
style | The style of the colorwell (macOS 13.0+).
|
wndTag | An optional parameter for when the colorwell's window is not the current output window. Note specifying this parameter does not bring the window to the front or make it the output window. |
Apple Documentation
NSColorWell