Shading only part of the current Minicalendar's textbox

Navigation:  FAQ > GridTemplates and Tokens >

Shading only part of the current Minicalendar's textbox

Previous pageReturn to chapter overviewNext page

Suppose you wished to shade only part of the current minicalendar of a diary, as shown below.


The solution is to have 2 textboxes per minicalendar, one containing the minicalendar, and the other one being used to display the shade (and containing as only text the same Minicalendar Marker token as the box containing the minical text).




The important element is that the minicalendar textbox's background color should be none, while the color of the shading textbox should be set to the desired color. The shade of both boxes should be set to 0%.


Then in the Minicalendar Options for the current month, specify that the shade should be set to a non-zero value for the current month (but do not specify a color).



Both textboxes' shade will be changed, but 100% of the color None is still None, so the background of the textbox containing the minical text will remain colorless, while the desired shade will be displayed for the other textbox.


Note that by default the current minical is the one whose month corrresponds to the month of the Minicalendar Marker token. If you wish to have 2 minicals treated as current, for example in a weekly diary with a change of month across 2 pages, then you can do this by setting the Minical is defined as current if option of the current DiaryGridLine's GridOptions property accordingly.

Topic 174560 updated on 12-Feb-2003.
Topic URL: