<?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 : Dropdown not staying dropped</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Dropdown not staying dropped]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 22:20:48 +0000</pubDate>
  <lastBuildDate>Fri, 15 Feb 2008 08:51:56 +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=9586</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[Dropdown not staying dropped :    jcollier wrote:Actually,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31224&amp;title=dropdown-not-staying-dropped#31224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 15 February 2008 at 8:51am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jcollier" alt="Originally posted by jcollier" style="vertical-align: text-bottom;" /> <strong>jcollier wrote:</strong><br /><br />Actually, I recreated my situation in a new project with everything stripped down.&nbsp; VB6 with CJ 11.2.2<br><br>This project is just as I have mine set up.&nbsp; MDI Parent loads mdi child which attaches form to pane.<br><br><a href="uploads/20080214_144611_dropdown.zip" target="_blank">uploads/20080214_144611_dropdown.zip</a><br><br></td></tr></table><br><br>The problem is with Focus.&nbsp; The MDIChild doesn't have any control on it.&nbsp; VB wants a control on the MDIChild, it needs some control on it to have focus.&nbsp; This is just a bug in VB.<br><br>So it would be better to move your Frame over to Form1 and remove Form2.<br>]]>
   </description>
   <pubDate>Fri, 15 Feb 2008 08:51:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31224&amp;title=dropdown-not-staying-dropped#31224</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Actually, I would like it to just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31202&amp;title=dropdown-not-staying-dropped#31202</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 4:35pm<br /><br />Actually, I would like it to just kinda be the background of the mdi parent and automatically be visible when no other mdi children are open.]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 16:35:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31202&amp;title=dropdown-not-staying-dropped#31202</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Hi, Are you going to build a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31200&amp;title=dropdown-not-staying-dropped#31200</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 3:57pm<br /><br /><P>Hi,</P><P>Are you going to build a MDI application? There's a MDI sample present, you better take a look at that and post a little here and there, pulling out hair, but there's an example present <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"></P>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 15:57:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31200&amp;title=dropdown-not-staying-dropped#31200</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Hi,  Do you want toclose the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31199&amp;title=dropdown-not-staying-dropped#31199</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 3:50pm<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Do you want to&nbsp;close the pane? or temporary hide the pane?</DIV><DIV>&nbsp;</DIV><DIV>You can auto hide the pane by docking it and clicking on the pin button</DIV><DIV>&nbsp;</DIV><DIV>Close the pane like this:</DIV><DIV>&nbsp;</DIV><DIV>Dim pan As XtremeDockingPane.Pane<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set pan = MDIForm1.DockingPane1.FindPane(1) ''ID of pane<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pan.Close</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 15:50:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31199&amp;title=dropdown-not-staying-dropped#31199</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Cool. Now the curveball. Let&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31198&amp;title=dropdown-not-staying-dropped#31198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 3:38pm<br /><br />Cool.&nbsp; Now the curveball.&nbsp; Let's say I have a button on Form2 that just loads and shows form1.&nbsp; How do I make the pane go to the background?&nbsp; As it is now, Form2 loads and shows but it "shows" behind the pane and I can't see Form2.<br><br>Sorry for all the questions but I appreciate the help!<br>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 15:38:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31198&amp;title=dropdown-not-staying-dropped#31198</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Hi,   It&amp;#039;s a little difficult...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31197&amp;title=dropdown-not-staying-dropped#31197</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 3:10pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>It's a little difficult to explain. But I will give it a try.</DIV><DIV>&nbsp;</DIV><DIV>The container for your app is the MDIForm and the dockingpane will be the container for all the attached panes, right? So you have to place the Dockingpane in the MDIForm and attach the form that you need into a pane, which DockingPane will resize into you MDIForm the proper way. Not in a&nbsp;way you did.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Put this in your MDIForm code and drag a DockingPane on the MDIForm</DIV><DIV>I copied your code into the MDIForm and the only thing I changed was the Load event in MDIForm</DIV><DIV>&nbsp;</DIV><DIV>Option Explicit</DIV><DIV>Private Sub DockingPane1_AttachPane(ByVal Item As XtremeDockingPane.IPane)</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim frmForm2 As Form2<BR>&nbsp;&nbsp;&nbsp; Set frmForm2 = New Form2<BR>&nbsp;&nbsp;&nbsp; Item.Handle = frmForm2.hWnd<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV><BR>Private Sub CreateDashboard()</DIV><DIV>&nbsp;&nbsp;&nbsp; Dim paneForm2 As Pane<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set paneForm2 = DockingPane1.CreatePane(1, 100, 100, DockTopOf, Nothing)<BR>&nbsp;&nbsp;&nbsp; paneForm2.Title = "Messages"<BR>&nbsp;&nbsp;&nbsp; ''paneForm2.Options = PaneNoFloatable + PaneNoCloseable + PaneNoHideable<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; DockingPane1.VisualTheme = ThemeOffice2007<BR>&nbsp;&nbsp;&nbsp; DockingPane1.Options.HideClient = True<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; DockingPane1.TabPaintManager.ClientFrame = xtpTabFrameNone<BR>&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>Private Sub MDIForm_Load()<BR>Call CreateDashboard<BR>End Sub<BR></DIV><DIV>&nbsp;</DIV><DIV>This will show a pane with the combobox on it and this combobox drops down as we want to.</DIV><DIV>&nbsp;</DIV><DIV>And another thing: set MDIChild to false</DIV><DIV>And clear all code in Form1</DIV>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 15:10:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31197&amp;title=dropdown-not-staying-dropped#31197</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Actually, I recreated my situation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31196&amp;title=dropdown-not-staying-dropped#31196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 2:46pm<br /><br />Actually, I recreated my situation in a new project with everything stripped down.&nbsp; VB6 with CJ 11.2.2<br><br>This project is just as I have mine set up.&nbsp; MDI Parent loads mdi child which attaches form to pane.<br><br><a href="uploads/20080214_144611_dropdown.zip" target="_blank">uploads/20080214_144611_dropdown.zip</a><br><br>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 14:46:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31196&amp;title=dropdown-not-staying-dropped#31196</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Hi,   No can&amp;#039;treproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31195&amp;title=dropdown-not-staying-dropped#31195</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 2:37pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>No can't&nbsp;reproduce it, but I would like to know the code you use to attach the pane to that form. Can you send me the form and the few lines of code you use to attach the pane? doesn't matter anymore, now Super Mario comes in action <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 14:37:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31195&amp;title=dropdown-not-staying-dropped#31195</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : As a test I used the SDI Docking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31194&amp;title=dropdown-not-staying-dropped#31194</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 2:21pm<br /><br />As a test I used the SDI Docking Pane sample and added both MS and Codejock checkbox and dropdown controls to the form.&nbsp; Both seem to work.&nbsp; Can you reproduce it with a Codejock sample?&nbsp; If so, can you attach it here?]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 14:21:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31194&amp;title=dropdown-not-staying-dropped#31194</guid>
  </item> 
  <item>
   <title><![CDATA[Dropdown not staying dropped : Hi,   If you load the form without...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31191&amp;title=dropdown-not-staying-dropped#31191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 9586<br /><strong>Posted:</strong> 14 February 2008 at 2:04pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>If you load the form without attaching it to a pane, what happens then? Does it work correctly? Yes? and how do you attach the form to the pane?</DIV>]]>
   </description>
   <pubDate>Thu, 14 Feb 2008 14:04:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9586&amp;PID=31191&amp;title=dropdown-not-staying-dropped#31191</guid>
  </item> 
 </channel>
</rss>