gui.setFocusedComponent

Set the focus to a specified component.

Prototype

  1. bOk = gui.setFocusedComponent ( hComponent )

Parameters

hComponent - valid GUI component handle


Return values

bOk - true on success


Sample

  1. gui.setFocusedComponent ( gui.getComponent ( "Find.edit.find" ) )

Available since ShiVa 2.0