﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / WinForms (How do I?)  / Combobox shows first item in list when no data in BO / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Wed, 07 Jan 2009 16:26:18 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Combobox shows first item in list when no data in BO</title><link>http://forum.strataframe.net/Topic4541-7-1.aspx</link><description>And does this mean I will have to have code to handle this for every bound SF combobox?  &lt;br&gt;&lt;br&gt;Again, the situation is that I've a bound combobox, with the list being filled via a BO. If the BO the combo is bound to is empy, the first item in the list is selected initially.</description><pubDate>Thu, 16 Nov 2006 10:47:40 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Combobox shows first item in list when no data in BO</title><link>http://forum.strataframe.net/Topic4541-7-1.aspx</link><description>Is setting the TopMostItem to nothing the same as "unselecting" any item?</description><pubDate>Thu, 16 Nov 2006 10:45:53 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Combobox shows first item in list when no data in BO</title><link>http://forum.strataframe.net/Topic4541-7-1.aspx</link><description>Ivan is correct... the best way to solve your problem is to set that TopMostItem property to something that makes sense.</description><pubDate>Thu, 16 Nov 2006 08:14:23 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>RE: Combobox shows first item in list when no data in BO</title><link>http://forum.strataframe.net/Topic4541-7-1.aspx</link><description>Hi Greg.&lt;/P&gt;&lt;P&gt;Just sharing my experience with it ... have you tried playing with the TopMostItem property of the ComboBox? I usually type --- in it. &lt;/P&gt;&lt;P&gt;Cheers.</description><pubDate>Thu, 16 Nov 2006 08:00:34 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>Combobox shows first item in list when no data in BO</title><link>http://forum.strataframe.net/Topic4541-7-1.aspx</link><description>I have a SF combobox that is bound to a field in a BO.  If the BO has no data, the first item in the combo box is shown (incorrectly, there is no data in the BO yet).  If I hit Add, the combo clears. If I hit undo, it stays clear.  How do I ensure that the combo shows nothing when it first shows if the BO is empty?</description><pubDate>Wed, 15 Nov 2006 19:49:35 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>