Understanding MiniCalendar Options

Navigation:  ScriptLine Properties > Minicalendars >

Understanding MiniCalendar Options

Previous pageReturn to chapter overviewNext page

There are 2 distinct MiniCal properties; MiniCal (current) which defines the options for the MiniCalendar that corresponds to the current month, and MiniCals (others) which defines the options for all other MiniCalendars. Q++ determines whether a MiniCalendar is current or not, based on the DayValue of the MiniCal token that marks the textbox as a MiniCalendar textbox, and the setting used to define the current-ness of a Minical, in GridOptions.

 

If this token is a relative-month minical token, of the form [mc+00], then clearly a MiniCalendar controled by a [mc+00] token is current, and all others, such as [mc+01] and [mc-01], are not.

 

In the case of a fixed-month minical token, of the form [mc001]..[mc012], then a MiniCalendar will be current if the value that follows the "mc" corresponds to the month of the date of this token.

 

The MiniCal (Current) property is not defined for yearly diaries.

 

The other important aspect of MiniCalendar options is that the groups of options of the MiniCal property editors are not mutually exclusive. A date which corresponds to the current day, will also correspond to the current week, as well as the current month. To make matters possibly more confusing, that same date could also correspond to an occurence of a holiday list used in the MiniCalendar option, as well as correspond to a moon phase. How do all these options come together ?

 

Note that attributes are applied (or removed) cumulatively in the following order : current month, current week, current day, holidays, outside days, and finally moon phases (looking at the property editor, the order goes from top to bottom and then from left to right). That means that if you set the current week to be bold and the current day to be italic, then the date in the MiniCalendar that correspond to the current date will be bold and italic.

 

To understand how all the MiniCalendar options are combined, you can use the preview, but it is important to remember that the minical preview only shows the attributes that it will add to the existing text in the minicalendar token. When previewing a minicalendar, Q++ does not know what the fonts of the text in that text box is.

 

Finally, if you are getting unexpected results in your output file, make sure you read the section on Potential Issuesbelow.


Topic 143000 updated on 25-Aug-2002.
Topic URL: http://www.qppstudio.net/webhelp/index.html?understanding.htm