ClassOf Function

Action

Returns the class of a window.

Syntax

class = ClassOf (wWindow)
Variable Description
class The class of the window.
wWindow The window for which to return the class. WINDOW.

Notes

ClassOf returns the window class (from the window declaration) of the specified window. Calling this function is the same as calling the GetClass method.

Example

Print (ClassOf (TextEditor))// prints:MainWin