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


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support