<?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 : ReportItemButton Alignment Property</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : ReportItemButton Alignment Property]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 21:30:06 +0000</pubDate>
  <lastBuildDate>Wed, 22 Apr 2015 11:04:49 +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=22512</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[ReportItemButton Alignment Property : Hello,ReportItemButton is designed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22512&amp;PID=73327&amp;title=reportitembutton-alignment-property#73327</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 22512<br /><strong>Posted:</strong> 22 April 2015 at 11:04am<br /><br />Hello,<br><br>ReportItemButton is designed to control main content/value  of ReportRecodItem. I think the simplest way to get button as main content of report cell is using markup with xaml. See our sample&nbsp;<br><br>C:\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v16.4.0\Samples\ReportControl\VB\ReportSample\frmMain.frm<br><br>my changes in frmMain.frm for handle markup button:<br><table width="99%"><tr><td><pre class="BBcode">Public Sub MButton_Click(ByVal Sender As Object, ByVal Arg As Object)<br>    Debug.Print "MButton_Click"<br>    Arg.Handled = True<br>End Sub<br><br>Private Sub Form_Load()<br>    wndReportControl.EnableMarkup = True<br>    wndReportControl.MarkupContext.SetMethod Me, "MButton_Click"<br>...<br>End Sub<br><br>Private Sub AddRecord(...)<br>    Dim Record As ReportRecord<br>    Set Record = wndReportControl.Records.Add()<br><br>    Dim Item As ReportRecordItem<br>    Set Item = Record.AddItem("")<br>    Item.Caption = "&lt;Button Cursor='Hand' Click='MButton_Click'&gt; &lt;TextBlock HorizontalAlignment='Center'&gt; markup button &lt;/TextBlock&gt; &lt;/Button&gt;"<br>...<br>End Sub</pre></td></tr></table><br>Regards,<br>&nbsp;Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Wed, 22 Apr 2015 11:04:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22512&amp;PID=73327&amp;title=reportitembutton-alignment-property#73327</guid>
  </item> 
  <item>
   <title><![CDATA[ReportItemButton Alignment Property : I have placed the ReportItemButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22512&amp;PID=73044&amp;title=reportitembutton-alignment-property#73044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7631">magicorange</a><br /><strong>Subject:</strong> 22512<br /><strong>Posted:</strong> 15 January 2015 at 7:30am<br /><br />I have placed the ReportItemButton to report control. <br />but the button's Alignment Property can not be set to "Center", only 3 property available(xtpReportItemControlUnknown, xtpReportItemControlLeft, xtpReportItemControlRight)<br /><br />It is a bug?]]>
   </description>
   <pubDate>Thu, 15 Jan 2015 07:30:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22512&amp;PID=73044&amp;title=reportitembutton-alignment-property#73044</guid>
  </item> 
 </channel>
</rss>