<?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 : PushButton.BuddyControl &amp; Resize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : PushButton.BuddyControl &amp; Resize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 22:20:27 +0000</pubDate>
  <lastBuildDate>Wed, 09 Mar 2011 04:36:43 +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=17454</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[PushButton.BuddyControl &amp; Resize :  I still have a problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=63193&amp;title=pushbutton-buddycontrol-resize#63193</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 09 March 2011 at 4:36am<br /><br />I still have a problem with the buddy control property:<br>What I like to have is a resizable UserControl with a FlatEdit+PushButton inside.<br>Try this:<br>1) Put a FlatEdit on a UserControl<br>2) Put a PushButton on the same UserControl<br>3) Use this code:<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub UserControl_Initialize()<br>PushButton1.BuddyControl = "FlatEdit1"<br>End Sub<br><br>Private Sub UserControl_Resize()<br>On Error Resume Next<br>FlatEdit1.Move 0, 0, UserControl.ScaleWidth - PushButton1.Width, UserControl.ScaleHeight<br>PushButton1.BuddyControl = "FlatEdit1"<br>End Sub<br></pre></td></tr></table><br>4) Compile the Ocx.<br>5) Use the compiled control: Create a new standard exe project. Put the new Control on the form. Save the project, close the project: Error message! &nbsp;<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" />]]>
   </description>
   <pubDate>Wed, 09 Mar 2011 04:36:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=63193&amp;title=pushbutton-buddycontrol-resize#63193</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : Thank you.Didn&amp;#039;t notice the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61849&amp;title=pushbutton-buddycontrol-resize#61849</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 15 December 2010 at 11:01am<br /><br />Thank you.<br>Didn't notice the little mistake.&nbsp; <img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" alt="Embarrassed" title="Embarrassed" /><br>]]>
   </description>
   <pubDate>Wed, 15 Dec 2010 11:01:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61849&amp;title=pushbutton-buddycontrol-resize#61849</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : What is the default property of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61794&amp;title=pushbutton-buddycontrol-resize#61794</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 14 December 2010 at 3:09am<br /><br />What is the default property of a FlatEdit? If it's the name it should work as you tried.]]>
   </description>
   <pubDate>Tue, 14 Dec 2010 03:09:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61794&amp;title=pushbutton-buddycontrol-resize#61794</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : Ah! Thanks Oleg, our mistake  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61786&amp;title=pushbutton-buddycontrol-resize#61786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 13 December 2010 at 2:57pm<br /><br />Ah! Thanks Oleg, our mistake <img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" alt="Embarrassed" title="Embarrassed" />]]>
   </description>
   <pubDate>Mon, 13 Dec 2010 14:57:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61786&amp;title=pushbutton-buddycontrol-resize#61786</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : Hi,BuddyControl is string property....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61785&amp;title=pushbutton-buddycontrol-resize#61785</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 13 December 2010 at 1:44pm<br /><br />Hi,<div><br></div><div>BuddyControl is string property. you need set it as</div><div><br></div><div>PushButton1.BuddyControl = "FlatEdit1"</div>]]>
   </description>
   <pubDate>Mon, 13 Dec 2010 13:44:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61785&amp;title=pushbutton-buddycontrol-resize#61785</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : Still a problem in latest beta. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61775&amp;title=pushbutton-buddycontrol-resize#61775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 11 December 2010 at 4:00pm<br /><br />Still a problem in latest beta.]]>
   </description>
   <pubDate>Sat, 11 Dec 2010 16:00:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61775&amp;title=pushbutton-buddycontrol-resize#61775</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : Confirmed in 13.4.0 for me too...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61018&amp;title=pushbutton-buddycontrol-resize#61018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 19 October 2010 at 5:06pm<br /><br />Confirmed in 13.4.0 for me too - can anyone try this in 13.4.2 to see if it is still a problem?<br><br><br>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 17:06:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61018&amp;title=pushbutton-buddycontrol-resize#61018</guid>
  </item> 
  <item>
   <title><![CDATA[PushButton.BuddyControl &amp; Resize : I like to have a FlatEdit with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61002&amp;title=pushbutton-buddycontrol-resize#61002</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 17454<br /><strong>Posted:</strong> 19 October 2010 at 10:16am<br /><br />I like to have a FlatEdit with a PushButton as buddycontrol right-justified on a form.<br>But it doesn't work with resize.<br><br>Put a FlatEdit and a PushButton on a Form. Use this code:<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub Form_Load()<br>PushButton1.BuddyControl = FlatEdit1<br>End Sub<br><br>Private Sub Form_Resize()<br>On Error Resume Next<br>FlatEdit1.Width = Me.ScaleWidth - 2300<br>PushButton1.BuddyControl = FlatEdit1<br>End Sub<br></pre></td></tr></table><br><br>If you run the application and resize the form you will notice that the button is at the correct position.<br>But as soon as you change the text in the FlatEdit and resize again, the PushButton buddy thing doesn't work anymore.&nbsp; <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><br>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 10:16:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17454&amp;PID=61002&amp;title=pushbutton-buddycontrol-resize#61002</guid>
  </item> 
 </channel>
</rss>