<?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 : Behavior of CommandBarEdit.SetFocus()</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Behavior of CommandBarEdit.SetFocus()]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 02:53:17 +0000</pubDate>
  <lastBuildDate>Mon, 08 May 2006 08:42:37 +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=4161</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[Behavior of CommandBarEdit.SetFocus() : Hi, It will be possible with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12767&amp;title=behavior-of-commandbaredit-setfocus#12767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4161<br /><strong>Posted:</strong> 08 May 2006 at 8:42am<br /><br /><P>Hi,</P><P>It will be possible with next release.</P>]]>
   </description>
   <pubDate>Mon, 08 May 2006 08:42:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12767&amp;title=behavior-of-commandbaredit-setfocus#12767</guid>
  </item> 
  <item>
   <title><![CDATA[Behavior of CommandBarEdit.SetFocus() : Thanks Oleg -  Both solutions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12750&amp;title=behavior-of-commandbaredit-setfocus#12750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1446">apuhjee</a><br /><strong>Subject:</strong> 4161<br /><strong>Posted:</strong> 07 May 2006 at 7:32pm<br /><br />Thanks Oleg -<br /><br />Both solutions work nicely. You are like the Gary Kasparov of programming  <img border="0" src="http://forum.codejock.com/smileys/smiley4.gif" border="0"> <br /><br />The <strong>CommandBarKeyDown</strong> Event... reference docs don't mention what the behavior of that is for CommanBarEdit / CommandBarComboBox, but it appears to be fired for at least Tab (keyCode = 9) or Enter (keyCode = 13).<br /><br />Why doesn't this work for the alphanumeric keyCodes? I'd like to prevent the user from using certain keys (i.e. spacebar in password).<br /><br />Is this possible?<br /><br />Regards ~ jp]]>
   </description>
   <pubDate>Sun, 07 May 2006 19:32:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12750&amp;title=behavior-of-commandbaredit-setfocus#12750</guid>
  </item> 
  <item>
   <title><![CDATA[Behavior of CommandBarEdit.SetFocus() : Hello, Try Execute for EditControl: ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12745&amp;title=behavior-of-commandbaredit-setfocus#12745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4161<br /><strong>Posted:</strong> 07 May 2006 at 6:51pm<br /><br /><P>Hello,</P><P>Try Execute for EditControl:</P><P>&nbsp; CommandBars(3).Controls(2).Execute<BR></P><P>2.</P><P>You can only prevent Wraping at all:</P><P>&nbsp; CommandBars(3).EnableDocking xtpFlagAlignAny Or xtpFlagFloating<BR></P>]]>
   </description>
   <pubDate>Sun, 07 May 2006 18:51:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12745&amp;title=behavior-of-commandbaredit-setfocus#12745</guid>
  </item> 
  <item>
   <title><![CDATA[Behavior of CommandBarEdit.SetFocus() : I&amp;#039;m not quite sure the behavior...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12741&amp;title=behavior-of-commandbaredit-setfocus#12741</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1446">apuhjee</a><br /><strong>Subject:</strong> 4161<br /><strong>Posted:</strong> 07 May 2006 at 2:58pm<br /><br />I'm not quite sure the behavior I'm getting from the SetFocus() method of a CommandBarEdit control is exactly what <em>should</em> be happening.<br /><br />The first thing our application does after launching is require a user to sign in. Following good UI practices - since we know that the Username field will need focus, it would be nice for us to do that automatically (think My Yahoo! sign in... 1) launch page 2) type away)<br /><br /><strong>The problem:</strong><br /><br /><img src="uploads/apuhjee/2006-05-07_144648_focus.png" border="0"><br /><br />It seems that the control is getting focus, but there is no visible caret and typing has no effect. Hitting the tab key once brings us to the desired state, but should that be necessary?<br /><br /><strong>Issue #2</strong> (this is more like a question...)<br /><br />Is there any control over what toolbar items are shown when the window is not wide enough to show <em>all</em> of them? You can see in the following screenshot that the 'Password' field has been dropped. Since this field is absolutely necessary, it would be nice if I could give it higher priority than the simple tool shortcuts in the toolbar to the left.<br /><br /><img src="uploads/apuhjee/2006-05-07_145715_visible.png" border="0"><br /><br />See what I mean?<br /><br />If anyone could advise on either of these issues, it would be greatly appreciated.<br /><br />Regards ~ jp]]>
   </description>
   <pubDate>Sun, 07 May 2006 14:58:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4161&amp;PID=12741&amp;title=behavior-of-commandbaredit-setfocus#12741</guid>
  </item> 
 </channel>
</rss>