Chapter Contents |
Previous |
Next |
Text Entry: _setText |
Syntax | |
Details | |
Examples |
Syntax |
CALL NOTIFY (text-field-name, '_setText', text-value); |
Argument | Type | Description |
---|---|---|
text-value |
C | specifies the value to assign to the text entry field |
Details |
_setText is inherited from Widget. Character-based fields include the numeric types NUMLST and FIXEDLST, which can contain strings of numbers.
Examples |
25.5 45 82
to the field TEXT1, which
is a field with the type NUMLST.
call notify ('text1','_set_text_','25.5 45 82');
jelly rolls
to COLORNUM, a field with
the type CHAR.
call notify ('text2','_set_text_','jelly rolls');
You can also use simple SCL assignment statements to set text values.
text1 = 'my text'; text2 = mystr;
However, remember that SCL statements and functions do not work across FRAME entry boundaries. So, if you need to set text values between two or more FRAME entries, use the _setText method instead.
See _getText in this class for warnings about potential programming errors that also apply to this method.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.