Android Question AS Scheduler Question

sdleidel

Active Member
Licensed User
Longtime User
When I add an appointment, I would need a way to add my own "ID"
so that when I click on it I also get the ID back. Is there a possibility?
 

Alexander Stolte

Expert
Licensed User
Longtime User
For this request the “Tag” property is available, there you can add a custom value. e.g. an id or a json string if you need to store more than one custom property.
B4X:
    Dim Appointment As ASScheduler_Appointment = ASSchedulerUtils.CreateASScheduler_Appointment(0,"Test2","Description",xui.Color_ARGB(255,45, 136, 121),False,DateTime.Now,DateTime.Now + DateTime.TicksPerHour)
    Appointment.Tag = 126
    ASScheduler_MonthView1.API.CreateAppointment(Appointment)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…