﻿<?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 » Business Objects and Data Access (How do I?)  » permentantly setting BO State to "Edit"</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 01:40:01 GMT</lastBuildDate><ttl>20</ttl><item><title>permentantly setting BO State to "Edit"</title><link>http://forum.strataframe.net/FindPost19017.aspx</link><description>Hello, &lt;br&gt;
&lt;br&gt;
It's probably something very simple as setting a property on a BO, or maybe I am over thinking it. But I can't find an easy way to do it.&lt;br&gt;
I want some BOs to default to "Edit" mode without user having to click "Edit" button on the maintenance form or setting it programmatically. Right now I am setting it in the code as soon as users navigates to a data row. But I want to be an automatic thing for certain objects. Can I do that?&lt;br&gt;
&lt;br&gt;
Thank you for your help!</description><pubDate>Thu, 04 Sep 2008 09:09:45 GMT</pubDate><dc:creator>Leonard P.</dc:creator></item><item><title>RE: permentantly setting BO State to "Edit"</title><link>http://forum.strataframe.net/FindPost19050.aspx</link><description>Thank you both, I knew it was something very simple. :)</description><pubDate>Thu, 04 Sep 2008 09:09:45 GMT</pubDate><dc:creator>Leonard P.</dc:creator></item><item><title>RE: permentantly setting BO State to "Edit"</title><link>http://forum.strataframe.net/FindPost19025.aspx</link><description>One thing that was not immediately obvious to me is that the BO itself doesn't really go from readonly to editable. It is always editable. Thus, as Dustin indicated, you really just tell the BO to not manage the UI state.  Pretty simple really!  :D</description><pubDate>Wed, 03 Sep 2008 17:00:44 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: permentantly setting BO State to "Edit"</title><link>http://forum.strataframe.net/FindPost19020.aspx</link><description>We accomplish this very thing in our medical app, but we handle it in the UI. Bottom line is that we turn the ManageUIReadOnlyState to false on the business objects we want to handle this way (which is most all of them in our case), and then handle the IsDirtyChanged event of our BOs to manage the Save and Undo buttons (we do this on the base form). &lt;/P&gt;&lt;P&gt;If you are using the 1.6.6 beta, I'd recommend taking a look at our &lt;A href="http://forum.strataframe.net/Topic18186-17-1.aspx"&gt;StrataFlix&lt;/A&gt; sample as it shows exactly how we do all of this. In our case we don't use the maintenanceFormToolstrip but instead use a list of "actions" which appear or dissapear depending on whether they are applicable (i.e. the Save and Undo actions pop in and out depending on the dirty state of the BOs.)</description><pubDate>Wed, 03 Sep 2008 16:13:27 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item></channel></rss>