﻿<?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 » Issues  » ThemedContainer issues</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 01:51:31 GMT</lastBuildDate><ttl>20</ttl><item><title>ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14055.aspx</link><description>I have found two problems with the ThemedContainer:&lt;br&gt;
&lt;br&gt;
- The redraw after resize is very slow (&gt;5 seconds), if it happens at all for the close and expand/collapse icons. It updates if I move the mouse over the area were the icons go.&lt;br&gt;
- The text in the title isn't clipped when it gets to the expand icon (chevron)/close icon.&lt;br&gt;
&lt;br&gt;
Here is my setup:&lt;br&gt;
I have a base form that has a ThemedContainer on it (subclassing a form that subclasses another form, that subclasses the SF StandardForm).   On the main form, I have a second ThemedContainer.  For both of these containers I'm using a custom icon for the close button and using "Raise Event Only" and the standard chevron with auto switch for the expand/collapse icon.  I have both to "snap" when expanded/collapsed. They are both docked to Top. &lt;br&gt;
&lt;br&gt;
I tried to use the Update method of the ThemedContainer in the Form's Resize event, which had no effect (icons not updated). I also tried the ResizeEnd event for the form, which resulted in the slow updates (as opposed to no updates) when making the form smaller, no updates when making the form larger.&lt;br&gt;
&lt;br&gt;
Let me know if I forgot something or if I need to work up a sample app.</description><pubDate>Wed, 06 Feb 2008 16:18:57 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14135.aspx</link><description>ROFL :hehe: ....nah, that is why creating a sample for me to look at is so important...sometimes a sample can get straight to the point instead of misunderstanding what is actually taking place.&amp;nbsp; It isn't always necessary, but in this case it made all of the difference!&amp;nbsp; Thanks for patronizing me :)</description><pubDate>Wed, 06 Feb 2008 16:18:57 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14130.aspx</link><description>I used the gacutil and that worked.  The update fixed the problem.&lt;br&gt;
&lt;br&gt;
Now, we need to talk.  After I post a solution that demonstrates the problem, you take 31 whole minutes (and a few seconds) to get it fixed and post that fix?  What'd ya do, take lunch?  Take a walk?  Build a steam powered laptop?  Kids these days.... :P&lt;br&gt;
&lt;br&gt;
:w00t:&lt;br&gt;
&lt;br&gt;
Joking aside, that was amazing :D  Thanks!</description><pubDate>Wed, 06 Feb 2008 15:41:51 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14128.aspx</link><description>OK, I know I've done this a few times before...but when I try to copy the .dll to the GAC (c:\windows\assembly) the cursor turns to a little black "no way charily tuna" cursor (circle with diagonal line through it) and I can't copy it.  What am I forgetting?  I copied it to the SF folder.</description><pubDate>Wed, 06 Feb 2008 15:15:24 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14125.aspx</link><description>Well, it was bound to happen...I had a bug :D&amp;nbsp; Try this assembly and it should resolve the issue.</description><pubDate>Wed, 06 Feb 2008 15:06:14 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14115.aspx</link><description>Your probably not following because this is a hard one!  :D&lt;br&gt;
&lt;br&gt;
I created a VS 2008 solution (.net 2.0 targeted).  &lt;br&gt;
&lt;br&gt;
- I first just did a form with the Themed Containers...no problem&lt;br&gt;
- I then attempted to do a base form...no problem&lt;br&gt;
&lt;br&gt;
So, I then imported the problem code, stripped out data access and some other controls and the problem was reproduced. So, open the app, then click on the button, resize and you should notice that if you make it smaller the icons aren't shown. If you make it bigger, several icon sets are shown.  If you move the mouse of were the icons should be, they get refreshed.&lt;br&gt;
&lt;br&gt;
Thanks for looking into this Trent.</description><pubDate>Wed, 06 Feb 2008 14:36:48 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14101.aspx</link><description>Hmmmm....I guess I am a little dense and not following :crazy:...I have a lot of these containers in use and I have not noticed any performance issues (aside from the scroll)...could you produce a sample with the properties that you have set to show how to reproduce the issue?&amp;nbsp; Thanks.</description><pubDate>Wed, 06 Feb 2008 12:57:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14095.aspx</link><description>It is set to snap...the problem isn't the entire container, just the icons on the right of the title bar...they redraw very slow/not all. Note they are docked TOP.</description><pubDate>Wed, 06 Feb 2008 11:33:44 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14093.aspx</link><description>Well, I need to set this up.&amp;nbsp; As for the speed, change the MinimizeBodyBehavior from Scroll to Snap and you won't have the speed issue.&amp;nbsp; As for the overlapping of the title, I will have to make a rendering change on this...which can be a lengthy process to make sure nothing dies.&amp;nbsp; But I will add this to the list. :)</description><pubDate>Wed, 06 Feb 2008 11:17:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ThemedContainer issues</title><link>http://forum.strataframe.net/FindPost14090.aspx</link><description>Bump...</description><pubDate>Wed, 06 Feb 2008 11:11:55 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>