﻿<?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?)  » Issue with Controls not tied to BO</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 11 Sep 2026 00:27:35 GMT</lastBuildDate><ttl>20</ttl><item><title>Issue with Controls not tied to BO</title><link>http://forum.strataframe.net/FindPost7226.aspx</link><description>Hello all,&lt;/P&gt;&lt;P&gt;I have a form with several controls that are not bound to BO fields.&amp;nbsp; These controls are mostly buttons that initiate things like a spell check or lookup into another table (calling another form).&lt;/P&gt;&lt;P&gt;I want these controls to pay attention to the current editing state of the parent BO.&amp;nbsp; I have tried the following:&lt;/P&gt;&lt;P&gt;1. In code under the FormEditingStateChanged event:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;If e.EditingState = MicroFour.StrataFrame.Business.BusinessEditingState.Idle Then&lt;BR&gt;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;ButtonLookupFMDegree.Enabled = False&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;Else&lt;BR&gt;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&amp;nbsp;ButtonLookupFMDegree.Enabled = True&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;End If&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2&gt;2. Setting the IgnoreManageReadOnlyState to False&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2&gt;Neither option works.&amp;nbsp; The controls still show up as Enabled regardless of the current EditingState.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2&gt;Ideas?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2&gt;Ben&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Thu, 01 Mar 2007 07:59:58 GMT</pubDate><dc:creator>Ben Kim</dc:creator></item><item><title>RE: Issue with Controls not tied to BO</title><link>http://forum.strataframe.net/FindPost7228.aspx</link><description>Added to FormNavigated also (DUH! :w00t:) and now works.&amp;nbsp; Thanks anyway!&lt;/P&gt;&lt;P&gt;Ben</description><pubDate>Thu, 01 Mar 2007 07:59:58 GMT</pubDate><dc:creator>Ben Kim</dc:creator></item></channel></rss>