<?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 : QUESTION: Transparent UserControl on TabControl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : QUESTION: Transparent UserControl on TabControl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 01:37:21 +0000</pubDate>
  <lastBuildDate>Mon, 27 Oct 2008 11:16: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=12537</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[QUESTION: Transparent UserControl on TabControl : Hmm, yes you are right.  If you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42379&amp;title=question-transparent-usercontrol-on-tabcontrol#42379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3745">JantjeKeizer</a><br /><strong>Subject:</strong> 12537<br /><strong>Posted:</strong> 27 October 2008 at 11:16am<br /><br />Hmm, yes you are right.<br /><br />If you are willing to do some ugly stuff here's a horrific 'workaround'<br /><br />In your UC place this code<br /><table width="99%"><tr><td><pre class="BBcode"><br />Sub Init(X As Single, Y As Single, Width As Single, Height As Single)<br />&nbsp;&nbsp;&nbsp;&nbsp;TabControlPage1.Move 0 - X, 0 - Y, Width, Height<br />&nbsp;&nbsp;&nbsp;&nbsp;Dim myControl As Control<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;For Each myControl In UserControl.Controls<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not TypeOf myControl Is XtremeSuiteControls.TabControlPage Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Error Resume Next<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myControl.Left = myControl.Left + X<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myControl.Top = myControl.Top + Y<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On Error GoTo 0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Next<br /><br />End Sub<br /></pre></td></tr></table><br />Then in your calling form something like<br /><table width="99%"><tr><td><pre class="BBcode"><br />Private Sub Form_Load()<br />&nbsp;&nbsp;&nbsp;&nbsp;myControl.Init myControl.Left, myControl.Top, TabControlPage1.Width, TabControlPage1.Height<br />End Sub<br /></pre></td></tr></table><br /><br />But only if you really must.<br />Any other workaround or real solution will be better]]>
   </description>
   <pubDate>Mon, 27 Oct 2008 11:16:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42379&amp;title=question-transparent-usercontrol-on-tabcontrol#42379</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Transparent UserControl on TabControl :  Thank you. Your solution only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42372&amp;title=question-transparent-usercontrol-on-tabcontrol#42372</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 12537<br /><strong>Posted:</strong> 27 October 2008 at 9:04am<br /><br />Thank you. <br>Your solution only works correct, if the UserControl fills the whole TabPage.<br>But if the UserControl is only a part of the TabPage, then you will notice a problem with the gradient of the color.<br><br><img src="uploads/20081027_090222_Screen2.JPG" height="255" width="402" border="0"><br>]]>
   </description>
   <pubDate>Mon, 27 Oct 2008 09:04:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42372&amp;title=question-transparent-usercontrol-on-tabcontrol#42372</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Transparent UserControl on TabControl : You can try to use a tabworkspace...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42370&amp;title=question-transparent-usercontrol-on-tabcontrol#42370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3745">JantjeKeizer</a><br /><strong>Subject:</strong> 12537<br /><strong>Posted:</strong> 27 October 2008 at 5:27am<br /><br />You can try to use a tabworkspace as background for the usercontrol, adding a single line in the resize event like:<br />tabworkspace.move 0 ,0 , usercontrol.scalewidth,usercontrol.scaleheight<br /><br />i think that will work]]>
   </description>
   <pubDate>Mon, 27 Oct 2008 05:27:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42370&amp;title=question-transparent-usercontrol-on-tabcontrol#42370</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Transparent UserControl on TabControl :   Transparency doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42369&amp;title=question-transparent-usercontrol-on-tabcontrol#42369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 12537<br /><strong>Posted:</strong> 27 October 2008 at 5:08am<br /><br />Transparency doesn't work with transparent usercontrols(ocx)?<br><br><img src="uploads/20081027_050424_Screen.JPG" height="648" width="402" border="0"><br><br>All controls and the usercontrol are set to transparent. <br>The usercontrol itself is transparent, but not the controls on it, as you can see on the second screenshot. <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br>Is there a way to solve this problem?<br>]]>
   </description>
   <pubDate>Mon, 27 Oct 2008 05:08:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12537&amp;PID=42369&amp;title=question-transparent-usercontrol-on-tabcontrol#42369</guid>
  </item> 
 </channel>
</rss>