<?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 : CommandBarComboBox insertstext before EditHint</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CommandBarComboBox insertstext before EditHint]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 15 Aug 2026 10:59:40 +0000</pubDate>
  <lastBuildDate>Wed, 18 Jul 2007 10:31:17 +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=7617</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[CommandBarComboBox insertstext before EditHint : I can&amp;#039;t reproduce it on 11.1.3...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24528&amp;title=commandbarcombobox-insertstext-before-edithint#24528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2962">bobmazanec</a><br /><strong>Subject:</strong> 7617<br /><strong>Posted:</strong> 18 July 2007 at 10:31am<br /><br />I can't reproduce it on 11.1.3 Eval - thanks!<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>bob</DIV>]]>
   </description>
   <pubDate>Wed, 18 Jul 2007 10:31:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24528&amp;title=commandbarcombobox-insertstext-before-edithint#24528</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBarComboBox insertstext before EditHint : 10.4.1 (somehow I&amp;#039;ve missed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24527&amp;title=commandbarcombobox-insertstext-before-edithint#24527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2962">bobmazanec</a><br /><strong>Subject:</strong> 7617<br /><strong>Posted:</strong> 18 July 2007 at 9:43am<br /><br />10.4.1 (somehow I've missed 11.x until now)<DIV>&nbsp;</DIV><DIV>After further experimentation, it only seems to happen when I call the CommandBars' RecalcLayout in the ControlNotify handler.</DIV><DIV>&nbsp;</DIV><DIV>I have reproduced it in a simple project w/ a single Form containing a CommandBars control:</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><FONT face="Courier New, Courier, mono"><DIV><FONT face="Courier New, Courier, mono">Private Sub Form_Load()<BR>&nbsp;&nbsp;&nbsp; With CommandBars1.Add("commandbar", xtpBarTop)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ConfigureComboBox .Controls.Add(xtpControlComboBox, 1, "")<BR>&nbsp;&nbsp;&nbsp; End With<BR>End Sub</FONT><BR></DIV><DIV>Private Sub ConfigureComboBox(ByVal cb As CommandBarComboBox)<BR>&nbsp;&nbsp;&nbsp; With cb<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .DropDownListStyle = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EditHint = "Some Hint"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Width = 200<BR>&nbsp;&nbsp;&nbsp; End With<BR>End Sub</FONT></DIV><DIV><FONT face="Courier New"></FONT>&nbsp;</DIV><DIV><FONT face="Courier New">Private Sub CommandBars1_ControlNotify(ByVal Control As XtremeCommandBars.ICommandBarControl, ByVal Code As Long, ByVal NotifyData As Variant, Handled As Variant)<BR>&nbsp;&nbsp;&nbsp; CommandBars1.RecalcLayout<BR>End Sub</FONT>&nbsp;</DIV></BLOCKQUOTE>]]>
   </description>
   <pubDate>Wed, 18 Jul 2007 09:43:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24527&amp;title=commandbarcombobox-insertstext-before-edithint#24527</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBarComboBox insertstext before EditHint : Hello,  Sorry, I can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24521&amp;title=commandbarcombobox-insertstext-before-edithint#24521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7617<br /><strong>Posted:</strong> 18 July 2007 at 1:55am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Sorry, I can't reproduce it with current release. What Commandbars version do you have?</DIV>]]>
   </description>
   <pubDate>Wed, 18 Jul 2007 01:55:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24521&amp;title=commandbarcombobox-insertstext-before-edithint#24521</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBarComboBox insertstext before EditHint : I have a CommandBarComboBox with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24514&amp;title=commandbarcombobox-insertstext-before-edithint#24514</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2962">bobmazanec</a><br /><strong>Subject:</strong> 7617<br /><strong>Posted:</strong> 17 July 2007 at 2:26pm<br /><br />I have a CommandBarComboBox with these options:<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV>.AutoComplete = True<BR>.DropDownListStyle = True<BR>.Style = xtpButtonCaption<BR>.EditHint = "Some Hint"</DIV></BLOCKQUOTE><DIV dir=ltr>When I click in the ComboBox, it selects the EditHint text.</DIV><DIV dir=ltr>If I insert or append characters -- instead of overwriting all of them -- it appears to keep the EditHint - <EM>e.g.</EM>, .Text = "insertedSome Hint"</DIV><DIV dir=ltr>If I remove the inserted characters, the hint reverts to grey and .Text to ""</DIV><DIV dir=ltr>&nbsp;</DIV><DIV dir=ltr>Is there an option or property to keep the .EditHint out of .Text unless the user really types it?</DIV><DIV dir=ltr>&nbsp;</DIV><DIV dir=ltr>TIA,</DIV><DIV dir=ltr>bob</DIV><DIV dir=ltr>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 17 Jul 2007 14:26:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7617&amp;PID=24514&amp;title=commandbarcombobox-insertstext-before-edithint#24514</guid>
  </item> 
 </channel>
</rss>