<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Calendar header</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Calendar header]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 08:50:37 +0000</pubDate>
  <lastBuildDate>Fri, 19 Jan 2007 18:15:25 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=6016</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Calendar header : this is perfect! thank you!  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19542&amp;title=calendar-header#19542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2651">scbdpm</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 19 January 2007 at 6:15pm<br /><br />this is perfect! thank you!<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 18:15:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19542&amp;title=calendar-header#19542</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : Note that it&amp;#039;s different...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19541&amp;title=calendar-header#19541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 19 January 2007 at 6:03pm<br /><br />Note that it's different for Normal days, Selected days, etc, and it should be set separately. The following piece of code works just fine:<br><table width="99%"><tr><td><pre class="BBcode"><br>pTheme2007.DayView.Day.Header.TextCenter.Normal.Font.Bold = True<br>pTheme2007.DayView.Day.Header.TextCenter.Normal.Font.SIZE = 12<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>pTheme2007.DayView.Day.Header.TextCenter.Selected.Font.Bold = True<br>pTheme2007.DayView.Day.Header.TextCenter.Selected.Font.SIZE = 12<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>pTheme2007.DayView.Day.Header.TextCenter.Today.Font.Bold = True<br>pTheme2007.DayView.Day.Header.TextCenter.Today.Font.SIZE = 12<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>pTheme2007.DayView.Day.Header.TextCenter.TodaySelected.Font.Bold = True<br>pTheme2007.DayView.Day.Header.TextCenter.TodaySelected.Font.SIZE = 12<br></pre></td></tr></table> <br><br>Also to adjust header height somewhere after you set theme Office 2007 change height like<br><table width="99%"><tr><td><pre class="BBcode"><br>objThemeOfice2007.DayView.Day.Header.HeightFormula.Constant = objThemeOfice2007.DayView.Day.Header.HeightFormula.Constant + 7<br></pre></td></tr></table> <br>do not set this in BeforeDrawThemeObject because this setting applyed on Populate call.<br><br>Also if you do not need dynamically chahge your font by some condition use static customization, like for height:<br><table width="99%"><tr><td><pre class="BBcode"><br>objThemeOfice2007.DayView.Day.Header.TextCenter.Normal.Font.SIZE = 12<br>......<br>objThemeOfice2007.RefreshMetrics<br></pre></td></tr></table><br><br><br>Also to understand theme customization look our VB Sample, <br>&nbsp;&nbsp;&nbsp; menu Calendar -&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Customize office 2007 Theme <br>&nbsp;<br>--<br>WBR,<br>Serge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 18:03:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19541&amp;title=calendar-header#19541</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : that&amp;#039;s not helpful at all,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19536&amp;title=calendar-header#19536</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2651">scbdpm</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 19 January 2007 at 4:43pm<br /><br /><P>that's not helpful at all, that is just the code from your sample and doesn't change font or font size, just the color of the header...</P><DIV>please re-read my post!!!</DIV>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 16:43:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19536&amp;title=calendar-header#19536</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : For this caption you should reference...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19532&amp;title=calendar-header#19532</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 19 January 2007 at 4:29pm<br /><br />For this caption you should reference the following piece of code in the sample:<br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; ElseIf eObjType = xtpCalendarBeforeDraw_DayViewDay Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007.DayView.Day.Header.BaseColor = 20000 + 100 * Weekday(Params.Date)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007.DayView.Day.Header.TodayBaseColor = RGB(0, 0, 0)<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 16:29:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19532&amp;title=calendar-header#19532</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : I am referencing the screen shot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19528&amp;title=calendar-header#19528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2651">scbdpm</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 19 January 2007 at 3:45pm<br /><br />I am referencing the screen shot I pasted above.<DIV>&nbsp;</DIV><DIV>So those lines of code do not seem to change the font/font size of the day of the week (Sunday which is currently showing) but rather is changing the size/font of the schedule headers (i.e. ARI, MEH, etc) that are at the bottom of that screen shot fragment......</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 15:45:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19528&amp;title=calendar-header#19528</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : yes, you&amp;#039;re correct.--WBR,Serge ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19522&amp;title=calendar-header#19522</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 19 January 2007 at 2:52pm<br /><br />yes, you're correct.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Fri, 19 Jan 2007 14:52:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19522&amp;title=calendar-header#19522</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : would it be a line like this:  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19489&amp;title=calendar-header#19489</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2651">scbdpm</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 18 January 2007 at 7:01pm<br /><br />would it be a line like this:<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007.DayView.Day.Header.TextCenter.Normal.Font.Bold = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pTheme2007.DayView.Day.Header.TextCenter.Normal.Font.SIZE = 12</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 18 Jan 2007 19:01:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19489&amp;title=calendar-header#19489</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header :    scbdpm wrote:Actually one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19455&amp;title=calendar-header#19455</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 17 January 2007 at 3:59pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by scbdpm" alt="Originally posted by scbdpm" style="vertical-align: text-bottom;" /> <strong>scbdpm wrote:</strong><br /><br />Actually one last quick question....<div>&nbsp;</div><div>is there a way to change the font/font size of this header?</div></td></tr></table><br><br>For Office2007 theme look at the similar event handler BeforeDrawThemeObject and the message xtpCalendarBeforeDraw_DayViewDay.<br><br>Take a look at our regular sample for more details.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 15:59:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19455&amp;title=calendar-header#19455</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : Actually one last quick question....  is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19436&amp;title=calendar-header#19436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2651">scbdpm</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 17 January 2007 at 9:01am<br /><br />Actually one last quick question....<DIV>&nbsp;</DIV><DIV>is there a way to change the font/font size of this header?</DIV>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 09:01:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19436&amp;title=calendar-header#19436</guid>
  </item> 
  <item>
   <title><![CDATA[Calendar header : Serge,  Got it! Thanks for your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19435&amp;title=calendar-header#19435</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2651">scbdpm</a><br /><strong>Subject:</strong> 6016<br /><strong>Posted:</strong> 17 January 2007 at 8:59am<br /><br />Serge,<DIV>&nbsp;</DIV><DIV>Got it! Thanks for your patience!!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 17 Jan 2007 08:59:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6016&amp;PID=19435&amp;title=calendar-header#19435</guid>
  </item> 
 </channel>
</rss>