Posted 5 July 2021, 12:33 pm EST
Hi,
We are populating a C1Schedule control in code (ie it’s not bound to a data source) with appointments and I need to know how to jump to a particular appointment and highlight it in some way (maybe change its colour etc).
For example, say we have 100 appointments in the datastorage and we know we want to show appointment saved in position/index = 73:
Me.C1Schedule1.DataStorage.AppointmentStorage.Appointments.Item(73)
so we need this appointment to be shown in the Schedule and say highlighted in green.
I know I can use the GotoDate function to go to a particular date - but we may have multiple appointments all on the same day (or in fact for the same time too) - so we not only need to go to the date, but the actual appointment (in pos 73) and then highlight it, so the user can see it stand out in some way.
Hope someone can help ?
Cheers,
Chris.