<?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 : Markup in xtpControlComboBox</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Markup in xtpControlComboBox]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 15 Jun 2026 00:37:28 +0000</pubDate>
  <lastBuildDate>Mon, 29 Jun 2009 06:07:34 +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=14628</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[Markup in xtpControlComboBox : Hi Aaron  I&amp;#039;ve have tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50437&amp;title=markup-in-xtpcontrolcombobox#50437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 29 June 2009 at 6:07am<br /><br />Hi Aaron<DIV>&nbsp;</DIV><DIV>I've have tried that. See my other post <a href="http://forum.codejock.com/forum_posts.asp?TID=14630" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=14630</A></DIV><DIV>&nbsp;</DIV><DIV>The problem is I need to hide/show various controls on the same bar accoring to the parameters the user is trying to query against. i.e. If a combo value elsewhere is = 1 Show a edit field for user input or = 2 a combo or 3 = custom control etc etc.</DIV><DIV>&nbsp;</DIV><DIV>If I don't hide these controls it could misdirect the user. However, when hiding a custom control I see a white patch.</DIV><DIV>&nbsp;</DIV><DIV>Best regards</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 06:07:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50437&amp;title=markup-in-xtpcontrolcombobox#50437</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox :   Boris wrote:Hi,   Having...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50407&amp;title=markup-in-xtpcontrolcombobox#50407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 27 June 2009 at 2:59pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Boris" alt="Originally posted by Boris" style="vertical-align: text-bottom;" /> <strong>Boris wrote:</strong><br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Having created my command bar in the Designer I am now ready to run my app. I have found the combo control in code and set its markup property to true. Then I want to add markup text to the list in the combo. However, this just shows the raw markup code.</DIV><DIV>&nbsp;</DIV><DIV>Anybody have any suggestions?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi Boris,</DIV><DIV>&nbsp;</DIV><DIV>Why don't you attach ordinary combobox (into picturebox first) to a CommandBarControlCustom and use it as an item in Commandbars?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 14:59:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50407&amp;title=markup-in-xtpcontrolcombobox#50407</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox : I certainly agree. There is alot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50396&amp;title=markup-in-xtpcontrolcombobox#50396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1971">Fossil</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 27 June 2009 at 9:11am<br /><br />I certainly agree.&nbsp; There is alot of functionality already there and much potential to make it better and better.]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 09:11:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50396&amp;title=markup-in-xtpcontrolcombobox#50396</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox : Hi  Thanks for your time. What...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50395&amp;title=markup-in-xtpcontrolcombobox#50395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 27 June 2009 at 9:05am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>Thanks for your time. What this does show though is as CJ gets further up the version numbers we are all beginning to ask for attention to detail and consistency across their product range.&nbsp;We now focus on attention to detail with the same level of importance as the excellent stabilty of the product. It is by far the best out there.</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 09:05:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50395&amp;title=markup-in-xtpcontrolcombobox#50395</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox : I understand what you are looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50394&amp;title=markup-in-xtpcontrolcombobox#50394</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1971">Fossil</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 27 June 2009 at 8:54am<br /><br />I understand what you are looking for now and yes it appears Markup is not supported in the CommandBar except in TabWorkspace and MessageBar objects which I did not realize.&nbsp; Based on your theme you can get the look close, but the standard combo always shows a border.&nbsp; I was actually looking for a way for the command bar dropdown to add in a border, but could not find that either.&nbsp; There are some other dropdown boxes out there in the ActiveX world that may get you want you are looking for, or you may want to find out from CodeJock when Markup will be supported in the CommandBar controls.&nbsp; As a last resort, you can take the edithandle property of the commandbar dropdown and use it to possibly subclass the control with API.]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 08:54:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50394&amp;title=markup-in-xtpcontrolcombobox#50394</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox : Hi again.. This code works for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50391&amp;title=markup-in-xtpcontrolcombobox#50391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 27 June 2009 at 7:09am<br /><br />Hi again..<DIV>This code works for a std CJ cbo with markup. However the appearnce of a std CJ cbo is not the same as a CJ cbo added as a commandbar item. The latter is flat and the formar is raised they look wierd on the same command bar. </DIV><DIV>I have tried adding the cbocbar item and using the same code it just doesn't work.</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Private Sub CreateEventLabels()<BR>Dim pLabel As CalendarEventLabel</DIV><DIV><BR>&nbsp;&nbsp;&nbsp; For Each pLabel In CalendarControl.DataProvider.LabelList<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pAddComboItem Me.cboColorPicker, pLabel.Color, pLabel.Name, pLabel.LabelID<BR>&nbsp;&nbsp;&nbsp; Next</DIV><DIV>End Sub</DIV><DIV>&nbsp;</DIV><DIV>Sub pAddComboItem(ComboBoxMarkup As Control, lColor As Long, sText As String, Optional lData As Long = 0)<BR>Dim sColor As String<BR>Dim lRed As Long, lGreen As Long, lBlue As Long</DIV><DIV>lRed = lColor And &amp;HFF<BR>lGreen = (lColor And &amp;HFF00&amp;) \ &amp;H100&amp;<BR>lBlue = (lColor And &amp;HFF0000) \ &amp;H10000</DIV><DIV>sColor = Right$("0" &amp; Hex$(lRed), 2) &amp; Right$("0" &amp; Hex$(lGreen), 2) &amp; Right$("0" &amp; Hex$(lBlue), 2)</DIV><DIV>ComboBoxMarkup.AddItem "&lt;StackPanel Orientation='Horizontal'&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;Rectangle&nbsp; Fill='#" &amp; sColor &amp; "' Stroke='#000000' Width='14' Height='14'/&gt;" &amp; _<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "&lt;TextBlock Padding = '2' VerticalAlignment='Center'&gt;" &amp; sText &amp; "&lt;/TextBlock&gt;&lt;/StackPanel&gt;"<BR>ComboBoxMarkup.ItemData(ComboBoxMarkup.NewIndex) = lData<BR>&nbsp;&nbsp; <BR>End Sub</DIV>]]>
   </description>
   <pubDate>Sat, 27 Jun 2009 07:09:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50391&amp;title=markup-in-xtpcontrolcombobox#50391</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox : Sounds like the markup code is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50367&amp;title=markup-in-xtpcontrolcombobox#50367</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1971">Fossil</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 26 June 2009 at 3:59pm<br /><br />Sounds like the markup code is not in proper format.&nbsp; What is the XAML code look like?]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 15:59:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50367&amp;title=markup-in-xtpcontrolcombobox#50367</guid>
  </item> 
  <item>
   <title><![CDATA[Markup in xtpControlComboBox : Hi,  Having created my command...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50358&amp;title=markup-in-xtpcontrolcombobox#50358</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14628<br /><strong>Posted:</strong> 26 June 2009 at 10:16am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Having created my command bar in the Designer I am now ready to run my app. I have found the combo control in code and set its markup property to true. Then I want to add markup text to the list in the combo. However, this just shows the raw markup code.</DIV><DIV>&nbsp;</DIV><DIV>Anybody have any suggestions?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jun 2009 10:16:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14628&amp;PID=50358&amp;title=markup-in-xtpcontrolcombobox#50358</guid>
  </item> 
 </channel>
</rss>