"currentItem"

Returns the ID of the element that has the keyboard focus.

Synopsis

shape.currentItem();

Parameters

Parameter Description
shape Name of the object

Description

Returns the ID of the element that has the keyboard focus.

Example

In the following example the ID of the element that has the keyboard focus, is returned.

main()
{
  DebugN(TREE1.currentItem());
}

Assignment

Tree widget