﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Create user control</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 21 Apr 2026 03:12:05 GMT</lastBuildDate><ttl>20</ttl><item><title>Create user control</title><link>http://forum.strataframe.net/FindPost5632.aspx</link><description>Hi,&lt;br&gt;
I would like to create an user control that contains of address, city, country, postal and state. I have business object in this user control that would populate country list and bind to combobox.&lt;br&gt;
&lt;br&gt;
After create ths user control, I would like to allow user to bind data to user control's inner controls (textbox and combobox) in form.&lt;br&gt;
&lt;br&gt;
How to implement this?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Mon, 29 Jan 2007 09:30:49 GMT</pubDate><dc:creator>kkchan</dc:creator></item><item><title>RE: Create user control</title><link>http://forum.strataframe.net/FindPost6374.aspx</link><description>If you are worried about the other tables recognizing the translation, they will.&amp;nbsp; The object reference is truly changed when the translation takes place.&amp;nbsp; The SF user control has a property named BOTranslations that allows you to drop the user control on a form and then have the BO on the form translated into the user control.&amp;nbsp; &lt;/P&gt;&lt;P&gt;So any other BOs that reference the BO on the parent or within the child will be looking at the same business object specified in the "source" translation BO.</description><pubDate>Mon, 29 Jan 2007 09:30:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Create user control</title><link>http://forum.strataframe.net/FindPost6355.aspx</link><description>Hi,&lt;br&gt;
I have a master table, called currency. I have more than one table FK refer to currency master table, how could I set data binding to controls inside my user control? Which BO should I used for translation? Create dummy BO or...?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Sun, 28 Jan 2007 09:32:02 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Create user control</title><link>http://forum.strataframe.net/FindPost5643.aspx</link><description>You are going down the wong road here.&amp;nbsp; You need to create your user control based off of the StrataFrame User Control.&amp;nbsp; This control allows the control to behave just like a form.&amp;nbsp; Then when dropped on a form, it has a property called BO Translations that allow the forms BO to be used in place of the internal BO in the user control.</description><pubDate>Sun, 07 Jan 2007 15:07:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Create user control</title><link>http://forum.strataframe.net/FindPost5636.aspx</link><description>Hi,&lt;br&gt;
I checked out IBusinessBindable sample, and implemented some code to my user control.&lt;br&gt;
I think the remaining question is, since my user control contains multiple controls. Do you recommend to set all of the relevant properties value to these controls in setter method? Any better place to me to set them only once upon refresh or other event?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Sun, 07 Jan 2007 06:20:50 GMT</pubDate><dc:creator>kkchan</dc:creator></item></channel></rss>