GetClass Function

Class

AnyWin class.

Action

Returns the class of the window.

Syntax

dWinClass = window.GetClass()
Variable Description
dWinClass The class of the window. DATACLASS.

Notes

GetClass returns a DATACLASS that is the class of the window. The class can be either a built-in class, such as the DialogBox or PushButton class, or a user-defined class.

Backward Compatibility

In Release 1, GetClass returned a string containing the name of the platform-specific internal class of the window instead of the 4Test window class. Set the OPT_REL1_CLASS_LIBRARY option to TRUE to use the pre-Release 2 version of this method.

Example

WINDOW Wnd
DATACLASS Class
Wnd = TextEditor.GetActive()
Class = Wnd.GetClass()