Property of the ScriptLine : DiaryGridLines.
This property replaces the Begin Rule/End Rule property when a DiaryGridLine is part of an Insert block. While the Begin/End Rules are based on the Year property, the Insertion Rule are based on the dates that triggered the insertion occurrence. That date can be caused by one of the following properties : Specific Dates, Repeating Dates, Variable Dates.
Options for Monthly Inserts
Options for Daily and Weekly Inserts
While the Begin/End Rules property determine a starting date and an ending date, the Insertion Rule property defines the starting date using the First Grid option, and then repeats this grid a number of times determined by the Number of Grids option, to generate within the insertion block. The settings "Current – x" and "Current + x" are easy to understand from the above. Note that it is possible to have insertions overlap; for example, you may have decided to insert 2 grids of a monthly grid every month. You would then have Jan-Feb at the end of January, Feb-Mar at the end of February, etc…
For example, suppose we have an occurrence of the Insert ScriptLine on Tuesday May 22nd, then if the current grid is a monthly, then Q++Studio would generate a full monthly grid beginning at the month of May.
In the case of daily inserts or weekly inserts, the Month Fit additional option allows you to specify that:
•In the case of daily inserts, you will be able to create daily diaries with monthly inserts, where the 1st of the month must always be in a specific position (usually at the top of the right page, but not necessarily).
•In the case of a weekly insert, that the required number of weekly grids (4, 5, or 6 depending on the month and year) will automatically be inserted.
In both cases, you will then be able to specify special formatting for days before and after the month.