TreeCombo.updateCaption

Syntax

updateCaption(userCaption : String, fireEvents : Boolean)

Parameters

userCaption. Custom text of the header. Optional parameter.

fireEvents. Fire of the event.

Description

The updateCaption method refreshes panel header.

Example

To execute the example place the component DimensionCombo named dimCombo. Update the panel header in the command line:

// Get the tree instance
tree = dimCombo.getControl();
// Update the header
tree.updateCaption("Select item");

As a result of example execution, custom header text is set.

See also:

TreeCombo