This documentation is archived and is not being maintained.
FormComboBoxControl.label Method [AX 2012]
Gets or sets the label for a control.
public str label([str value])
Run On
Client
Parameters
-
value
- Type: str
The value to assign as the label of the control; optional.
Return Value
Type:
str
The current value of the label string.
The label determines the text that is displayed in the control or adjacent to it.The label property value cannot exceed 250 characters.
The following example shows how to return and set the label of the control.
// Return the label value.
info(strfmt("label: %1", this.label()));
// Set the label value.
this.label("New label text goes here");