Seite 1 von 2

[Module] CalendarEx - Module (all OS)

Verfasst: 06.07.2019 16:39
von Thorsten1867
CalendarEx - Gadget (all OS / 64Bit / DPI)
  • Anzeige von Terminen
  • Import & Export von iCal
  • Unterstützung von Date64
  • automatische Größenanpasung
  • Unterstützung von GUI - Themes (benötigt ModuleEx.pbi)
Bild

Code: Alles auswählen

; CalendarEx::AddEntry()           - add an entry to the calendar
; CalendarEx::AttachPopupMenu()    - attachs a popup menu to the chart
; CalendarEx::CountEntries()       - counts entries of the day of current month
; CalendarEx::GetDate()            - similar to Date()
; CalendarEx::DefaultCountry()     - set country code for default language [DE/AT/FR/ES/GB/US]
; CalendarEx::DisableReDraw()      - disable/enable redrawing
; CalendarEx::ExportDay()          - exports the events of this day as a file    (iCal)
; CalendarEx::ExportLabel()        - exports the event with this label as a file (iCal)
; CalendarEx::EventDate()          - returns date after event
; CalendarEx::EventDayOfMonth()    - returns the day of month
; CalendarEx::EventEntries()       - returns calendar entries after event as linked list (CalendarEx::Entries_Structure)
; CalendarEx::Gadget()             - create a new gadget
; CalendarEx::GetDay()             - returns day of selected date
; CalendarEx::GetEntries()         - all entries on this date as linked list (CalendarEx::Entries_Structure)
; CalendarEx::GetMonth()           - returns month of selected date
; CalendarEx::GetState()           - returns selected date
; CalendarEx::GetYear()            - returns year of selected date
; CalendarEx::ImportEvent()        - imports an event from a file (iCal)
; CalendarEx::MonthName()          - defines name of the month
; CalendarEx::RemoveEntry()        - removes an entry form the calendar
; CalendarEx::SetAttribute()       - similar to SetGadgetAttribute()
; CalendarEx::SetAutoResizeFlags() - [#MoveX|#MoveY|#Width|#Height]
; CalendarEx::SetDate()            - similar to SetGadgetState()
; CalendarEx::SetEntryColor()      - change color of entry
; CalendarEx::SetEntryMask()       - change mask of entry
; CalendarEx::SetColor()           - similar to SetGadgetColor()
; CalendarEx::SetFlags()           - set flags [#Year/#Month/#Gadget]
; CalendarEx::SetFont()            - similar to SetGadgetFont()
; CalendarEx::SetMask()            - define mask for time or date
; CalendarEx::SetState()           - similar to SetGadgetState()
; CalendarEx::ToolTipText()        - define mask for tooltips
; CalendarEx::WeekDayName()        - defines name of the weekday
; CalendarEx::UpdatePopupText()    - update menu item text with this mask
Download: CalendarExModule.pbi

Re: [Module] Calendar - Module (all OS)

Verfasst: 06.07.2019 17:34
von RSBasic
Cool :allright:
Kannst du auch eine Option hinzufügen, um auch Tage vom letzten und nächsten Monat anzuzeigen, um die erste und letzte Zeile damit zu füllen? Diese Zahlen können grau dargestellt werden.
Und kannst du auch ein Event hinzufügen, dass die Monate automatisch in kurzer Zeit gescrollt werden, wenn man die linke Maustaste gedrückt hält, wie original beim DateGadget?
Kannst du auch das Datum vor 1970 und nach 2032 unterstützen?

Re: [Module] Calendar - Module (all OS)

Verfasst: 07.07.2019 00:13
von Thorsten1867
Update:
  • Added: #GreyedDays um Tage des vorherigen bzw. daraufolgenden Monats anzuzeigen
  • Added: AddEntry() um Kalendereinträge hinzuzufügen
  • Added: ToolTipps für Kalendereinträge
Bild

Re: [Module] Calendar - Module (all OS)

Verfasst: 07.07.2019 09:47
von RSBasic
:allright:

Re: [Module] Calendar - Module (all OS)

Verfasst: 09.07.2019 11:05
von Thorsten1867
Update: ToolTip-Modul für mehrzeilige Tooltipps mit Titelzeile hinzugefügt.

Re: [Module] Calendar - Module (all OS)

Verfasst: 09.07.2019 22:10
von Thorsten1867
Update: Date64-Modul hinzugefügt, um Datumswerte kleiner 1970 und größer 2038 zu unterstützen.

Re: [Module] Calendar - Module (all OS)

Verfasst: 10.07.2019 11:16
von Thorsten1867
Bugfixes: DPI bei ToolTips

Update: LeftDoubleClick returns as EventData() the day of month (#EventType_Day)

Re: [Module] Calendar - Module (all OS)

Verfasst: 10.07.2019 18:58
von Thorsten1867
Update:
  • Added: Popup-Menü für Tage des Monats / UpdatePopupText()
  • Added: #EventType_Focus / #EventType_RightClick
  • Added: EventDate() / EventEntries()

Re: [Module] Calendar - Module (all OS)

Verfasst: 12.07.2019 16:40
von Thorsten1867
Update: Import & Export von Kalendereinträgen im iCal-Format

Re: [Module] Calendar - Module (all OS)

Verfasst: 13.07.2019 15:06
von Thorsten1867
Update:
  • Changed: AddEntry() -> Colors und ToolTipMask entfernt
  • Added: SetEntryColor() / SetEntryMask() / CountEntries() / GetEntries()
  • Added: Flags für Kalendereinträge (#FullDay/#StartTime/#Duration)