Chapter Contents |
Previous |
Next |
Extended Input Field: _setFont |
Syntax | |
Details | |
Example |
Syntax |
CALL NOTIFY (field-name, '_setFont', font-list-id); |
Argument | Type | Description |
---|---|---|
font-list-id | L | specifies the identifier of an SCL list containing font information for the extended input field. The font list must be in the format returned by the FONTSEL() function in SCL. |
Details |
The value passed to the _setFont method can come from the value of a font selector widget or from a _getFont on a widget that uses a font list. The font list must be in the format returned by the FONTSEL() function in SCL. Pass in an empty list, or 0, to use the default SAS font.
Example |
The CALL NOTIFY statement in the following example sets the font for
obj1
to the values defined in the list
font1
:
init: fontl=makelist(); setnitemn(fontl,2,'style'); setnitemn(fontl,11,'weight'); call notify('obj1','_set_font_',fontl); return;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.