Issue with Controls not tied to BO


Author
Message
Ben Kim
Ben Kim
StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)
Group: Forum Members
Posts: 99, Visits: 253
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


Ben Kim
Ben Kim
StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)StrataFrame Novice (115 reputation)
Group: Forum Members
Posts: 99, Visits: 253
Added to FormNavigated also (DUH! :w00tSmile and now works.  Thanks anyway!

Ben

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search