Urgent : ParentForm returns null


Author
Message
hector
hector
StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)
Group: StrataFrame Users
Posts: 52, Visits: 559
Hi folks,

I have just upgrade to SF v1.7.7.1 ( i was at SF version 1.7.3.5 before)

I have also upgrade windows 2012 R2 and VS2013

When i test programs, i have noticed that some (not all) SF User-control  returns null.

I have looked to source code of SF v1.7.7.1 and i have discover ParentTarget property added to this version (see below)

And also a property added named  initObjectsToContainerNotForm which controls what returns.

Why this initObjectsToContainerNotForm  added here.What was the purpose ?

I am asking this just for to be sure that wheather it is related my problem (ParentForm returns null) ?

I mean did u get some request that ParentForm return null and u added this in new version?

This is so urgent for me.

I will happy if u can help me ASAP.

Thanks

  Private ReadOnly Property ParentTarget As IContainerControl
            Get
                If Me._initObjectsToContainerNotForm Then
                    Return Me.ParentContainer
                Else
                    Return TryCast(Me.ParentForm, IContainerControl)
                End If
            End Get
        End Property

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