<?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 : alignment in calendar item</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : alignment in calendar item]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 11:45:14 +0000</pubDate>
  <lastBuildDate>Wed, 21 Feb 2018 15:08:10 +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=23578</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[alignment in calendar item : Hello,I can advice to investigate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23578&amp;PID=76622&amp;title=alignment-in-calendar-item#76622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23578<br /><strong>Posted:</strong> 21 February 2018 at 3:08pm<br /><br />Hello,<br><br>I can advice to investigate using markup in Calendar Control.<br><br>See our VB sample<br>c:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v18.3.0\Samples\Calendar\VB\CustomCalendar\frmMain.frm<br><br>methods&nbsp;mnuEnableMarkup_Click() and CalendarControl_GetItemText&nbsp; <table width="99%"><tr><td><pre class="BBcode">&nbsp; &nbsp; ElseIf Params.Item = <b>xtpCalendarItemText_EventMarkupTemplate </b>Then<div>&nbsp; &nbsp; &nbsp; &nbsp; If Params.ViewEvent.Event.CustomProperties.Property("xtpMarkupTemplate") = "" Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Params.Text = _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&lt;StackPanel Margin='5, 5, 5, 5' VerticalAlignment='Top' " &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "HorizontalAlignment='Center'&gt;" &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&lt;TextBlock Padding='0,10,0,0' TextWrapping='Wrap'&gt;&lt;Italic&gt;Customized Subject:&lt;/Italic&gt;&nbsp; " &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "<b>/Calendar/Events/Event/Subject</b>&lt;/TextBlock&gt;" &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&lt;TextBlock Padding='0,10,0,0'&gt;&lt;Italic&gt;Customized Body:&lt;/Italic&gt;<b>/Calendar/Events/Event/Body</b>&lt;/TextBlock&gt;" &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&lt;TextBlock Padding='10,10,0,0'&gt;" &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&nbsp; &nbsp;- Codejock" &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&lt;/TextBlock&gt;" &amp; _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "&lt;/StackPanel&gt;"</div>&nbsp; &nbsp; &nbsp; &nbsp; End If</pre></td></tr></table><br><br>I see that no documentation for flag&nbsp;xtpCalendarItemText_EventMarkupTemplate. So in code sample above we set template for Markup. Then on drawing constants like <b>"/Calendar/Events/Event/Subject" </b>will be replaced with appropriate values from event. Full list of constants is <table width="99%"><tr><td><pre class="BBcode">"/Calendar/Events/Event/Subject"<div>"/Calendar/Events/Event/Location"</div><div>"/Calendar/Events/Event/Body"&nbsp; &nbsp;</div><div>"/Calendar/Events/Event/StartTime"</div><div>"/Calendar/Events/Event/EndTime"</pre></td></tr></table></div><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Wed, 21 Feb 2018 15:08:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23578&amp;PID=76622&amp;title=alignment-in-calendar-item#76622</guid>
  </item> 
  <item>
   <title><![CDATA[alignment in calendar item : Or another (text)colour could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23578&amp;PID=76614&amp;title=alignment-in-calendar-item#76614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6494">velddriel</a><br /><strong>Subject:</strong> 23578<br /><strong>Posted:</strong> 20 February 2018 at 1:54pm<br /><br />Or another (text)colour could also be a good option/alternative]]>
   </description>
   <pubDate>Tue, 20 Feb 2018 13:54:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23578&amp;PID=76614&amp;title=alignment-in-calendar-item#76614</guid>
  </item> 
  <item>
   <title><![CDATA[alignment in calendar item : Is it possible to add alignment...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23578&amp;PID=76607&amp;title=alignment-in-calendar-item#76607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6494">velddriel</a><br /><strong>Subject:</strong> 23578<br /><strong>Posted:</strong> 19 February 2018 at 12:36pm<br /><br />Is it possible to add alignment to text on a calendar item.<div>I can show extra text by adding text to the subject, but I would like to give text extra attention by alligning it to the right.</div><div><br></div><div>Regards</div><div>Eric Ariens</div>]]>
   </description>
   <pubDate>Mon, 19 Feb 2018 12:36:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23578&amp;PID=76607&amp;title=alignment-in-calendar-item#76607</guid>
  </item> 
 </channel>
</rss>