Share via


FormComboBoxControl.showLabel Method

Sets or returns a value that indicates whether the label for the control is displayed in the form.

Syntax

public boolean showLabel([boolean value])

Run On

Client

Parameters

  • value
    Type: boolean
    The value to assign to the showLabel property for the control.

Return Value

Type: boolean
true if the label should be displayed; otherwise, false.

Examples

The following example shows how to return and set the showLabel property for a control.

// Return the showLabel value. 
info(strfmt("showLabel: %1", this.showLabel())); 
// Set the showLabel value. 
this.showLabel(false);

See Also

FormComboBoxControl Class

FormComboBoxControl.label Method