FormComboBoxControl.showLabel Method [AX 2012]

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

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.

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);

Community Additions

ADD
Show: