Desktop Calendar and Diary

by Mike Ironmonger

updated by Mike Fowler


Calendar is a considerably enhanced version of the Desktop Diary
application originally published in RISC User 2:9 and 2:10. Its most
important new feature is the recurring dates option. Any note that you enter
in Calendar can be set to repeat either monthly or yearly, and up to ten
note windows can be opened at a time.

CHOOSING DATES
The Calender window is opened by clicking the icon bar icon. The current
date is initially displayed, but any other month can be shown by clicking on
the left and right arrows at either side of the calendar. Clicking with
Select moves forward or backwards by a month, depending on the arrow used,
clicking with Adjust moves in the opposite direction, and clicking with
Shift held down moves forward or backwards by a year.

ENTERING NOTES
New notes are entered by clicking on the day for which you want to enter a
note. If an entry already exists for that date, you can modify the notes for
it, otherwise the Frequency dialogue box opens, allowing you to select the
frequency that the note will recur. This can be Once, Monthly or Annually.
Clicking OK will then open the note window for that date.

The background colour of each day indicates the note type that exists for
it. The colours are: Orange - once, Green - monthly and Blue - annually.

PRINTING NOTES
Notes are printed using the Print notes option from the Calendar windows
menu. Monthly and annually recurring notes are only printed once, rather
than once for each month/year they fall in. The sub-menu indicates what
information to print.

Month
All once, monthly and annual notes which fall in this month are printed.

Year
All once, monthly and annual notes falling in the current year are printed.
Monthly notes are printed as the day followed by '(monthly)', e.g. 16
(monthly). Annually notes are printed similarly, but followed by (annually),
e.g. 24 June (annually).

All
All notes are printed with annually and monthly recurring notes been printed
as for Year.

Recurring dates have been achieved by setting month=0-11 and year=0 for
annual dates, and month=0 and year=1 for monthly dates, thus forcing them to
be stored at the start of the date file, so that they are found first by the
machine code search, find_entry, etc. routines.


 Copyright RISC User 1993
