<?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 : ClientArea control Resize problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : ClientArea control Resize problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 00:55:08 +0000</pubDate>
  <lastBuildDate>Thu, 16 Nov 2006 09:11:17 +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=5537</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[ClientArea control Resize problem : Hi,  Change to:  Private Sub...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5537&amp;PID=17369&amp;title=clientarea-control-resize-problem#17369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5537<br /><strong>Posted:</strong> 16 November 2006 at 9:11am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Change to:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Resize()</DIV><P>&nbsp;&nbsp;&nbsp;&nbsp; TempControl1.Move 0, 0, <strong>Me.ScaleWidth, Me.ScaleHeight</strong></P><P>End Sub<BR></P>]]>
   </description>
   <pubDate>Thu, 16 Nov 2006 09:11:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5537&amp;PID=17369&amp;title=clientarea-control-resize-problem#17369</guid>
  </item> 
  <item>
   <title><![CDATA[ClientArea control Resize problem : When in design mode  The code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5537&amp;PID=17368&amp;title=clientarea-control-resize-problem#17368</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=793">zwdhm</a><br /><strong>Subject:</strong> 5537<br /><strong>Posted:</strong> 16 November 2006 at 8:07am<br /><br />When in design mode<img src="https://forum.codejock.com/uploads/20061116_080546_pic3.PNG" border="0"><DIV>&nbsp;</DIV><DIV>The code below&nbsp; was used to resize the user control in the form</DIV><DIV>Private Sub Form_Resize()<BR>&nbsp;&nbsp;&nbsp;&nbsp; TempControl1.Move 0, 0, Me.Width, Me.Height<BR>End Sub</DIV>]]>
   </description>
   <pubDate>Thu, 16 Nov 2006 08:07:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5537&amp;PID=17368&amp;title=clientarea-control-resize-problem#17368</guid>
  </item> 
  <item>
   <title><![CDATA[ClientArea control Resize problem : I am using SuitePro ActiveX 10.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5537&amp;PID=17367&amp;title=clientarea-control-resize-problem#17367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=793">zwdhm</a><br /><strong>Subject:</strong> 5537<br /><strong>Posted:</strong> 16 November 2006 at 8:03am<br /><br /><P>I am using SuitePro ActiveX 10.1 and VB6<BR>I made a user control. CommandBars was used. A FlexGrid control was used as client area control. I use the code below to resize flexgrid.</P><P>Private Sub CommandBars_Resize()<BR>&nbsp;&nbsp;&nbsp; On Error Resume Next<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim Left As Long<BR>&nbsp;&nbsp;&nbsp; Dim Top As Long<BR>&nbsp;&nbsp;&nbsp; Dim Right As Long<BR>&nbsp;&nbsp;&nbsp; Dim Bottom As Long<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; CommandBars.GetClientRect Left, Top, Right, Bottom</P><P>&nbsp;&nbsp;&nbsp; If Bottom &gt; Top And Right &gt; Left Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsFlexGrid1.Move Left, Top, Right - Left, Bottom - Top<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</P><P>Then I put this user control on a form. When in design mode, the flexgrid resizes well. But when the form runs, scrollbars of the flexgrid were out of the form. The screenshots were uploaded.</P><DIV><DIV></DIV><a href="https://forum.codejock.com/uploads/20061116_075923_screenshots.zip" target="_blank">uploads/20061116_075923_screenshots.zip</A></DIV><DIV>&nbsp;</DIV><DIV>The pic below is in running mode.</DIV><DIV><img src="https://forum.codejock.com/uploads/20061116_080024_pic.png" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 16 Nov 2006 08:03:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5537&amp;PID=17367&amp;title=clientarea-control-resize-problem#17367</guid>
  </item> 
 </channel>
</rss>