﻿<?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?)  » Changing a Combotext value</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 18 Jul 2026 09:26:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Changing a Combotext value</title><link>http://forum.strataframe.net/FindPost25465.aspx</link><description>I am having a problem with all my Comboboxes.&lt;/P&gt;&lt;P&gt;Say I have a ComboBox, which comes from a BO, and available values are A,B,C,D. If Ichange the selection from say A to B, everything is ok and the B is saved back to the database.&lt;/P&gt;&lt;P&gt;If there was an A in the value and&amp;nbsp;I enter &amp;nbsp;X into the combobox(i.e. a value that is not in the Dropdown), when the record is saved, the value that is saved is A (Not the X). I noticed this when I was building a validation routine , and if I enter an X, I cant seem to trap this anywhere (I want to add the fact thet an X was entered into the&amp;nbsp;BrokenRules). Its ok that the X is not written away , as it would not be a valid entry anyway, but I am having a problem in that the Business Object still has th 'A' in there insted of the 'X', and I want to let the user know that they have typed in an 'X', otherwsie they will continue on and think that the 'X' has been accepted.</description><pubDate>Sun, 03 Jan 2010 11:37:23 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Changing a Combotext value</title><link>http://forum.strataframe.net/FindPost25468.aspx</link><description>Hi Les.&lt;/P&gt;&lt;P&gt;I changed to a DropDownList and that solves the immediate issue..thanks for that. I am sure there will be situations in the future when I may need to also enter text into the Dropdown but will cross that bridge when it happens.&lt;/P&gt;&lt;P&gt;Regards, Gerard</description><pubDate>Sun, 03 Jan 2010 11:37:23 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: Changing a Combotext value</title><link>http://forum.strataframe.net/FindPost25467.aspx</link><description>Dear Gerard,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I fought this one for a long time, and finally decided to change from a DropDownCombo (List AND TextBox) to a DropDownList (You can't type anything - you can only select from the list), and the problem went away. At first I thought it compromised my design, but I finally decided that it didn't.&lt;/P&gt;&lt;P&gt;Les</description><pubDate>Sun, 03 Jan 2010 09:06:44 GMT</pubDate><dc:creator>Les Pinter</dc:creator></item></channel></rss>