Loading...
 

Widget

Widget

Widget(windowID, childID), Widget(windowID), Widget(, childID), Widget

parameters: Identifier of a Windows (and a child Windows object)

Stack
Stack Position Description
Stack(In) Top -
Stack(Out) Top Window object (class CX_WIDGET)

With this instruction you can put a (child) Window object on the stack (also applies to Windows and its child objects, which are currently not open).
A window object can be used as a parameter of SendMsg(, DIRECT) to send a message directly to this widget. Statements for manipulating the window interface (Statement(STACK), Statement(, STACK), etc.) can be used to refer to the window object.

The command Widget without parameters always returns the currently active widget from the InstantView context. For example, if a SELECT event is currently being edited on a button, Widget returns the window object for this button.