Android Example [B4X] AS Scheduler - DayView


The following thread lists all the features that the DayView of the AS_Scheduler has.


Appointments Overview

Appointment OverviewGap
The OverviewGap is always 8dip and it's per default enabled
B4X:
ASScheduler_DayView1.AppointmentProperties.OverviewGap = True

Blackout Day
A blackout day is a day where the user cannot add appointments. The day is blocked for interactions.
B4X:
    Dim BlackoutStartDate As Long = WeekStartDate+DateTime.TicksPerDay*5
    ASSchedulerUtils.API.CreateBlackout(ASSchedulerUtils.CreateASScheduler_Blackout(0,BlackoutStartDate,BlackoutStartDate+DateTime.TicksPerDay))'2 days

Working Hours
Defines a visual area that should represent working times. Appointments can still be created outside the area as usual.
B4X:
ASScheduler_DayView1.WorkingProperties.Active = True
ASScheduler_DayView1.WorkingProperties.StartHour = 8
ASScheduler_DayView1.WorkingProperties.EndHour = 17
ASScheduler_DayView1.WorkingProperties.NonWorkingDays = Array As Int(ASSchedulerUtils.WeekDay_Saturday,ASSchedulerUtils.WeekDay_Sunday)

ShowStartEndTime and ShowDuration
Better overview of the time and duration of an appointment.
B4X:
    ASScheduler_DayView1.AppointmentProperties.ShowDuration = True
    ASScheduler_DayView1.AppointmentProperties.ShowStartEndTime = True
    ASScheduler_DayView1.RefreshScheduler


Week Number and Month Name
In the designer you can set whether you want to have the week number and or the month name displayed.

Theming
You can switch seamlessly from dark design to light design.
Have a look at the following thread:
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…