Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
Key properties to set |
dataType attribute | Specify the type of data that a text entry displays: character or numeric.
You can also query or set this attribute using SCL. For example, the following line of SCL code queries the data type being used: choice = textentry1.dataType; |
text attribute (default attribute) | Specify the characters that appear in the text entry field
by default. This attribute is only available if the dataType attribute is
set to 'character.'
You can also query or set this attribute using SCL. For example, the following line of code sets the string that initially appears in the text entry field: textentry1.text = 'Type Comments Here'; Note: The following line of code is also valid since the text attribute is the default attribute: textentry1 = 'Type Comments Here'; |
value attribute | Specify
the numbers that appear in the text entry field by default. This attribute
is only available if the dataType attribute is set to 'numeric.'
You can also query or set this attribute using SCL. For example, the following line of code sets the numbers that initially appear in the text entry field" textentry1.value = '100'; |
Build-time attributes |
The following attribute is a build-time attribute, meaning it can only be set at build-time if you choose to use it:
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.