Don't know if my project is of useis there a way to try this lib out?
i need a calendar that is fixed not a dialog.
thanx
looks really nice, thank you. i need it for b4j. actually i am working right now on my own version of calendarDon't know if my project is of use
Calendar with Database
Many thanks to 'walt61' who pointed me in the correct path many times. And thanks to 'DonManfred' who originally came up with the wmCalendar module, and lots of others who have contributed sample code to the forum, all of whom have helped me along the way, all my coding is done to keep my brain...www.b4x.com
There ar a designer property thats important for you:i need a calendar that is fixed not a dialog.
Dim p_1 As Period : p_1.Days = -15
Dim p_2 As Period : p_2.Days = 15
'Here Error
ASCalendarAdvanced1.SetLimitRange(DateUtils.AddPeriod(DateTime.Now,p_1),DateUtils.AddPeriod(DateTime.Now,p_2))
** Activity (act_info_stabilimento) Create, isFirst = true **
Error occurred on line: 369 (ASViewPager)
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.get(ArrayList.java:437)
at anywheresoftware.b4a.objects.collections.List.Get(List.java:117)
at b4a.example3.customlistview._getrawlistitem(customlistview.java:447)
at b4a.example3.customlistview._finditemoffset(customlistview.java:376)
at b4a.example3.customlistview._jumptoitem(customlistview.java:728)
at it.clickmare.app.asviewpager._addpageat(asviewpager.java:138)
at it.clickmare.app.ascalendaradvanced$ResumableSub_AddWeekPanel.resume(ascalendaradvanced.java:2343)
at it.clickmare.app.ascalendaradvanced._addweekpanel(ascalendaradvanced.java:2264)
at it.clickmare.app.ascalendaradvanced._xasvp_horizontal_pagechanged(ascalendaradvanced.java:4119)
at it.clickmare.app.ascalendaradvanced$ResumableSub_CreateCalendar.resume(ascalendaradvanced.java:765)
at it.clickmare.app.ascalendaradvanced._createcalendar(ascalendaradvanced.java:694)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at it.clickmare.app.act_info_stabilimento.afterFirstLayout(act_info_stabilimento.java:105)
at it.clickmare.app.act_info_stabilimento.access$000(act_info_stabilimento.java:17)
at it.clickmare.app.act_info_stabilimento$WaitForLayout.run(act_info_stabilimento.java:83)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
** Activity (act_info_stabilimento) Resume **
It tries to change the visible area, but this is not possible if this area is added after CreateCalender.if i add the code after CreateCalendar work.
but I don't understand how it worked until yesterday.
That's right, because it's not possible to do it automatically, or I'm too stupid to do it. You have to rename it manually.I changed the first day of week to "Sunday", but still shows "Mon" in the name.
How to fix it?
ASCalendarAdvanced1.WeekNameShort = ASCalendarAdvanced1.CreateASCalendarAdvanced_WeekNameShort("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
No it's not possible with this view.I am ready to make a donation for your library but first I wanted to know if it is possible to add images to the calendar?
It's not a problem of the AS_CalendarAdvanced, it is a problem of the AS_ViewPager, if you use the B4J example project and change the orientation to vertical, then you can scroll through the list and it's not working like a viewpager anymore.pc you have the following effect
Thank you Alexader. I'll try it by Monday at the latest (I don't have the project here).Please test it with this AS_ViewPager version
Thats not a bug. The Week Row count is set to 5 in the designer.I found a bug in this control. The control is not showing days 30 and 31 of January. See this prints:
Please test it with this AS_ViewPager version
Also with example if you use new library ( as_view 3.06 ) dont work. You cant select dayHi Alexander.
I tried the new library it actually works.
But it doesn't make you select the day anymore ( SelectedDateChanged(Date As Long) ).
If you try to point the mouse on the day and click it is no longer selected (this is for both windows and MAC)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?