Available with host type: A M V
Applies to Objects: Area, Session, Connectivity
Description
For the Area object, the Type property determines how the Area coordinates (top, left, bottom, right) are interpreted when the object is selected. Read-write.
For the Connectivity object, returns or sets the connection type of the session (VT sessions only).
For the Session object, the Type property returns a value indicating the session type -- 3270, 5250, or VT. Read-only.
Syntax: object.Type
Element |
Description |
---|---|
Object |
The Area, Connectivity or Session object. |
Comments
The following values indicate the Area type. To set the property, you can use either a constant or a value.
Constant |
Value |
Area Type |
---|---|---|
xBLOCK |
3 |
The Area is selected as a rectangular range of characters. There is no line wrapping. |
xSTREAM |
2 |
The Area is selected as a continuous stream of characters, from the top left coordinate to the bottom right coordinate. If the Area consists of more than one line, then the selection wraps to the right of each line |
xPOINT |
1 |
The Area is selected as a single point. The bottom and right coordinates are ignored. Not supported by VT session. |
xNONE |
0 |
Invalidates selection of the Area. The xNONE value is returned for an Area object with a Value property set to an empty string. Such an object will be created by the Screen object's Search method -- if the search string is not found. You cannot change the Value property if set to an empty string. |
The following values indicate the connection type of a Connectivity object for a VT session.
Constant |
Value |
Connection Type |
---|---|---|
xCTTYPE_DEMO |
0 |
Demonstration |
xCTTYPE_SERIAL |
1 |
Serial |
xCTTYPE_MODEM |
2 |
Modem |
xCTTYPE_TELNET |
3 |
Telnet |
The following values indicate the Session type.
Constant |
Value |
Session Type |
---|---|---|
x3270SESSION |
1 |
3270 |
x5250SESSION |
2 |
5250 |
xVTSESSION |
3 |
VAX/VMS, Unix, or other asynchronous |