Chapter Contents

Previous

Next
Text Label: _setColorStr

Text Label: _setColorStr



Assigns the text label color and/or display attribute, specified by an SCL attribute string


Syntax
Details
Example

Syntax

CALL NOTIFY (text-label-name, '_setColorStr', attr-string);

Argument Type Description
attr-string
C assigns the SCL attribute string containing the color and display attribute of the text specifications


Details

This method uses a previously created SCL attribute string assigned with the STRATTR function.


Example

The following example uses the STRATTR function to create an SCL attribute string, STR, containing the values RED and REVERSE. _setColorStr uses STR to change TXTLBL1's text color and attribute to red and reverse, respectively:

str=strattr('red','reverse',1,mlength(str));
call notify('txtlbl1','_set_color_str_',str);


Chapter Contents

Previous

Next

Top of Page

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