Monthly Outside Days

Navigation:  ScriptLine Properties > Grid Options >

Monthly Outside Days

Previous pageReturn to chapter overviewNext page

The Monthly Outside Days GridOption (which is only enabled if the current GridTemplate is a monthly, or a weekly grid inside an insert) is used to specify how to handle days which do not belong to the current month (see diagram below).

 

 

This is an important option, as many checkerboard monthly layouts (very popular in the USA) consist of 5 or 6 weeks, where the first of the month may fall on any day of the top week. Usually we do not wish for the days before the first of the month to appear, nor the days after the end of the month, or we may wish to display them using different typographical attributes.

 

To achieve these effects, you are given the choice of hiding or showing these outside days.

 

       

 

Hiding Outside Days

 

There are 3 different methods of hiding/ignoring the result of tokens that correspond to dates that are outside the month :

 

Blank

The token is simply replaced by nothing. Other tokens and text in the same textbox are not affected. This is a useful option when tokens of many different DayValues are in the same textbox.

Delete

The textbox containing the token will be deleted. This means that any other token in the same textbox will also be hidden, since the containing textbox has been deleted.

Group Delete

Similar to delete, above, but in addition, any object (such as PictureBoxes, lines, …) that is grouped to that textbox will also be deleted.

 

 

When using either of the 2 options above that delete, you can use Never Delete tokens to tell Q++, selectively, not to delete some textboxes, regardless of the tokens within that textbox.

 

Showing Outside Days

 

If you wish to show the outside days of a monthly grid then you can specify the text formatting to apply to dates before and dates after the month. When you click on the ellipsis (...) button, the standard text formatting dialog comes up. If you only wish to show outside days without modifying their attributes, then click on the x button to clear any previously entered attributes.

---

 

Note that tokens inside a MiniCalendar do not get deleted (otherwise it would be impossible to show the previous and next months in MiniCalendar form, within a monthly grid), and dates within a minicalendar are displayed according to another set of options if they fall outside the month.


Topic 107074 updated on 03-Feb-2017.
Topic URL: http://www.qppstudio.net/webhelp/index.html?monthlyoutsidedays.htm