<?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 tear off popup</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Custom tear off popup]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 02:23:57 +0000</pubDate>
  <lastBuildDate>Fri, 23 Nov 2007 05:27:25 +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=8831</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 tear off popup : Can the caption be supported for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28763&amp;title=custom-tear-off-popup#28763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3507">SReedie</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 23 November 2007 at 5:27am<br /><br />Can the caption be supported for the next release at all?]]>
   </description>
   <pubDate>Fri, 23 Nov 2007 05:27:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28763&amp;title=custom-tear-off-popup#28763</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Yes, its true :( caption is not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28703&amp;title=custom-tear-off-popup#28703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 21 November 2007 at 9:12am<br /><br />Yes, its true :( caption is not supported for CommandBarSlider, Sorry.]]>
   </description>
   <pubDate>Wed, 21 Nov 2007 09:12:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28703&amp;title=custom-tear-off-popup#28703</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Hi Oleg,  Excellent, thank you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28691&amp;title=custom-tear-off-popup#28691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3507">SReedie</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 21 November 2007 at 3:52am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>Excellent, thank you this code works:</DIV><DIV>&nbsp;</DIV><DIV>If CommandBar.Title = "3D Chart" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlSlider As XtremeCommandBars.CommandBarSlider</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls.DeleteAll<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlSlider = CommandBars.CreateCommandBarControl("CXTPControlSlider")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls.AddControl ControlSlider<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).Caption = "&amp;Elevation"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).DescriptionText = "Set the chart elevation level"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).Style = xtpButtonIcon<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).ToolTipText = "Elevation"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.SetTearOffPopup "3D Chart", ID_EPOS_CHT_PROPS_3D_CHART_POPUP, 200<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;</DIV><DIV>except that setting the caption and style properties don't show on the popup:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071121_035209_Slider.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>???</DIV>]]>
   </description>
   <pubDate>Wed, 21 Nov 2007 03:52:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28691&amp;title=custom-tear-off-popup#28691</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Hi,  Try this code.   Dim...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28674&amp;title=custom-tear-off-popup#28674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 20 November 2007 at 1:59pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Try this code.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim ControlSlider As XtremeCommandBars.CommandBarSlider<BR>&nbsp;&nbsp;&nbsp; Set ControlSlider = CommandBars.CreateCommandBarControl("CXTPControlSlider")<BR>&nbsp;&nbsp;&nbsp; ControlFile.CommandBar.Controls.AddControl ControlSlider<BR></DIV>]]>
   </description>
   <pubDate>Tue, 20 Nov 2007 13:59:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28674&amp;title=custom-tear-off-popup#28674</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Hi Oleg,   So I have got the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28664&amp;title=custom-tear-off-popup#28664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3507">SReedie</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 20 November 2007 at 8:22am<br /><br />Hi Oleg, <DIV>&nbsp;</DIV><DIV>So I have got the newest release and I now have my code like this:</DIV><DIV>&nbsp;</DIV><DIV>If CommandBar.Title = "3D Chart" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlSlider As XtremeCommandBars.CommandBarSlider<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls.DeleteAll<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlSlider = CommandBar.Controls.Add(xtpControlCustom, ID_EPOS_CHT_PROPS_3D_CHART_POPUP, "3D Chart")<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;</DIV><DIV>but I am getting a type mismatch error presumably from the control type xtpControlCustom but there is no slider control type (xtpControlSlider)&nbsp;when the&nbsp;enumeration list&nbsp;is displayed after .Add(.</DIV><DIV>&nbsp;</DIV><DIV>Am I missing something?</DIV><DIV>&nbsp;</DIV><DIV>Reedie.</DIV>]]>
   </description>
   <pubDate>Tue, 20 Nov 2007 08:22:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28664&amp;title=custom-tear-off-popup#28664</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Hi,  To fix disappearing please...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28656&amp;title=custom-tear-off-popup#28656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 20 November 2007 at 7:10am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>To fix disappearing please put Slider to picturebox and attach picturebox .</DIV><DIV>&nbsp;</DIV><DIV>actually in 11.2.1 release was added builtin slider for CommandBars.</DIV>]]>
   </description>
   <pubDate>Tue, 20 Nov 2007 07:10:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28656&amp;title=custom-tear-off-popup#28656</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Hi Oleg,  I was using a picturebox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28653&amp;title=custom-tear-off-popup#28653</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3507">SReedie</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 20 November 2007 at 7:04am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>I was using a picturebox because I wanted to place slider controls on the toolbar (using your slider control not windows). If I try this:</DIV><DIV>&nbsp;</DIV><DIV>If CommandBar.Title = "3D Chart" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls.DeleteAll</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddButton CommandBar.Controls, xtpControlCustom, ID_EPOS_CHT_PROPS_3D_CHART_POPUP_ELEVATION<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).Caption = "&amp;Elevation"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).DescriptionText = "Change the chart elevation"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).ToolTipText = "Elevation"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls(1).Handle = Slider.hWnd<BR>&nbsp;&nbsp;&nbsp; End If</DIV><DIV>&nbsp;</DIV><DIV>the slider is displayed but it covers the whole commandbar:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071120_065727_Slider.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>and when I click on it the control is disappearing from the commandbar and becoming visible wherever the control was put on the form at design time:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071120_070213_Slider2.bmp" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Is there any way to attach a slide control to a&nbsp;commandbar and have the caption display as well without it disappearing on a click?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your help,</DIV><DIV><BR>Reedie</DIV>]]>
   </description>
   <pubDate>Tue, 20 Nov 2007 07:04:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28653&amp;title=custom-tear-off-popup#28653</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : Hi, CustomControls can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28622&amp;title=custom-tear-off-popup#28622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 19 November 2007 at 8:49am<br /><br />Hi,<DIV>CustomControls can't be placed to TearOff popup. </DIV>]]>
   </description>
   <pubDate>Mon, 19 Nov 2007 08:49:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28622&amp;title=custom-tear-off-popup#28622</guid>
  </item> 
  <item>
   <title><![CDATA[Custom tear off popup : I have a picture box with some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28616&amp;title=custom-tear-off-popup#28616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3507">SReedie</a><br /><strong>Subject:</strong> 8831<br /><strong>Posted:</strong> 19 November 2007 at 7:46am<br /><br />I have a picture box with some of your slider controls on. I add a popup control and in the InitCommandsPopup event I add this code from your DynamicPopups example:<DIV>&nbsp;</DIV><DIV>If CommandBar.Title = "3D Chart" Then</DIV><DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlForm As XtremeCommandBars.CommandBarControlCustom<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.Controls.DeleteAll<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlForm = CommandBar.Controls.Add(xtpControlCustom, ID_EPOS_CHT_PROPS_3D_CHART_POPUP, "3D Chart")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlForm.Handle = pic3D.hWnd<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CommandBar.SetTearOffPopup "3D Chart", ID_EPOS_CHT_PROPS_3D_CHART, 200</DIV><DIV><BR>End If</DIV><DIV>&nbsp;</DIV><DIV>the popup displays with the picturebox attached and it can be 'torn off'. The problem is that when I close the floating popup and then redisplay it the picturebox is no longer attached to the popup just a normal command button with the caption 3D Chart. WHat is happening to the picturebox when I close the floating popup?</DIV><DIV>&nbsp;</DIV><DIV>Reedie.</DIV>]]>
   </description>
   <pubDate>Mon, 19 Nov 2007 07:46:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8831&amp;PID=28616&amp;title=custom-tear-off-popup#28616</guid>
  </item> 
 </channel>
</rss>