﻿<?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 vs. ComboBoxEdit</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 14 Sep 2026 06:10:01 GMT</lastBuildDate><ttl>20</ttl><item><title>ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13172.aspx</link><description>If I use the standard SF control, combobox, my form works just fine; however, we have invested a good chunk into the DevExpress control suite, so I thought I would see how these work within the framework.&amp;nbsp; Since I am still working on the trial software, I downloaded the 6.3.3 version of DevExpress and installed it.&amp;nbsp; Then, I added the SF wrapped 6.3 controls to the VS IDE.&amp;nbsp; After dropping a comboBoxEdit control onto the form, I went through the exact same motions as I did for the SF comboBox.&amp;nbsp; Then, F5.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The ComboBoxEdit is filled with data; however, the selected value never changes.&amp;nbsp; The visual behavior is as if it snaps back to the top of the list (a blank item) after I pick a different item on the list.&amp;nbsp; If I add a topmost item to the wrapped control, it does the same thing.&amp;nbsp; If I attempt to change the SelectedItem property from -1 to 0, the SelectedItem property reverts back to -1 as soon as I tab off of that field.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please note that I am using the PopulationType as Enumeration.&amp;nbsp; And, also note, the enum list performs beautifully on other forms by&amp;nbsp;using the non-DevEx ComboBox control.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR&gt;Bill</description><pubDate>Tue, 08 Jan 2008 14:20:42 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13305.aspx</link><description>Very nice.&amp;nbsp; It works as you suggested.&amp;nbsp; Simple.&amp;nbsp; Sweet.&amp;nbsp; Effective.&lt;/P&gt;&lt;P&gt;Btw, for any else who may need this, my namespacing syntax for assigning the enum to the custom type of the BO was as follows:&lt;/P&gt;&lt;P&gt;ApplicationName.ProjectName.ClassName.EnumName&lt;/P&gt;&lt;P&gt;:smooooth:</description><pubDate>Tue, 08 Jan 2008 14:20:42 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13266.aspx</link><description>Well...that makes sense.&amp;nbsp; I'll check it out tomorrow.&amp;nbsp; Thanks, again!! :)</description><pubDate>Sat, 05 Jan 2008 23:29:54 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13259.aspx</link><description>The problem that you are having is the Enum in this case.&amp;nbsp; The DevExpress Enum is trying to save the value back as an Enum value rather than the integer.&amp;nbsp; This is a common problem with the DevEx combo.&amp;nbsp; You can actually work around this problem by making sure that your BO has that field strong-typed as that enum type rather than an integer.&amp;nbsp; For example, your divisionindex property is probably not currently typed as the Enum to which you are binding, but rather an integer.&amp;nbsp; If you open up the BO Mapper, and add a customization to the divisionindex field to be typed as the Enum (Division) then rebuild your partial class, your bindings should start working.&amp;nbsp; SF will manage the value back to the database as an integer for you but it will allow you to communicate in code (or the DevEx bindings) as an enum which is really nice on the code side of things because you can use the Intellisense.&lt;/P&gt;&lt;P&gt;We are back in the office and trying to catch up...lots to do :)&amp;nbsp; So sorry for the slow responses, but we are getting back on top of things. ;)</description><pubDate>Fri, 04 Jan 2008 16:04:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13256.aspx</link><description>Hi Paul, &lt;/P&gt;&lt;P&gt;Attached is the properties screen snippet.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR&gt;Bill</description><pubDate>Fri, 04 Jan 2008 14:17:57 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13255.aspx</link><description>Bill, &lt;/P&gt;&lt;P&gt;I use the Combo Edit controls throughout my app with both Enums and Business Objects as the Population Datasource without any problems so they&amp;nbsp;"should" work. It kinda sounds like you did not bind it to anything . can you post a screenshot of the properties sheet with the SF stuff?</description><pubDate>Fri, 04 Jan 2008 13:04:54 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13246.aspx</link><description>Still looking for help on this one...bump... :)</description><pubDate>Fri, 04 Jan 2008 09:10:51 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13217.aspx</link><description>Little activity on the forums, again, today.&amp;nbsp; Are the SF gang still out?&amp;nbsp; Still need help on this issue, too.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR&gt;Bill</description><pubDate>Wed, 02 Jan 2008 11:59:39 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13191.aspx</link><description>ROFL!</description><pubDate>Fri, 28 Dec 2007 12:23:41 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13190.aspx</link><description>For those with cold hands, maybe a little mouse sweater would be nice. :P&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Fri, 28 Dec 2007 11:19:57 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: ComboBox vs. ComboBoxEdit</title><link>http://forum.strataframe.net/FindPost13189.aspx</link><description>Bill, &lt;br&gt;
&lt;br&gt;
I've had no experience with DevX controls, so I'm no help at all. However, I'm sure that those who do will respond...once the holiday season is over.  They're probably out perusing the after Christmas sales, looking for that special xmas mouse pad or maybe little ear muffs for their mice... :w00t:&lt;br&gt;
&lt;br&gt;
Just bump this one up next Wednesday if you haven't gotten a response yet.</description><pubDate>Fri, 28 Dec 2007 10:48:28 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>