gui.selectComboBoxItem

(Pre-)Selects an item from a comboBox.

Prototype

  1. bOk = gui.selectComboBoxItem ( hComponent, hComboBoxItem )

Description

Just highlights the item.


Parameters

hComponent - valid GUI comboBox handle
hComboBoxItem - handle of the item you want to select


Return values

bOk - true on success


Sample

  1. if ( hDefaultModule ) then
  2. gui.selectComboBoxItem ( hModuleList, hDefaultModule )
  3. end
  4.  

Available since ShiVa 2.0