THIS WINDOW OBJECT REFERENCE
  

It provides a reference to the current control/window in event code.

SYNTAX

ThisWindow.<Property/MethodName>

EXAMPLES:

Window_idx := ThisWindow.Index