StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



BOTranslation Property of SFUserControlExpand / Collapse
Author
Message
Posted 08/17/2006 10:32:49 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 02/04/2008 8:43:02 AM
Posts: 176, Visits: 1,519
I just created an SFUserControl and added some fileds and a BO.  When I dropped the new control on a form I set the BOTranslation property and things are working great.  One question, it seems that the BO on the UserControl is just used when the control is in design mode and that when the Translation is made the "real" BO that is being used is the one on the host form, is this correct?

If this is the case could I use that as may base class for a non-visual class that would manage several business object and do the translation once I drop the control on a form?

Thanks

Scott

Post #2220
Posted 08/17/2006 10:36:32 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
Yes, you certainly can.

And yes, at runtime, the reference to the business object on the control is replaced with the reference to the business object on the form.


www.bungie.net
Post #2221
Posted 08/17/2006 10:46:43 AM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 02/04/2008 8:43:02 AM
Posts: 176, Visits: 1,519
Good news.  StrataFrame keeps looking better and better the more I learn.

Scott

Post #2222
Posted 08/17/2006 10:48:41 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
That's always good to here   I know everyone that participated in the training this last weekend got a lot out of it.  There's also the security and the Enterprise Server that will be coming out soon.


www.bungie.net
Post #2223
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:43am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 8 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.