Progress
Language Reference


TYPE Attribute

The type of a handle.

Data Type: CHARACTER

Access: Readable

Applies To: Asynchronous Request Object Handle, Browse, Browse cell, Buffer Object Handle, Buffer-field Object Handle, Button, Combo-box, Control-frame, Dialog-box, Editor, Field-group, Fill-in, Frame, Image, Literal, Menu, Menu-item, Query Object Handle, Radio-set, Rectangle, Selection-list, Slider, Sub-menu, Text, Toggle-box, Window, CLIPBOARD System Handle, CODEBASE-LOCATOR System Handle, COLOR-TABLE System Handle, COMPILER System Handle, CURRENT-WINDOW System Handle, DEBUGGER System Handle, DEFAULT-WINDOW System Handle, ERROR-STATUS System Handle, FILE-INFO System Handle, FOCUS System Handle, FONT-TABLE System Handle, LAST-EVENT System Handle, RCODE-INFO System Handle, SELF System Handle, Server Object Handle, Server-socket Object Handle, SESSION System Handle, Socket Object Handle, THIS-PROCEDURE System Handle (and all procedure handles), X-document Object Handle, X-noderef Object Handle

The TYPE attribute returns the widget or handle type, for example, "WINDOW", "FRAME", "BUTTON," "MENU," or “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 a Progress status or system widget, 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 a server-socket handle, the TYPE attribute returns "SERVER-SOCKET", and for a socket handle, it returns "SOCKET".

For the X-document and X-noderef object handles, the TYPE attribute returns "X-DOCUMENT" and "X-NODEREF", respectively.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095