ParentForm and ParentContainer


Author
Message
Ertan Deniz
Ertan Deniz
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 163, Visits: 493
I want to use ParentForm property for the businessObjects that is initiated in the code (i.e not dropped on the form) 

Currently, This type of objects has null value for the property. I've seen the other constructor (with parameter Icontainer) was working. But I couldn't understand When these properties were set. I may follow the same way.

How can I achieve this ?

Replies
Ertan Deniz
Ertan Deniz
StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)StrataFrame User (207 reputation)
Group: Forum Members
Posts: 163, Visits: 493

I'm trying to get some business object usage information like Which forms use which objects for logging purposes.
If I know the parent object (especially the form), it will be logged with necesseary related information. After some time,
I will expect nearly to get some useful information for dependencies between forms and objects.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
One thing you may want to use is the BusinessObjects property on the form.  The form has a collection of BOs on it that are dropped on that particular form, so you may want to try that.  But you will not be able to set the ParentForm property...this is a readonly property that sets itself.  You could look into the ParentContainer property, as mentioned in the previous post, as well.
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