Chapter Contents

Previous

Next
Text Entry: _setText

Text Entry: _setText



Assigns text to a text entry field


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

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.