updateCaption(userCaption : String, fireEvents : Boolean)
userCaption. Custom text of the header. Optional parameter.
fireEvents. Fire of the event.
The updateCaption method refreshes panel header.
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: