The TYPE attribute returns the widget or handle type. Some examples are "WINDOW", "FRAME", "BUTTON", "MENU", "SAX-ATTRIBUTES", "SAX-READER", and "SERVER".
For AppServer and Web service handles, the TYPE attribute returns "SERVER".
If a system handle (such as CURRENT-WINDOW or FOCUS) refers to a user interface widget, the TYPE attribute returns the type of that widget. If a system handle (such as SESSION or CLIPBOARD) refers to an ABL status or system object, the TYPE attribute value is "PSEUDO-WIDGET".
For procedure handles and system handles that refer to procedures (such as THIS-PROCEDURE), the TYPE attribute returns "PROCEDURE".
For an asynchronous request handle, the TYPE attribute returns "ASYNC-REQUEST".
For the ProDataSet, data-relation, and data-source object handles, this attribute returns "DATASET", "DATA-RELATION", and "DATA-SOURCE", respectively.
For a server-socket handle, the TYPE attribute returns "SERVER-SOCKET", and for a socket handle, it returns "SOCKET".
For the SOAP-fault and SOAP-fault-detail object handles, this attribute returns "SOAP-FAULT" and "SOAP-FAULT-DETAIL", respectively.
For the SOAP-header and SOAP-header-entryref object handles, this attribute returns "SOAP-HEADER" and "SOAP-HEADER-ENTRYREF", respectively.
For the X-document and X-noderef object handles, the TYPE attribute returns "X-DOCUMENT" and "X-NODEREF", respectively.
For browse columns, the TYPE attribute returns "COMBO-BOX", "FILL-IN", or "TOGGLE-BOX". If you specify the Browse Column Type (-browcoltype) startup parameter, the TYPE attribute for browse columns returns "BROWSE-COLUMN" regardless of the actual column type.