PGetColorPalette

Gets the display state (on or off) of the Colors panel. (This query used to be called PGetColorPalette.)


Query results

This query returns a boolean value indicating whether the palette containing the color panel is currently displayed (true) or hidden (false).
Example. Show the color panel with the PColorPalette command.
PGetColorPalette isOpen;
if (isOpen == false)
    PColorPalette(true); // open it 


See also

The PGetColor, PGetColorInfo, PGetColorNames, and PGetTint queries


Comments or suggestions? Contact Adobe Developer Support
Copyright © 1997 - 2001 Adobe Systems Incorporated. All rights reserved.
Legal notices and trademark attributions