Field Properties

Note

 

Each region has its own field and row properties. In addition, some properties apply only to line-oriented regions. These properties are marked with an asterisk.

Property
Description
Editable
Affects XML
Navigational
Field Element Name
The name you want to use for field elements in the XML output. The default value is field.
Yes
Yes
No
Component Element Name
The name you want to use for sub-fields detected by Stylus Studio (based on the Field Component Separator character) in the XML output. The default value is component.
Yes
Yes
No
Source Data Type
The data type of the current field. Stylus Studio provides support for the following data types:
String, Boolean, number, date, time, byte, short, integer, long, float, double. Note that some properties are type-specific.
See Type-Specific Properties for information on properties that are associated with specific data types.
No
Yes
No
Target Data Type
Not currently used.
 
 
 
Number
The number of the field in which the cursor is located. Starting with 1 from the left-most field.
No
No
No
Fields in Current Row
The number of fields in the current row.
No
No
No
Max Fields in Row
The number of fields in the row that contains the largest number of fields.
No
No
No
Cursor Position
The offset of the cursor's current location from the start of the current field.
No
No
No
Offset
The offset of the start of the current field. Measured from the start of the row.
No
No
No
Length
The length of the current field in characters.
No
No
No
Max Length *
The length of the longest field in the current row.
No
No
No
Value
The value of the current field.
This value also appears in the status bar.
No
No
No
Table 19. Field Properties

* This property is for line-oriented regions only.

 
Free Stylus Studio XML Training: