﻿<?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?)  » Trying to drop UltraList on a SF Theme Window but get an error saying I need a IContainerControl...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 10 Sep 2026 19:57:57 GMT</lastBuildDate><ttl>20</ttl><item><title>Trying to drop UltraList on a SF Theme Window but get an error saying I need a IContainerControl...</title><link>http://forum.strataframe.net/FindPost9907.aspx</link><description>Hi all. Is the IContainerControl an actual control or what? I don't find such a control in my tool box. I see references to the SF user control in the docs and in messages in the fourm but when I drop it on my form it also asks for the IContainerContainer control. Hmmm....  So, could someone explain this to me clearly please?&lt;br&gt;
&lt;br&gt;
TIA&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Tue, 03 Jul 2007 09:33:15 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: Trying to drop UltraList on a SF Theme Window but get an error saying I need a IContainerControl...</title><link>http://forum.strataframe.net/FindPost9931.aspx</link><description>Thank you Ben. I understand what is going on now. I'll check out the reference you gave me.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Tue, 03 Jul 2007 09:33:15 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: Trying to drop UltraList on a SF Theme Window but get an error saying I need a IContainerControl...</title><link>http://forum.strataframe.net/FindPost9928.aspx</link><description>Ah, there might be some confusion there, because there is a System.Windows.Forms.IContainerControl and there is a MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl.&amp;nbsp; The one you're probably wanting is the MicroFour one.&amp;nbsp; That interface is implemented by classes like MicroFour.StrataFrame.UI.Windows.Forms.BaseForm, and MicroFour.StrataFrame.UI.Windows.Forms.UserControl.&amp;nbsp; It ties together the binding between the business objects and the controls and initializes all of the objects that implement the IInitOnFormLoad interface.&amp;nbsp; Now that interface is not implemented on ThemedForm because ThemedForm is meant to be an accent form,&amp;nbsp;more as a base for the WaitWindow and MessageForm than as a form for your application.&amp;nbsp; If you want to use the ThemedForm as the base for one or more of the forms in your application, you'll need to subclass it and implement that interface on it.&amp;nbsp; You can see how to implement it by checking the source code for BaseForm... it's pretty extensive, so you might just copy it over if you need to.</description><pubDate>Tue, 03 Jul 2007 09:20:41 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Trying to drop UltraList on a SF Theme Window but get an error saying I need a IContainerControl...</title><link>http://forum.strataframe.net/FindPost9923.aspx</link><description>Thanks for the reply Robin. Yes it is a Themed Form, but I'm still not sure how to impliment IContainerControl. Is there a SF sample that uses this mysterious control that I could look at to see how to use it and where it comes from?&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Robert</description><pubDate>Tue, 03 Jul 2007 08:30:56 GMT</pubDate><dc:creator>Robert Carl Johnson</dc:creator></item><item><title>RE: Trying to drop UltraList on a SF Theme Window but get an error saying I need a IContainerControl...</title><link>http://forum.strataframe.net/FindPost9921.aspx</link><description>I believe the IContainerControl is an interface, that according to the ObjectBrowser&lt;/P&gt;&lt;P&gt;"Provides the functionality for a control to act as a parent for other controls."&amp;nbsp; So it looks like the Ultragrid is making sure that the control it is being dropped on, is implementing the IContainerControl?&lt;/P&gt;&lt;P&gt;Are you trying to simply drop the UltraList onto an SF Themed Form?&lt;/P&gt;&lt;P&gt;Robin Giltner&lt;FONT size=1&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 03 Jul 2007 08:01:33 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item></channel></rss>