The present invention provides an ability to generate a different layout on the
screen of a calendering program. The program generates customized time slots according
to the start and end points of the appointments of the day. In addition to time
slots covering appointments, empty time slots will be generated but will not appear
on the screen if they overlap with an existing appointment. The elimination of
unnecessary images for empty time slots which are in between appointments allows
for a more efficient use of space on the display screen. In compressed view mode,
empty one-hour time slots will be generated to the extent necessary to fill up
the screen. If in non-compressed view mode, empty time slots of one-hour duration
will be added to the layout from the beginning to the end of the day.