StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
ChildFormDialog
ChildFormDialog
Post Reply
Like
0
ChildFormDialog
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Larry Caylor
Larry Caylor
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Awaiting Activation
Posts: 592,
Visits: 3.7K
I've run into an issue with the bound controls collection when a business object is passed through more than one level of ChildFormDialogs. To simplify troubleshooting I did the following. On form1 I filled a business object, BO1; its not bound to any controls on form1. Form1 one calls form2 using a ChildFormDialog passing BO1. On form2 BO1 is bound to four controls and BO1.BoundControls.Count = 4. Form2 calls form3 using a ChildFormDialog again passing BO1, the object is not bound to any controls on form3. When form3 is closed and control returns to form2, BO1.BoundControls reflects the object's bound controls collection on form1 (count = 0), not form2 (count = 4).
-Larry
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Larry, I am probably missing something, but is there anyway you could produce a quick sample for me to look at. I am not having the same results as you.
Thanks.
Reply
Like
0
Larry Caylor
Larry Caylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: Awaiting Activation
Posts: 592,
Visits: 3.7K
Attached is a simple example. You can run it against the StrataFrame sample database. It pulls a few records from Customers.
-Larry
Attachments
ChildDialogExample.zip
(
75 views,
758.00 KB
)
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Thanks, Larry. Just so you know, I will be on the road today and will not have a chance to look at this until I get back in the office tomorrow or Thursday. We have a lot of people on vacation this week so I am covering a lot of ground this week. But I will definitely add this to my list and take a look at it. Thanks for taking the time to create a sample.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search