I have a UserControl that implements MicroFour.StrataFrame.UI.Windows.Forms.UserControl.
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() .
I also have a testbed project with a form that uses the control.
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.
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.
I suspect I'm interpreting what I should be doing here incorrectly - any pointers?
TIA ...
Take a look at the StrataFlix sample application specifically at these items:
There you have a live sample of a user control and how to manage it in a regular form. I personally have not used that feature so I may not be able to get deeper in this topic.
I have found with SF that once you understand the "How to", things that looks complicated, are in fact very easy to accomplish.