getLabel()
Returns the uniface.Label object that represents the Field's label.
Return=
Field.
getLabel()
Arguments
None
Return value
Return—uniface.Label object representing the label of this Field
Setting the Label of a Field
var vInstance = uniface.getInstance("MY_DSP"); var vEntity = vInstance.getEntity("ORDER.ACME"); var vOcc = vEntity.getOccurrence(0); var vField = vOcc.getField("CUSTOMER"); // Set the label of field CUSTOMER var vLabel = vField.getLabel() // Same as vOcc.getLabel("CUSTOMER") vLabel.setValue("Client: ")