Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the label for a control.
Syntax
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.
Remarks
The label determines the text that is displayed in the control or adjacent to it.The label property value cannot exceed 250 characters.
Examples
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");