An appointment.
Usage
Set_Property(OLECtrlEntID, "OLE.Appt[ID]", Array)
Values
Array has the following structure:
| Pos | Name | Type | Description | Default |
|---|---|---|---|---|
| <1> | Entity ID | Text | ID of the entity to which the appointment belongs | "" |
| <2> | Start Date & Time | Decimal | The appointment's start date & time in OI internal format | 0.0 |
| <3> | End Date & Time | Decimal | The appointment's end date & time in OI internal format | 0.0 |
| <4> | Back Color | Color | The color of the appointment block | Select |
| <5> | Fore Color | Color | The color of the appointment's text | SelectText |
| <6> | Title | Text | The appointment's title text | "" |
| <7> | Description | Text | The appointment's desciption | "" |
| <8> | Lead Time | Integer | Time from start of appointment | 0 |
| <9> | Lead Back Color | Color | The color of the lead time, if any | 3DFace |
| <10> | Lead Text Color | Color | The color of the lead time's caption and border | 3DShadow |
| <11> | Lead Time Caption | Text | The caption to appear in the center of the lead time area | "Lead Time" |
| <12> | Trail Time | Integer | Time from end of appointment | 0 |
| <13> | Trail Back Color | Color | The color of the trail time, if any | 3DFace |
| <14> | Trail Text Color | Color | The color of the trail time's caption and border | 3DShadow |
| <15> | Trail Time Caption | Text | The caption to appear in the center of the trail time area | "Trail Time" |
| <16> | Conflict Zone Start Date & Time | Decimal | The date and time where the conflict zone begins. | 0 |
| <17> | Conflict Zone End Date & Time | Decimal | The date and time where the conflict zone ends. | 0 |
| <18> | Class | Text | A custom string that classifies this appointment according to the application's needs. | "" |
Indices
| Index | Description |
|---|---|
| ID | Unique ID of an existing appointment |
Remarks
The Appt property is an appointment. You can use it to get the current information on an appointment or to update an appointment. The data is an @FM delimited list. See AppointmentList for more details.
Example
// Move the appointment to another entity Set_Property(@Window:".OLE_SCHEDULE", "OLE.Appt[":ApptID:"]", NewEntity) // Update an appointment's color Set_Property(@Window:".OLE_SCHEDULE", "OLE.Appt[":ApptID:"]", @FM:@FM:@FM:RGB(255, 0, 0)) // Get an appointment Appt = Get_Property(@Window:".OLE_SCHEDULE", "OLE.Appt[":ApptID:"]")