Group: Forum Members
Posts: 17,
Visits: 53
|
I just updated to the 1.7.0.6 and screens that have the StrataFrame UserControl on them with BOTranslations to the parent form started to get errors on close. I debugged it in the StrataFrame code to the RefreshBoundControls method. It was that the _BoundControls variable was already nothing in the dispose method of the business object on the user control. The fix is simple (wrap the code checking for IsNot Nothing), but it means you now have a custom StrataFrame.dll.... I have no way of proving that it isn't something I'm doing in my dispose methods on that user control because it is very complex with several grids. So, I'm just posting it and if others have this issue, they could comment on it and say that it is an issue for everyone.
Private Sub RefreshBoundControls()
'-- Establish Locals
Dim loControl As IBusinessBindable
Dim llHasData As Boolean = (_CurrentDataTable IsNot Nothing) AndAlso (Me.Count > 0)
'-- Cycle through all bound controls
If _BoundControls IsNot Nothing Then
For Each loControl In _BoundControls
RefreshControl(loControl, llHasData)
Next
End If
End Sub
|