Edhy,
I just upgraded to ver 1.7.7.1
I was using 17.3.5 just before upgrade.
But I am experiencing a problem now with this version.
Some SF usercontrol's parentform property returns null.
I have noticed that this happens those which they are also in another user control.
This strange problem specially raises when below code executed.
I am sure that other version was ok.
I was planing to install old one and try to investigate the reason.
Any advice?
Kind regards.
Private Sub AddObjectsToParentForm()
'-- Get a refernece to the parent form
Dim pf As IContainerControl = Me.ParentTarget '->>>> This line returns null.
If pf IsNot Nothing Then
'-- Cycle through the items that need to be initialized and initialize them
For Each loItem As IInitOnFormLoad In Me._ObjectsToInit
'-- Add the item to the parent's list
pf.AddObjectToInitOnLoad(loItem)
Next
'-- Cycle through the business objects and add them to the parent form
For Each loBO As BusinessLayer In Me._BusinessObjects
'-- Add the BO to the form
pf.AddBusinessObject(loBO)
Next
End If
End Sub