The currently selected appointment.

Usage

Set_Property(OLECtrlEntID, "OLE.SelAppt", Text)

Values

Text can contain anything.

Default: ""

Remarks

The SelAppt property gets and sets the currently selected appointment. Reading this property will provide the appointment ID to the select appointment, or "" if there is no selected appointment. To programmatically set an appointment, pass the appointment ID of the appointment you want to select.

Setting this property does not force the Schedule to that appointment's day. You must set the Date property first, before setting this property to successfully move to the newly selected date.

Example

// Select an appointment and make sure it's date becomes visible 
Appt = Get_Property(@Window:".OLE_SCHEDULE", "OLE.Appt[":ApptID:"]") 
NewDate = Field(Appt<2>, '.', 1) 
Set_Property(@Window:".OLE_SCHEDULE", "OLE.Date", NewDate) 
Set_Property(@Window:".OLE_SCHEDULE", "OLE.SelAppt", ApptID) 

// Get the selected appointment 
SelAppt = Get_Property(@Window:".OLE_SCHEDULE", "OLE.SelAppt")

See Also

AppointmentListApptApptLocked

  • No labels