Android Question [B4X] ASScheduler_DayView1.DayCount has a littel Bug?

roddy

Member
Licensed User
Longtime User
This code:
B4X:
ASScheduler_DayView1.DayCount = ASScheduler_DayView1.DayCount_ThreeDays
...


Private Sub Previous_Click
    ASScheduler_DayView1.PreviousWeek()
    ASScheduler_DayView1.RefreshScheduler
End Sub

Private Sub Next_Click
    ASScheduler_DayView1.Nextweek()
    ASScheduler_DayView1.RefreshScheduler
End Sub

Use PreviousWeek() and Nextweek() The action is fine.

But, changing to "DayCount_FiveDays" action is still 3 days.
 

Alexander Stolte

Expert
Licensed User
Longtime User
But, changing to "DayCount_FiveDays" action is still 3 days.
Please read the property description, if you hover with the mouse about it, there is the following description:
"Call RefreshComplete if you change something"

B4X:
ASScheduler_DayView1.DayCount = ASScheduler_DayView1.DayCount_SevenDays
ASScheduler_DayView1.RefreshComplete
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…