StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
TranslateBusinessObjects casts SourceContainer to BaseForm
TranslateBusinessObjects casts SourceContainer to BaseForm
Post Reply
Like
1
TranslateBusinessObjects casts SourceContainer to BaseForm
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Andria Jensen
Andria Jensen
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 336,
Visits: 497
I am trying to use this routine to translate BO's from a UserControl to a dialog form. I pass the UserControl as the SourceContainer, but I get an error because in this routine you are casting the SourceContainer to a BaseForm. Shouldn't you check to see if this is a form before doing this line? Everything else works with any kind of ContainerControl except this line which isn't needed in that case right?
CType
(SourceContainer, BaseForm).RemoveObjectFromInitOnFormLoad(DestinationBusinessObject)
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
TranslateBusinessObjects casts SourceContainer to BaseForm
Andria Jensen
-
19 Years Ago
Actually no...this method is intended for Form use only. I will look...
Trent L. Taylor
-
19 Years Ago
If that's the case you may want to make the types it takes Form types...
Andria Jensen
-
19 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search