Chapter Contents

Previous

Next
Critical Success Factor: _setColor

Critical Success Factor: _setColor



Assigns a color to parts of the CSF that are not controlled via the RANGE entry

Restrictions Some systems do not support using methods to change the colors of a critical success factor.


Syntax
Example

Syntax

CALL NOTIFY (csf-name, '_setColor', piece-type, color-name);

Argument Type Description
piece-type
C specifies which of these pieces of the CSF to assign the color to:


'HUB' Semicircle at the base of the arrow


'ARROW' Arrow pointing to current value


'OUTLINE' Outline of range segments and hub


'TEXT' Current range labels


'TVALUE' Current value.
color-name C specifies the name of the color to assign. SASCOLOR window elements can also be used for color-name.


Example

The _setColor method sets the colors to red for the CSF named CSF1:

    call notify('csf1','_set_color_',
                'HUB','RED');
    call notify('csf1','_set_color_',
                'ARROW','RED');
    call notify('csf1','_set_color_',
                'OUTLINE','RED');
    call notify('csf1','_set_color_',
                'TEXT','RED');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.