Adds new labels to the control.

Syntax

Send_Message(CtrlEntId, "OLE.AddLabels", Labels)

Parameters

ParameterDescription
Labels@FM delimited list of labels

Remarks

The AddLabels method adds new labels to the control. A label is a name and a color. Appointments can then be associated with a predefined label for convenient classification. This method takes a single argument: an @FM delimited array, with each field containing two values:

Position
Name
Type
Description
<x, 1>
NameTextThe name of the label, e.g., "Meeting" or "Personal Time Off"
<x, 2>
ColorColorThe label's color.

NOTE: Define your labels before you add your appointments.

Example

// Add two more labels
Labels = ""
Labels<-1> = "Client"    :@VM:"Purple"
Labels<-1> = "Management":@VM:"Green"
Send_Message(@Window:".OLE_CALENDAR", "OLE.AddLabels", Labels) 
  • No labels