<?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 : Combo: Execute vs Clicked vs KeyDown</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Combo: Execute vs Clicked vs KeyDown]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:37:31 +0000</pubDate>
  <lastBuildDate>Thu, 28 Oct 2004 17:50:55 +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=1327</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[Combo: Execute vs Clicked vs KeyDown : Thanks oleg and SuperMario. I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3754&amp;title=combo-execute-vs-clicked-vs-keydown#3754</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 1327<br /><strong>Posted:</strong> 28 October 2004 at 5:50pm<br /><br />Thanks oleg and SuperMario. I wasn't aware that CommandBar.Parent pointed to the control that triggered the event, that is helpful.<br /><br />Remember though that VB6's If isnt short-circuited so<br />If (Not CommandBar.Parent Is Nothing) And (CommandBar.Parent.Type = xtpControlComboBox) Then<br />should be split to two ifs. Curse those stupid VB6 quirks! :)<br /><br />Thanks again.]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 17:50:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3754&amp;title=combo-execute-vs-clicked-vs-keydown#3754</guid>
  </item> 
  <item>
   <title><![CDATA[Combo: Execute vs Clicked vs KeyDown : This event is fired any time a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3737&amp;title=combo-execute-vs-clicked-vs-keydown#3737</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1327<br /><strong>Posted:</strong> 28 October 2004 at 6:55am<br /><br />This event is fired any time a drop-down/popup is displayed.&nbsp; Inthe event you must test to see what triggered the event so you can acton it appropriately.&nbsp; All you really need to do is look at theParent property.<br><br>If (Not CommandBar.Parent Is Nothing) And (CommandBar.Parent.Type = xtpControlComboBox) Then<br>&nbsp;&nbsp;&nbsp; Dim myCombo As CommandBarComboBox<br>&nbsp;&nbsp;&nbsp; Set myCombo = CommandBar.Parent.Id<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; 'Your combobox code here<br>&nbsp;&nbsp;&nbsp; <br>End If<br>]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 06:55:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3737&amp;title=combo-execute-vs-clicked-vs-keydown#3737</guid>
  </item> 
  <item>
   <title><![CDATA[Combo: Execute vs Clicked vs KeyDown : CommandBar.Position = xtpBarListBox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3736&amp;title=combo-execute-vs-clicked-vs-keydown#3736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1327<br /><strong>Posted:</strong> 28 October 2004 at 6:44am<br /><br />CommandBar.Position = xtpBarListBox for combo list.]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 06:44:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3736&amp;title=combo-execute-vs-clicked-vs-keydown#3736</guid>
  </item> 
  <item>
   <title><![CDATA[Combo: Execute vs Clicked vs KeyDown : That helps, thanks. I notice that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3729&amp;title=combo-execute-vs-clicked-vs-keydown#3729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 1327<br /><strong>Posted:</strong> 28 October 2004 at 1:12am<br /><br />That helps, thanks.<br />I notice that this event passes a XtremeCommandBars.ICommandBar object. Is there a way to determine from this what triggered the event? For example, as well as triggering when the combo is dropped-down, it is also triggered when a popup menu is shown. I'm only interested in when the combo is dropped down.<br /><br />Its not essential, but would be helpful to know.<br /><br />Thanks again.]]>
   </description>
   <pubDate>Thu, 28 Oct 2004 01:12:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3729&amp;title=combo-execute-vs-clicked-vs-keydown#3729</guid>
  </item> 
  <item>
   <title><![CDATA[Combo: Execute vs Clicked vs KeyDown : The InitCommandsPopup event is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3718&amp;title=combo-execute-vs-clicked-vs-keydown#3718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1327<br /><strong>Posted:</strong> 27 October 2004 at 8:21am<br /><br />The InitCommandsPopup event is fired when the combobox is dropped down(the dop-down button is clicked).&nbsp; Then the Execute event is firedwhen they click\hit enter on a selection.]]>
   </description>
   <pubDate>Wed, 27 Oct 2004 08:21:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3718&amp;title=combo-execute-vs-clicked-vs-keydown#3718</guid>
  </item> 
  <item>
   <title><![CDATA[Combo: Execute vs Clicked vs KeyDown : Gday,  How can I differ between...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3713&amp;title=combo-execute-vs-clicked-vs-keydown#3713</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 1327<br /><strong>Posted:</strong> 27 October 2004 at 2:33am<br /><br />Gday,<br /><br />How can I differ between when a user has pressed enter and when they have clicked on the combobox? They both trigger the Execute event, and I can't see how I determine the user's action.<br /><br />Normally in VB you would use the "Click" and KeyPress/Down events. How can I do this with the CommandBarComboBox?<br /><br />The desired effect is that when someone presses enter on the combo, i do a lookup based on the control.text, whereas when they "click" on the combo i don't need to a lookup beacuse the item they have clicked on already exists.<br /><br />Any advice is appreciated.<br /><br />Thanks]]>
   </description>
   <pubDate>Wed, 27 Oct 2004 02:33:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1327&amp;PID=3713&amp;title=combo-execute-vs-clicked-vs-keydown#3713</guid>
  </item> 
 </channel>
</rss>