<?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 : Bug in PushButton Control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Bug in PushButton Control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 22:09:18 +0000</pubDate>
  <lastBuildDate>Thu, 16 Apr 2015 12:15: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=22435</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[Bug in PushButton Control : Hello and thank you for letting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22435&amp;PID=73243&amp;title=bug-in-pushbutton-control#73243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8848">mcmastl</a><br /><strong>Subject:</strong> 22435<br /><strong>Posted:</strong> 16 April 2015 at 12:15pm<br /><br />Hello and thank you for letting us know of this issue. &nbsp;We have brought this up to the development team and will be looking into it. &nbsp;If this issue has been resolved please let us know.]]>
   </description>
   <pubDate>Thu, 16 Apr 2015 12:15:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22435&amp;PID=73243&amp;title=bug-in-pushbutton-control#73243</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in PushButton Control : Setting the MultiLine property...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22435&amp;PID=72836&amp;title=bug-in-pushbutton-control#72836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8764">rdefulio</a><br /><strong>Subject:</strong> 22435<br /><strong>Posted:</strong> 12 October 2014 at 6:04pm<br /><br />Setting the MultiLine property to true while the PushButton control is not visible forces the control to become visible even though the control property visible is still set to false. &nbsp;When dynamically building a form with buttons on it, I had to work around the issue by moving the control off the form before setting the MultiLine property, and then move it back into view. &nbsp; In my case I layout the form dynamically and the buttons are invisible until the program needs that particular button to be available to the user. &nbsp;Before applying this workaround all my buttons were visible even though the visible property was still set to false, and the culprit was configuring the MultiLine property at runtime while the button was hidden.<div><br></div><div><div>The problem</div><div><ul><li><span style="line-height: 16.7999992370605px;"><font face="Courier New, Courier, mono">Button(Index).Visible = False</font></span></li><li><span style="line-height: 16.7999992370605px;"><font face="Courier New, Courier, mono">Button(Index).MultiLine = true &nbsp; &nbsp;' this appears to be a control bug, setting this value forces the button to become visible again</font></span></li><li><span style="line-height: 16.7999992370605px;"><font face="Courier New, Courier, mono">Button(Index).Visible = False &nbsp; ' button is still visible&nbsp;</font></span></li><li><span style="line-height: 16.7999992370605px;"><font face="Courier New, Courier, mono">Button(Index).Visible = True &nbsp; &nbsp;</font></span></li><li><span style="line-height: 16.7999992370605px;"><font face="Courier New, Courier, mono">Button(Index).Visible = False &nbsp; ' now the button is invisible</font></span></li></ul></div><div>The workaround</div><div><span ="apple-tab-span"="" style="line-height: 1.4; white-space: pre;">	</span></div><div><div><ul><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">OldTop = Button(Index).Top</font></span></li><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">OldLeft = Button(Index).Left</font></span></li><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">Button(Index).Move -1000, -1000<span ="apple-tab-span"="" style="white-space:pre">		</span>' move button off screen</font></span></li><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">Button(Index).Visible = True<span ="apple-tab-span"="" style="white-space:pre">		</span>' make it visible</font></span></li><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">Button(Index).MultiLine = true &nbsp; &nbsp;&nbsp;<span ="apple-tab-span"="" style="white-space:pre">	</span>' set multiline property</font></span></li><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">Button(Index).Visible = False<span ="apple-tab-span"="" style="white-space:pre">		</span>' make it invisible</font></span></li><li><span style="line-height: 1.4;"><font face="Courier New, Courier, mono">Button(index).Move OldLeft, OldTop<span ="apple-tab-span"="" style="white-space:pre">	</span>' move it back onto the screen&nbsp;</font></span></li></ul></div><div>&nbsp;&nbsp;</div></div></div>]]>
   </description>
   <pubDate>Sun, 12 Oct 2014 18:04:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22435&amp;PID=72836&amp;title=bug-in-pushbutton-control#72836</guid>
  </item> 
 </channel>
</rss>