StrataFrame Forum

Issue with Controls not tied to BO

http://forum.strataframe.net/Topic7226.aspx

By Ben Kim - 3/1/2007

Hello all,

I have a form with several controls that are not bound to BO fields.  These controls are mostly buttons that initiate things like a spell check or lookup into another table (calling another form).

I want these controls to pay attention to the current editing state of the parent BO.  I have tried the following:

1. In code under the FormEditingStateChanged event:

If e.EditingState = MicroFour.StrataFrame.Business.BusinessEditingState.Idle Then
  
ButtonLookupFMDegree.Enabled = False
Else
 
 ButtonLookupFMDegree.Enabled = True
End If

2. Setting the IgnoreManageReadOnlyState to False

Neither option works.  The controls still show up as Enabled regardless of the current EditingState.

Ideas?

Ben

By Ben Kim - 3/1/2007

Added to FormNavigated also (DUH! :w00tSmile and now works.  Thanks anyway!

Ben