﻿<?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 » Business Objects and Data Access (How do I?)  » WinForms UserControl not refreshing bound control.</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 09 Sep 2026 21:45:10 GMT</lastBuildDate><ttl>20</ttl><item><title>WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21679.aspx</link><description>&lt;FONT size=+0&gt;&lt;P&gt;I have a UserControl that implements MicroFour.StrataFrame.UI.Windows.Forms.UserControl.&lt;/P&gt;&lt;P&gt;On that UserControl I have a BO, and a textbox bound to that BO in the normal way. In the UserControl Load event I have a call to FillDataTable() .&lt;/P&gt;&lt;P&gt;I also have a testbed project with a form that uses the control. &lt;/P&gt;&lt;P&gt;The problem is when I run the testbed project the form comes up and displays the first record in the textbox, however the textbox is disabled. If I place a MaintenanceFormToolStrip either on the UserControl itself, or the test form that hosts the UserControl, it does not seem to connect to the BO as the buttons on the strip don't change the textbox. &lt;/P&gt;&lt;P&gt;Also, if I place my own button on the UserControl and use that to call MoveNext() on the BO, I can see the CurrentRowIndex changing, but the textbox just stays as is.&lt;/P&gt;&lt;P&gt;I suspect I'm interpreting what I should be doing here incorrectly - any pointers?&lt;/P&gt;&lt;P&gt;TIA ...&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Wed, 28 Jan 2009 09:33:07 GMT</pubDate><dc:creator>Alan P Bourke</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21701.aspx</link><description>Yeah, that is exactly what that is for.&amp;nbsp; I will make a note of the help and make sure it gets in there.</description><pubDate>Wed, 28 Jan 2009 09:33:07 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21691.aspx</link><description>Great!, glad you found it.</description><pubDate>Tue, 27 Jan 2009 11:35:19 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21690.aspx</link><description>Aha! As simple as setting up the Business Object Translation! &lt;br&gt;
&lt;br&gt;
Don't see it in the help file though ...&lt;br&gt;
&lt;br&gt;
Thanks.</description><pubDate>Tue, 27 Jan 2009 11:20:18 GMT</pubDate><dc:creator>Alan P Bourke</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21683.aspx</link><description>Forgot to mention, do a search in the forum for "UserControl" that will give you several hits, and your answer should be there.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have found with SF that once you understand the "How to", things that looks complicated, are in fact very easy to accomplish.</description><pubDate>Tue, 27 Jan 2009 08:38:47 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21682.aspx</link><description>Thanks. That looks fairly complicated :(</description><pubDate>Tue, 27 Jan 2009 08:09:36 GMT</pubDate><dc:creator>Alan P Bourke</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21681.aspx</link><description>Hi Alan,&lt;/P&gt;&lt;P&gt;Take a look at the StrataFlix sample application specifically at these items:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;StrataFlix.UI PeopleLookupControl.vb user control&lt;/LI&gt;&lt;LI&gt;StataFlix CastMemberSelection.vb form&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There you have a live sample of a user control and how to manage it in a regular form.&amp;nbsp; I personally have not used that feature so I may not be able to get deeper in this topic.</description><pubDate>Tue, 27 Jan 2009 07:40:14 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WinForms UserControl not refreshing bound control.</title><link>http://forum.strataframe.net/FindPost21680.aspx</link><description>I should add that the call to FillDataTable() is "select * from mytable" i.e. it will be returning more that one record.</description><pubDate>Tue, 27 Jan 2009 03:17:20 GMT</pubDate><dc:creator>Alan P Bourke</dc:creator></item></channel></rss>