Vizard 8 » Command Index » Vizard modules » viz » <viz>.getFocusedNode
8.1

<viz>.getFocusedNode

Returns the GUI node that currently has input focus

<viz>.getFocusedNode()  

Remarks

Returns the GUI node that currently has input focus.

Return Value

The GUI node that currently has input focus.

Example

checkBox = viz.addCheckbox()
checkBox.setFocus( viz.ON )
shouldBeCheckBox = viz.getFocusedNode()