Hello,
I would like to share this library I created. It's a Google-Calendar-style calendar that allows you to show your events in a fully customizable calendar.
How to use it:
Enjoy!
I would like to share this library I created. It's a Google-Calendar-style calendar that allows you to show your events in a fully customizable calendar.
How to use it:
- Copy the jAgenda.jar and jAgenda.xml to your libraries folder.
- Copy the jAgenda.fxml to your project/Files folder.
- In the Process_Globals, create a variable as jAgenda.
- Create a pane control in the Designer. The Agenda will be loaded in this pane.
- Don't forget to call "agenda.Resize(Width, Height)" In the resize event of the pane (Otherwise the events won't resize properly).
Enjoy!
[Update 4: December 13th, 2016]
- Fixed error messages when starting
- initialize method now needs a pane (previously anchorpane)
- fixed resizing problem
[Update 3: August 25th, 2015]
There is still an error at the application start. I don't have time to look into it right now, so just change the code :
- Fixed the crash when using B4J 3.50. Please download the file "jAgenda_v2_B4J_3_50.zip" and replace your existing libraries.
withB4X:agenda.Resize(Width, Height)
In your resize sub.B4X:Try agenda.Resize(Width, Height) Catch Log(LastException.Message) End Try
[Update 2: March 3rd, 2014]
[Update 1]
- Fixed the overlapping events
- Added new methods: StyleHeaderToday, StyleHeaderOtherMonths, StyleHeaderThisMonth to set the style for the day headers
- Removed the day colors methods
- Different signature for the _DayClicked and _EventClicked events:
B4X:Sub agenda_EventClicked (EventData As MouseEvent, ClickData As jAgendaUserEvent) ' End Sub Sub agenda_DayClicked (EventData As MouseEvent, ClickData As jAgendaDate) ' End Sub
- More info required for the addEvent method: Time, place, category, tag. This is because in a future update I plan to have a filter by category method. Think of categories like calendars in Google calendars, that you can show or hide.
- Possibility to add a Tag to the events
- Removed the unnecessary need for the expressionevaluator.jar
- Display the Year next to the month's name in the header
- Display (Today) next to today's date
- added GoToToday method
Attachments
Last edited: