- Procedure UserColorDelete(color\_name)¶
With the procedure
UserColorDelete you can programmatically delete a
color from the set of user colors.
UserColorDelete( color_name ! (input) scalar string expression )
A string expression holding the name of the user color to delete.
The procedure returns 1 if the color could be deleted successfully, or 0 if the color does not exist, or is contained in the fixed set of project colors.
You can only delete user colors that have been added using the procedure
UserColorAdd. Colors added through the Tools-User Colors dialog
box are fixed and cannot be deleted or modified.