<?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 : Tab Control - using a picture</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Tab Control - using a picture]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 05 Jun 2026 18:39:09 +0000</pubDate>
  <lastBuildDate>Tue, 10 Jun 2008 20:17:11 +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=10923</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[Tab Control - using a picture : &amp;gt;&amp;gt;Picture.Handle         Yup,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36523&amp;title=tab-control-using-a-picture#36523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3535">joolz</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 10 June 2008 at 8:17pm<br /><br />&gt;&gt;Picture<FONT color=#ff0000><strong>.Handle</strong><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV><strong><img src="http://forum.codejock.com/smileys/smiley9.gif" border="0"></strong></DIV><DIV>&nbsp;</DIV><DIV><strong><img src="http://forum.codejock.com/smileys/smiley36.gif" border="0"></strong></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#000000>Yup, its all there...... I guess its just a case of getting a 'hwnd' on the way the CJ code help works <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>PS Chris .... fully agree about Code vs Help ... and I am cr*p at writing help myself...</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>What we do here is get one of the Developers who has not worked on a particular code section to write the help for it (so they are newbies)..... That way you invariably get a help file that Users can actually use and get up to speed quickly.... We also use Shockwave more than html thesedays to get over concepts.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Anyway.... great forum</FONT></DIV></FONT>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 20:17:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36523&amp;title=tab-control-using-a-picture#36523</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture :   joolz wrote:YES.........   the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36495&amp;title=tab-control-using-a-picture#36495</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 10 June 2008 at 9:45am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by joolz" alt="Originally posted by joolz" style="vertical-align: text-bottom;" /> <strong>joolz wrote:</strong><br /><br />YES.........<img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"> <DIV>&nbsp;</DIV><DIV>the SSTab1.Icons.AddIcon ImageListTab.ListImages(1).ExtractIcon, 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><DIV>Worked....</DIV><DIV>&nbsp;</DIV><DIV>Funny though, the other method didn't work for me&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>SSTab1.Icons.AddIcon ImageListTab.ListImages(1).Picture, 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><P></td></tr></table> </P><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>This the contents of the help with LoadIcon</DIV><DIV><H4 =dxh4>Description</H4><P>Used to add an icon to the ImageManagerIcons&nbsp;collection of icons from the <FONT color=#ff0000><strong>Handle</strong> </FONT>of the icon.</P><!--DX end --><!--DX start ="Syntax" lang="VB" at="<div =Specific Name=Syntax_VB><H4 =dxh4>$$Syntax$$</H4><P>%%Syntax%%</P></DIV>" --><DIV =Specific Name="Syntax_VB"><H4 =dxh4>Syntax</H4><P><PRE =syntax lang=VB><strong>Public Sub <FONT style=": #316ac5" color=#ffffff>AddIcon</FONT></strong>( _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeSuiteC&#111;ntrols~ImageManagerIc&#111;ns~AddIc&#111;n.html#" target="_blank"><FONT face="Courier New">Handle</FONT></A></I></strong> <strong>As</strong> <B>Long</B>, _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeSuiteC&#111;ntrols~ImageManagerIc&#111;ns~AddIc&#111;n.html#" target="_blank"><FONT face="Courier New">Command</FONT></A></I></strong> <strong>As</strong> <B>Long</B>, _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeSuiteC&#111;ntrols~ImageManagerIc&#111;ns~AddIc&#111;n.html#" target="_blank"><FONT face="Courier New">imageState</FONT></A></I></strong> <strong>As</strong> <a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20V12.0\Help\SymbolReference.chm::/XtremeCalendarC&#111;ntrol~Enumerati&#111;ns~XTPImageState_EN.html" target="_blank"><FONT face="Courier New">XTPImageState</FONT></A> _)<strong> </strong></PRE><P></P></DIV><!--DX end --><!--DXMETADATA start type="FilteredItemList" scrap="PARAMETERS_LIST" namespace="parameter" source="Item" filter="" format="<H4 =dxh4>$$ParameterList$$</H4>%%filtereditemlist%%" --><H4 =dxh4>Parameters</H4><DL><DT><I>Handle</I> <DD>Used to add an icon to the&nbsp;collection of icons from the <FONT color=#ff0000><strong>Handle</strong> </FONT>of the icon. <DT><I>Command</I> <DD>The id that will be used to identify the icon in the collection of icons.&nbsp; This can be any&nbsp;positive (non-zero)&nbsp;number. </DD></DL></DIV><DIV>&nbsp;</DIV><DIV>SSTab1.Icons.AddIcon ImageListTab.ListImages(1).Picture<strong><FONT color=#ff0000>.Handle</FONT></strong>, 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><DIV>That's why your option didn't work <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 09:45:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36495&amp;title=tab-control-using-a-picture#36495</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : I agree about the help. But the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36491&amp;title=tab-control-using-a-picture#36491</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 10 June 2008 at 7:48am<br /><br />I agree about the help.&nbsp; But the way I see it, would you rather have good software and poor help, or excellent help and ........?? &nbsp; So I think they got it the right way round.<br><br>I have only just started using SuitePro so I am having to learn all about it from the sample code. One thing I've noted is that the help files often contain the same code (as examples) but with lots of useful comments added.&nbsp; A bit of cut and paste (from help file to sample code) makes the samples more readable.&nbsp; (might be an idea, CodeJock??),<br><br>And of course we have this excellent forum to ask question in....<br>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 07:48:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36491&amp;title=tab-control-using-a-picture#36491</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : YES.........  the SSTab1.Icons.AddIcon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36485&amp;title=tab-control-using-a-picture#36485</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3535">joolz</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 10 June 2008 at 5:13am<br /><br />YES.........<img src="https://forum.codejock.com/smileys/smiley1.gif" border="0"><DIV>&nbsp;</DIV><DIV>the SSTab1.Icons.AddIcon ImageListTab.ListImages(1).ExtractIcon, 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><DIV>Worked....</DIV><DIV>&nbsp;</DIV><DIV>Funny though, the other method didn't work for me&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>SSTab1.Icons.AddIcon ImageListTab.ListImages(1).Picture, 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><DIV>Many thanks</DIV><DIV>&nbsp;</DIV><DIV>Oh and Bernie.... very sneaky method, that certainly would have worked, but for obvious reasons I will go with the 'internal' command <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Thanks again guys....</DIV><DIV>&nbsp;</DIV><DIV>I'm just getting to grips with the CJ stuff and its great.... TBH though I am finding the help a bit of a trial and its certainly not as good as the software which is a great shame.</DIV>]]>
   </description>
   <pubDate>Tue, 10 Jun 2008 05:13:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36485&amp;title=tab-control-using-a-picture#36485</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : Hi joolz,Try this: SSTab1.Icons.AddIcon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36422&amp;title=tab-control-using-a-picture#36422</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 08 June 2008 at 8:07pm<br /><br />Hi joolz,<br><br>Try this:<br><br><table width="99%"><tr><td><pre class="BBcode"><br><div>SSTab1.Icons.AddIcon ImageListTab.ListImages(1).Picture, 101, xtpImageNormal</div><div></pre></td></tr></table><br></div><br>or <br><br><table width="99%"><tr><td><pre class="BBcode"><br><div>SSTab1.Icons.AddIcon ImageListTab.ListImages(1).ExtractIcon, 101, xtpImageNormal</div><div></pre></td></tr></table><br></div><br>They both seem to work, but I'm not sure what the difference is.<br><br>]]>
   </description>
   <pubDate>Sun, 08 Jun 2008 20:07:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36422&amp;title=tab-control-using-a-picture#36422</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : My way is stupid but works. Afteryour...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36421&amp;title=tab-control-using-a-picture#36421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3128">Bernie</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 08 June 2008 at 8:00pm<br /><br />My way is stupid but works.<DIV>After&nbsp;your code:Picture1.picture = ImageListTab.ListImages(1).picture</DIV><DIV>SavePicture to the disk and then Load from the disk:</DIV><DIV>SSTab1.Icons.LoadBitmap App.Path &amp; "\graphics\spanner6.bmp", 101, xtpImageNormal</DIV>]]>
   </description>
   <pubDate>Sun, 08 Jun 2008 20:00:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36421&amp;title=tab-control-using-a-picture#36421</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : Hi.... still having a few &amp;#039;issues&amp;#039;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36416&amp;title=tab-control-using-a-picture#36416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3535">joolz</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 08 June 2008 at 10:43am<br /><br /><DIV>Hi.... still having a few 'issues' here :-)</DIV><DIV>&nbsp;</DIV><DIV>I can get it to display an icon from disc but not from an Imagelist</DIV><DIV>&nbsp;</DIV><DIV>(ps my CJ Tab is called SSTab1 because its a direct replacement for the 'old' SSTab)</DIV><DIV>&nbsp;</DIV><DIV>So...</DIV><DIV>&nbsp;</DIV><DIV>SSTab1.Icons.LoadBitmap App.Path &amp; "\graphics\spanner6.bmp", 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><DIV>SSTab1.Item(1).Image = 101</DIV><DIV>&nbsp;</DIV><DIV>This works fine.... however, I don't want to load the image from the HD... I want to load it from a standard Image list .....</DIV><DIV>&nbsp;</DIV><DIV>Something like,</DIV><DIV>&nbsp;</DIV><DIV>SSTab1.Icons.LoadBitmap ImageListTab.ListImages(1).picture, 101, xtpImageNormal</DIV><DIV>&nbsp;</DIV><DIV>This does not work despite the image being in the Imagelist...</DIV><DIV>&nbsp;</DIV><DIV>As a test the command</DIV><DIV>&nbsp;</DIV><DIV>Picture1.picture = ImageListTab.ListImages(1).picture .... works fine</DIV><DIV>&nbsp;</DIV><DIV>Any ideas guys?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Julian</DIV>]]>
   </description>
   <pubDate>Sun, 08 Jun 2008 10:43:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36416&amp;title=tab-control-using-a-picture#36416</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : Hey fantastic... thanks, I&amp;#039;ll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36366&amp;title=tab-control-using-a-picture#36366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3535">joolz</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 06 June 2008 at 2:25pm<br /><br /><P>Hey fantastic... thanks, I'll give it a go</P><P>So, you can't do this at design time ..... pity, because there is a nice Custom property box where this could be included...</P><DIV>&nbsp;</DIV><DIV>Thanks again</DIV>]]>
   </description>
   <pubDate>Fri, 06 Jun 2008 14:25:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36366&amp;title=tab-control-using-a-picture#36366</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : You need to make sure that the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36328&amp;title=tab-control-using-a-picture#36328</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 05 June 2008 at 1:45pm<br /><br />You need to make sure that the ShowIcons property of the TabControl PaintManager is True, and then you can add icons to the Icons property and set the icon for specific tab pages...For example:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub Form_Load()<br>&nbsp;&nbsp; With Me.TabControl1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PaintManager.ShowIcons = True&nbsp;&nbsp;  ' Make sure TabControl shows icons<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Icons.LoadBitmap "&lt;PATH TO IMAGE&gt;", 101, xtpImageNormal&nbsp;&nbsp;  ' Add an icon to the TabControl<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Item(0).Image = 101&nbsp;&nbsp;  ' Attach an icon to the first tab page (0 based)<br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 13:45:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36328&amp;title=tab-control-using-a-picture#36328</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control - using a picture : Hi Guys  We have had the COM...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36325&amp;title=tab-control-using-a-picture#36325</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3535">joolz</a><br /><strong>Subject:</strong> 10923<br /><strong>Posted:</strong> 05 June 2008 at 12:44pm<br /><br />Hi Guys<DIV>&nbsp;</DIV><DIV>We have had the COM Suite for about a year and have really only just got round to using it!</DIV><DIV>&nbsp;</DIV><DIV>Anyway today I am replacing our VB6 non-unicode controls with Codejock versions (so I can support Japanese customers)</DIV><DIV>&nbsp;</DIV><DIV>I have a Microsoft SSTAB tab control and on one of the tabs I have a picture instead of text (because its a language implications)..... Works well but is NOT unicode :-(</DIV><DIV>&nbsp;</DIV><DIV>I would like to do this with the Codejock Tab control but have been unable to do so...</DIV><DIV>&nbsp;</DIV><DIV>I.E I don't want a tab title such as 'my tab'.... I want a picture on the tab</DIV><DIV>&nbsp;</DIV><DIV>The helpfile&nbsp;implies that it can be done, but i'm more of a 'try by example' kinda guy..... the help is... well, not much help TBH and there are no examples.</DIV><DIV>&nbsp;</DIV><DIV>Anyone done this and would like to share the secret?</DIV><DIV>&nbsp;</DIV><DIV>Many thanks</DIV><DIV>&nbsp;</DIV><DIV>Julian</DIV>]]>
   </description>
   <pubDate>Thu, 05 Jun 2008 12:44:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10923&amp;PID=36325&amp;title=tab-control-using-a-picture#36325</guid>
  </item> 
 </channel>
</rss>