﻿<?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 - V1 » WinForms (How do I?)  » ComboBox doesn't respect EditingState</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 28 May 2026 13:52:13 GMT</lastBuildDate><ttl>20</ttl><item><title>ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15656.aspx</link><description>I have a test form with textboxes and a combobox. I notice that the combobox is always enabled regardless of the BO.EditingState. Not a big problem as&amp;nbsp;I know it can be handled in our own code, but I think it would be good if all editable controls respected the BO.EditingState.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Thu, 17 Apr 2008 18:00:55 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15752.aspx</link><description>LOL....the combobox...I think that your brain is functioning very nicely! :D</description><pubDate>Thu, 17 Apr 2008 18:00:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15751.aspx</link><description>The combobox or my brain? :)</description><pubDate>Thu, 17 Apr 2008 17:06:13 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15746.aspx</link><description>Glad you got it working! ;)</description><pubDate>Thu, 17 Apr 2008 16:19:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15739.aspx</link><description>Cool! :D</description><pubDate>Thu, 17 Apr 2008 14:06:56 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15738.aspx</link><description>Thanks everybody for your help. I now have a multi-column combobox :)</description><pubDate>Thu, 17 Apr 2008 13:21:48 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15672.aspx</link><description>You have to set the UseMultiColumns property to True and define the columns in the columns collection.&amp;nbsp; If you are looking at teh&amp;nbsp;property sheet in category mode, it should be the last category of the combo towards at the vert bottom.&amp;nbsp; If you use the category view instead of the alphabetical view, it might help you learn more quickly what the SF properties are and find the SF categories versus the standard properties.</description><pubDate>Tue, 15 Apr 2008 19:09:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15671.aspx</link><description>I believe the format for the multi-column is:&lt;br&gt;
&lt;br&gt;
{0}|{1}&lt;br&gt;
&lt;br&gt;
Don't forget that vertical bar!</description><pubDate>Tue, 15 Apr 2008 19:08:14 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15669.aspx</link><description>Hi Ivan,&lt;/P&gt;&lt;P&gt;I tried that and it doesn't work for me. All I see is whatever I have in the Display Member Format String box. If I do {1}{0} in Display Member then I see the two columns when the combobox is both open and closed. The Drop-Down Display Format String doesn't appear to do anything for me. &lt;/P&gt;&lt;P&gt;Maybe I am missing a property on the combobox to make this work?&lt;/P&gt;&lt;P&gt;Thanks anyway.</description><pubDate>Tue, 15 Apr 2008 18:13:02 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15668.aspx</link><description>Hi Aaron.&lt;P&gt;Try something like this:&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/9ba8fa53-373d-46b7-b0ba-55be.jpg"&gt;</description><pubDate>Tue, 15 Apr 2008 18:04:23 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15667.aspx</link><description>By the way, is there anyway to show two fields when the drop-down is opened but only one field with the drop-down is closed?&lt;/P&gt;&lt;P&gt;I tried using the "Drop-Down Display Format String (Combo Only)" option but it didn't appear to do anything.&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Tue, 15 Apr 2008 17:33:25 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15666.aspx</link><description>Binding to a BO field may be the most basic point but guess which dummy didn't do it? :)&lt;/P&gt;&lt;P&gt;I really didn't know what I was doing and originally bound to the field and ran the form without realising I had to&amp;nbsp;setup the PopulationDataSourceSettings. It threw an error so I removed the binding and setup the PopulationDataSourceSettings. Of course the drop-down worked but it wasn't bound to the BO.&lt;/P&gt;&lt;P&gt;Now that I have bound to a field, guess what is working now? 10 points to you and a "fail" for me :)</description><pubDate>Tue, 15 Apr 2008 17:30:20 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15664.aspx</link><description>Well, then you have something else in the mix...this is a very basic control and basic functionality.&amp;nbsp; I know for a 100% fact that this control follows the editing state of the BO when bound...oh, that would be a 4th point :D (and the most basic one)&lt;P&gt;Do you have the control bound to a BO and binding field?</description><pubDate>Tue, 15 Apr 2008 17:22:08 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15661.aspx</link><description>Interesting, I am using a SF combobox and have checked your points:-&lt;/P&gt;&lt;P&gt;1. IgnoreManageReadOnlyState = false&lt;/P&gt;&lt;P&gt;2. ManageUIReadOnlyState = true for both the main form BO and the lookup BO&lt;/P&gt;&lt;P&gt;However, I can open the dropdown and select an item when the form is not in edit mode.</description><pubDate>Tue, 15 Apr 2008 16:44:13 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15659.aspx</link><description>The combobox &lt;U&gt;&lt;EM&gt;does&lt;/EM&gt;&lt;/U&gt; follow the EditingState.&amp;nbsp; The only reason it wouldn't is if:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You have the IgnoreReadonlyState property set to True on the ComboBox&lt;/LI&gt;&lt;LI&gt;Have the ManageReadonlyState property set to False on the BO&lt;/LI&gt;&lt;LI&gt;Aren't using an SF combobox.&lt;/LI&gt;&lt;/OL&gt;</description><pubDate>Tue, 15 Apr 2008 16:25:34 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15658.aspx</link><description>Sorry, it is still doing it after I have setup the combobox. It looks like the combobox is always enabled regardless of BO.EditingState.</description><pubDate>Tue, 15 Apr 2008 16:09:49 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: ComboBox doesn't respect EditingState</title><link>http://forum.strataframe.net/FindPost15657.aspx</link><description>Oops - I spoke too soon. I haven't bound the combobox to a field yet!</description><pubDate>Tue, 15 Apr 2008 16:02:52 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item></channel></rss>