<?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 : Custom Control &quot;dead&quot; (VFP / Visual FoxPro)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Custom Control &quot;dead&quot; (VFP / Visual FoxPro)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 00:24:58 +0000</pubDate>
  <lastBuildDate>Wed, 10 Oct 2007 13:38:51 +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=8391</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[Custom Control &quot;dead&quot; (VFP / Visual FoxPro) : Hi,   I know VFP is not actively...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8391&amp;PID=27176&amp;title=custom-control-dead-vfp-visual-foxpro#27176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3379">DDTech</a><br /><strong>Subject:</strong> 8391<br /><strong>Posted:</strong> 10 October 2007 at 1:38pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I know VFP is not actively supported but I find XTreeeeeeme CommandBars being a great product and I would really like to make use of it. I am comming from ActiveBar - so I have managed a LOT of problems already ;-)</DIV><DIV>&nbsp;</DIV><DIV>So currently I am playing with Your Commandbars (tried DockingPanes this morning and had about the same problem) and try to show a form with VFP-Controls as a custom-Control. I found the "Dynamic Popup Sample" that does something like that. </DIV><DIV>&nbsp;</DIV><DIV>so in the InitCommandsPopup i now have:</DIV><DIV>&nbsp;</DIV><DIV>...</DIV><DIV><FONT face="Courier New, Courier, mono">if CommandBar.Title = "FORM"</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; CommandBar.Controls.DeleteAll</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; </FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; &nbsp; do form MyForm.scx noShow</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp; &nbsp;m.MyForm.TitleBar&nbsp;&nbsp;&nbsp;&nbsp;= 0</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; m.MyForm.BorderStyle = 0</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp; </FONT></DIV><DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; loControl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = CommandBar.Controls.Add(7, 0, "Form")</FONT></DIV><FONT face="Courier New, Courier, mono">&nbsp;</FONT><FONT face="Courier New, Courier, mono">&nbsp;&nbsp; loControl.Handle = m.MyForm.hWnd</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp; </FONT></DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; m.MyForm.Visible = .T.&nbsp;</FONT></DIV><DIV><FONT face="Courier New, Courier, mono"></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">endif</FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Works wonderful, but the form is dead, i.e. I can't make use of the controls. With the DockingPane it sometimes worked, sometimes not</DIV><DIV>&nbsp;</DIV><DIV>Maybe You have an Idea or a trick.</DIV><DIV>&nbsp;</DIV><DIV>Another Idea I used with ActiveBar was to cancel the actual population of the popup and position a form instead of a popup. But I found no way to cancel the appearance from within InitCommandsPopup() </DIV><DIV>(ActiveBar did have a BandOpen()-Event that was fired when clicking on the down-button. this event also provided a Cancel-parameter. </DIV><DIV>&nbsp;</DIV><DIV>Thanks in advance</DIV><DIV>&nbsp;</DIV><DIV>Regards from Berlin</DIV><DIV>&nbsp;</DIV><DIV>F.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 10 Oct 2007 13:38:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8391&amp;PID=27176&amp;title=custom-control-dead-vfp-visual-foxpro#27176</guid>
  </item> 
 </channel>
</rss>