<?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 : Icon (or item) padding/margins</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Icon (or item) padding/margins]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:17:55 +0000</pubDate>
  <lastBuildDate>Sat, 16 Jul 2016 18:36:12 +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=23075</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[Icon (or item) padding/margins : Thanks. but issue with Markup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74892&amp;title=icon-or-item-padding-margins#74892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 16 July 2016 at 6:36pm<br /><br />Thanks. but issue with Markup is that it does not support accents i.e. Á, á, é, É, Ñ, ñ, etc.&nbsp;<div><br></div><div>I tryed with escape words as &amp;Aacute; &amp;Eacute; and others and they dont work<div><br></div><div><br></div></div>]]>
   </description>
   <pubDate>Sat, 16 Jul 2016 18:36:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74892&amp;title=icon-or-item-padding-margins#74892</guid>
  </item> 
  <item>
   <title><![CDATA[Icon (or item) padding/margins : You can use XAML to set text margins.Default...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74891&amp;title=icon-or-item-padding-margins#74891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 15 July 2016 at 3:33pm<br /><br />You can use XAML to set text margins.<br><br>Default RecordItems don't support showing images except icons. You can also try to use XAML for showing images.]]>
   </description>
   <pubDate>Fri, 15 Jul 2016 15:33:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74891&amp;title=icon-or-item-padding-margins#74891</guid>
  </item> 
  <item>
   <title><![CDATA[Icon (or item) padding/margins : Helo Olebed.Yes this code generate...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74890&amp;title=icon-or-item-padding-margins#74890</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 15 July 2016 at 2:42pm<br /><br />Helo Olebed.<div>Yes this code generate the first image.</div><div>Even I have 5 columns I am showing one only colum (the another columns have internal information which is not useful for user, only for program).</div><div><br></div><div>is it possible pad the image into reportcontrol?</div><div><br></div><div>Best regards,</div>]]>
   </description>
   <pubDate>Fri, 15 Jul 2016 14:42:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74890&amp;title=icon-or-item-padding-margins#74890</guid>
  </item> 
  <item>
   <title><![CDATA[Icon (or item) padding/margins : In code you describe ReportControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74889&amp;title=icon-or-item-padding-margins#74889</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 15 July 2016 at 11:33am<br /><br />In code you describe ReportControl with 5 columns, but on image I can see only one cell "FERREINDUSTRIAL DANIEL C.A.". Or this is not ReportControl ? &nbsp; Are images in the first message responsible for code ?<br><br>I have checked icons in ReportControl, they work correctly in VB samples&nbsp;VirtualList and ReportSample.]]>
   </description>
   <pubDate>Fri, 15 Jul 2016 11:33:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74889&amp;title=icon-or-item-padding-margins#74889</guid>
  </item> 
  <item>
   <title><![CDATA[Icon (or item) padding/margins : Thanks Olebed.I placed a ReportControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74888&amp;title=icon-or-item-padding-margins#74888</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 14 July 2016 at 12:02pm<br /><br />Thanks Olebed.<div>I placed a &nbsp;ReportControl on the form, this is the code.</div><div><br></div><div>To load the control:</div><div><br></div><div><div>AxReportControl5.PaintManager.ColumnStyle = XtremeReportControl.XTPReportColumnStyle.xtpColumnResource</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.EnableMarkup = True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.ForceDynamicMarkupForCell = True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.SetCustomDraw(XtremeReportControl.XTPReportCustomDraw.xtpCustomBeforeDrawRow)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.TextFont.Name = Me.Font.Name</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.TextFont.Size = Me.Font.Size</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.PreviewTextFont.Name = Me.Font.Name</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.PreviewTextFont.Size = Me.Font.Size</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.HorizontalGridStyle = XtremeReportControl.XTPReportGridStyle.xtpGridNoLines</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.VerticalGridStyle = XtremeReportControl.XTPReportGridStyle.xtpGridNoLines</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Icons = frmMENU.AxImageManager2.Icons</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns.Add(0, ":Reg", -1, False)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns.Add(1, ":ID", -1, False)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns.Add(2, ":Referencia", -1, False)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns.Add(3, ":Nombre", 100, True)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns.Add(4, ":RIF", 30, True)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(0).Tag = "reg"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(1).Tag = "id"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(2).Tag = "referencia"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(3).Tag = "nombre"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(4).Tag = "cedula"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.NoItemsText = ":No hay registros que coumplan con el criterio de búsqueda"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.FooterRowsDividerStyle = XtremeReportControl.XTPReportFixedRowsDividerStyle.xtpReportFixedRowsDividerShade</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.HeaderRowsDividerStyle = XtremeReportControl.XTPReportFixedRowsDividerStyle.xtpReportFixedRowsDividerShade</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.CaptionFont.Name = Me.Font.Name</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.CaptionFont.Size = Me.Font.Size</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.CaptionFont.Bold = True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.UseAlternativeBackground = True</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.PaintManager.AlternativeBackgroundColor = RGB(176, 224, 230)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(0).HeaderAlignment = XtremeReportControl.XTPColumnAlignment.xtpAlignmentRight</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(0).Alignment = XtremeReportControl.XTPColumnAlignment.xtpAlignmentRight</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Columns(3).Alignment = XtremeReportControl.XTPColumnAlignment.xtpAlignmentIconVCenter + XtremeRe<span ="Apple-tab-span" style="white-space:pre">	</span>portControl.XTPColumnAlignment.xtpAlignmentIconLeft</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.ShowHeader = False</div></div><div><br></div><div>Then, I populate the reportcontrol:&nbsp;</div><div><br></div><div><div>Dim MiItem As XtremeReportControl.ReportRecord</div><div>Dim Regs As Integer</div><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;"><span ="Apple-tab-span" style="white-space:pre">		</span>Dim ConsultaGEN2 As New OdbcCommand("call rec_cliente_05('" &amp; TextBox2.Text &amp; "', 'A');", MiConexion)</span></div></div><div><div><span ="Apple-tab-span" style="white-space:pre">		</span>Dim MisDatos2 As OdbcDataReader</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MisDatos2 = ConsultaGEN2.ExecuteReader</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If MisDatos2.HasRows Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Regs = 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Records.DeleteAll()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Do While MisDatos2.Read</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Regs = Regs + 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem = AxReportControl5.Records.Add()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.AddItem(Regs)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.AddItem("")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.AddItem("")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.AddItem("")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.AddItem("")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.Item(1).Value = MisDatos2.GetInt32(0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.Item(2).Value = RNulo(MisDatos2.Item(1))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.Item(3).Value = RNulo(MisDatos2.Item(2))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.Item(4).Value = RNulo(MisDatos2.Item(3))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MiItem.Item(3).Icon = 160010</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Loop</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Populate()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If AxReportControl5.Rows.Count &lt; 9 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Height = AxReportControl5.Rows.Count * 20.5</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AxReportControl5.Height = 9 * 19.5</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div></div>]]>
   </description>
   <pubDate>Thu, 14 Jul 2016 12:02:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74888&amp;title=icon-or-item-padding-margins#74888</guid>
  </item> 
  <item>
   <title><![CDATA[Icon (or item) padding/margins : Hello ElvisM,Please write code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74887&amp;title=icon-or-item-padding-margins#74887</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 14 July 2016 at 4:52am<br /><br />Hello ElvisM,<br><br>Please write code which you use to create and manage these controls.<br><br>Regards,<br>&nbsp;Oleksandr Lebed]]>
   </description>
   <pubDate>Thu, 14 Jul 2016 04:52:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74887&amp;title=icon-or-item-padding-margins#74887</guid>
  </item> 
  <item>
   <title><![CDATA[Icon (or item) padding/margins : Dear all.I have a reportcontrol...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74884&amp;title=icon-or-item-padding-margins#74884</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2416">ElvisM</a><br /><strong>Subject:</strong> 23075<br /><strong>Posted:</strong> 13 July 2016 at 7:17pm<br /><br />Dear all.<div>I have a reportcontrol which is showing a customer list, but, the icon (left alignment) is nor correctly shown (see image). Is there any way to assign padding or margins for icon (or item) ?&nbsp;</div><div><br></div><div>I tryes with all the alignment values, but, no one works for me.</div><div><br></div><div><img src="uploads/2416/Ic&#111;noMalMostrado.png" height="212" width="613" border="0" /><br></div><div><br></div><div>If you align the icon at right, it is shown perfectly.</div><div><br></div><div><img src="uploads/2416/Ic&#111;noBienMostrado.png" height="123" width="577" border="0" /><br></div><div><br></div><div>Best regards,</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 13 Jul 2016 19:17:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23075&amp;PID=74884&amp;title=icon-or-item-padding-margins#74884</guid>
  </item> 
 </channel>
</rss>