Short: MUI custom class V16.8 Author: hofmann@hofmann-int.de (Dipl.-Inform. Kai Hofmann) Uploader: hofmann hofmann-int de (Dipl -Inform Kai Hofmann) Type: dev/mui Version: 16.8 Requires: MUI 3.5, date.library Architecture: m68k-amigaos MonthNavigator is a Custom Class of the Magic User Interface © by Stefan Stuntz. It is a subclass of group-class and Date.mcc. The idea of this class was born during developing my Gregor application. MUI public custom class showing a field with the days of a specified month in a specified year. The user decides if the names of the weekdays and the weeknumbers will be shown. Also it is possible for the user to set which weekday should be the day on which a week was started - the language for the weekday names can also be chosen. A special feature of this class is, that it correctly handles October 1582. In this month the days 5-14 didn't exist, because they were removed by the Gregorian calendar reform. This calendar reform happens in different years for different countries, so the user can set his country with the user preferences. Users can change the display of MonthNavigator with the following features: - Show/Hide names of the weekdays - Select name of weekday with which a week starts - Select the language to use for the names of weekdays (out of 28) - Show/Hide weeknumbers - Select the country for the Gregorian calendar reform (unusable as long as the date.library has not fully implemented this feature) - Set the distance between the day-field and the names of weekdays/weeknumbers - Use frames for day-fields - Fix the day-field to 6 rows - Show/Hide unused day-fields - Display the last/first days of the previous/next month within the unused day-fields. - Define how days of the previous/next month should be highlighted - Define how the internal 'mark today' hook should highlight today - Choose between american or european layout MonthNavigator supports also the following features which might be of interest for developers: - Based on Date.mcc - Dropping a date-object onto a MonthNavigator will set this date as the actual one - Objects can be dropped onto the days - Days can be dragged around - Days can be marked by changing the following attributes: * MUIA_Text_PreParse * MUIA_Background * MUI_ShortHelp * MUIA_Disabled - Supporting MUIM_Import and MUIM_Export - Dates can be correctly selected from 0008-01-01 to 8000-12-31 by using the DateLib (TM) The MonthNavigator also supports three input modes: read-only, relverify and the immediate mode.