<?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 : Troubles with the CaptionFont and theTabFont</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Troubles with the CaptionFont and theTabFont]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 22:16:35 +0000</pubDate>
  <lastBuildDate>Wed, 30 Jan 2008 05:14:32 +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=9227</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[Troubles with the CaptionFont and theTabFont : Vincent, You have to SET the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=30649&amp;title=troubles-with-the-captionfont-and-thetabfont#30649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9227<br /><strong>Posted:</strong> 30 January 2008 at 5:14am<br /><br /><P><FONT size=1>Vincent,</P><DIV>You have to SET the font variable (like Set dockingPaneFont = Item.value)&nbsp;where Item.value is the variable of StdFont (in your case TextFont)</DIV><DIV>&nbsp;</DIV><DIV>This is what I do for Pane Caption:</DIV><DIV></FONT><FONT size=3>&nbsp;</FONT></DIV><DIV><FONT size=1>Case "Pane font"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim dockingPaneFont As StdFont<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set dockingPaneFont = Item.value(this is the value of a PropertyGridItem (FONT)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.PaintManager.CaptionFont = dockingPaneFont.Name<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.PaintManager.CaptionFont.Size = dockingPaneFont.Size<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.PaintManager.CaptionFont.Bold = dockingPaneFont.Bold<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.PaintManager.CaptionFont.Italic = dockingPaneFont.Italic<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.PaintManager.CaptionFont.Underline = dockingPaneFont.Underline<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.RedrawPanes<BR></FONT></DIV><DIV><FONT size=1>and for the Pane Tabs</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case "Pane tab font"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim dockingPaneTabs As StdFont<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set dockingPaneTabs = Item.value<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.TabPaintManager.Font = dockingPaneTabs.Name<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.TabPaintManager.Font.Size = dockingPaneTabs.Size<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.TabPaintManager.Font.Bold = dockingPaneTabs.Bold<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.TabPaintManager.Font.Italic = dockingPaneTabs.Italic<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.TabPaintManager.Font.Underline = dockingPaneTabs.Underline<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmMain.DockingPaneManager.RedrawPanes<BR></DIV></FONT><DIV><FONT size=1></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 30 Jan 2008 05:14:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=30649&amp;title=troubles-with-the-captionfont-and-thetabfont#30649</guid>
  </item> 
  <item>
   <title><![CDATA[Troubles with the CaptionFont and theTabFont : Hi Aaron,  Did that but no luck,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=30643&amp;title=troubles-with-the-captionfont-and-thetabfont#30643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3539">VDF1</a><br /><strong>Subject:</strong> 9227<br /><strong>Posted:</strong> 30 January 2008 at 4:33am<br /><br />Hi Aaron,<DIV>&nbsp;</DIV><DIV>Did that but no luck, no change.</DIV><DIV>&nbsp;</DIV><DIV>Related question; is it possible to have a different font for the captionbars and the tabbutton labels? There are two properties; one for the captionbar and one for the button label.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 30 Jan 2008 04:33:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=30643&amp;title=troubles-with-the-captionfont-and-thetabfont#30643</guid>
  </item> 
  <item>
   <title><![CDATA[Troubles with the CaptionFont and theTabFont : Hi,  You have to call DockingPaneManager.RedrawPanes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=30638&amp;title=troubles-with-the-captionfont-and-thetabfont#30638</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9227<br /><strong>Posted:</strong> 30 January 2008 at 3:05am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You have to call DockingPaneManager.RedrawPanes before the changes take effect.</DIV>]]>
   </description>
   <pubDate>Wed, 30 Jan 2008 03:05:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=30638&amp;title=troubles-with-the-captionfont-and-thetabfont#30638</guid>
  </item> 
  <item>
   <title><![CDATA[Troubles with the CaptionFont and theTabFont : I have troubles getting the font...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=29891&amp;title=troubles-with-the-captionfont-and-thetabfont#29891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3539">VDF1</a><br /><strong>Subject:</strong> 9227<br /><strong>Posted:</strong> 05 January 2008 at 9:57am<br /><br /><P>I have troubles getting the font properties of the DockingPanePaintManager or the TabPaintManager&nbsp;to work.</P><DIV>When I use them from Visual DataFlex the font is not set but even worse any COM message after setting the font results in weird behavior. For example the dispatch ID that needs to be returned from CreatePane returns TRUE instead of a dispatch id.</DIV><DIV>&nbsp;</DIV><DIV>So I tried the VB.NET MDISample to see what is happening there and the following code inserted before "<FONT color=#000000 size=2>Uncomment to Test it" has no effect on the results.</FONT></DIV><DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2>Dim TextFont As stdole.StdFont<BR>TextFont = New stdlole.StdFont<BR>TextFont.Name = "Lucida Handwriting Italic"<BR>TextFont.Size = 15<BR>TextFont.Bold = True<BR></FONT><FONT color=#0000ff size=2></FONT><FONT size=2>MDIDockingPaneManager.TabPaintManager.Font = TextFont<BR><FONT size=2>MDIDockingPaneManager.PanelPaintManager.Font = TextFont</DIV></FONT></FONT><DIV>&nbsp;</DIV><DIV>I've also tried other less exotric font names like "Verdana"</DIV><DIV>&nbsp;</DIV><DIV>I am using the 11.2.1 version.</DIV><DIV>&nbsp;</DIV><DIV>What could be wrong?</DIV>]]>
   </description>
   <pubDate>Sat, 05 Jan 2008 09:57:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9227&amp;PID=29891&amp;title=troubles-with-the-captionfont-and-thetabfont#29891</guid>
  </item> 
 </channel>
</rss>