﻿<?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 title not updating</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 04 Jun 2026 05:05:45 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost15864.aspx</link><description>Have not reproduced.&amp;nbsp; If you can give some pointers on how to reproduce the issue I will see if there is something that can be done.&amp;nbsp; But I haven't had any luck in the reproduction of it as of yet.</description><pubDate>Thu, 24 Apr 2008 10:55:50 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4877.aspx</link><description>I have a ThemedContainer that I'm changing the title when the body is hidden/shown.  The title is updated correctly, but the new title and the change in the chevron doesn't update the display, unless the user moves the mouse over the title bar of the themed container.  Do I need to do something to get the title to update? I tried the Update() method but that didn't seem to work.&lt;br&gt;
&lt;br&gt;
E.g. &lt;br&gt;
&lt;br&gt;
When themed container is hidden the title says: "Process Info: {0}" ({0} replaced by the process name)&lt;br&gt;
When themed container is shown the title says: "Proces Info"&lt;br&gt;
&lt;br&gt;
What happens:&lt;br&gt;
&lt;br&gt;
The container is initially shown.&lt;br&gt;
The user clicks the chevron to hide it.&lt;br&gt;
The body is hidden, title is unchanged, chevron is unchanged.&lt;br&gt;
The user moves mouse over chevron (not clicking, just moving)&lt;br&gt;
The title and chevron change.</description><pubDate>Thu, 24 Apr 2008 10:55:50 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost15815.aspx</link><description>Hi,&lt;br&gt;
Have this issue been fixed? I still face this problem in SF 1.6.5&lt;br&gt;
&lt;br&gt;
Please advice.&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Tue, 22 Apr 2008 09:42:56 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4885.aspx</link><description>More information for when you get around to looking at this...&lt;br&gt;
&lt;br&gt;
This only happens when the container is set to scroll. If it is set to snap, then the title updates correctly, without any call to Invalidate or Refresh.</description><pubDate>Thu, 30 Nov 2006 15:45:23 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4884.aspx</link><description>Thanks</description><pubDate>Thu, 30 Nov 2006 15:27:56 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4883.aspx</link><description>No...it is in the code.&amp;nbsp; There is a buffer image that stores off the title.&amp;nbsp; I will have to look at this later and get back with you.</description><pubDate>Thu, 30 Nov 2006 15:14:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4882.aspx</link><description>That's what I'm doing...here is the code for the BodyHidden event handler:&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
ThemedContainer1.Title = "some title text"&lt;br&gt;
' Later I added &lt;br&gt;
ThemedContainer1.Invalidate()&lt;br&gt;
' then I tried&lt;br&gt;
ThemedContainer1.Refresh()&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
With this code the title isn't refreshed. I see in the source code that it is calling RedrawControl(RedrawOptions.TitleOnly) so it should be redrawing it :blink:&lt;br&gt;
&lt;br&gt;
Maybe it has something to do with setting it in the BodyHidden event handler?&lt;br&gt;
&lt;br&gt;
I'm using Win2k SP4.</description><pubDate>Thu, 30 Nov 2006 15:12:15 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4881.aspx</link><description>I will have to look at the code and see what is going on...we try to reduce rendering and drawing to improve performance...so every piece is not drawn everytime.&amp;nbsp; You might be able to just set the Title text property and it would re-render the title area.</description><pubDate>Thu, 30 Nov 2006 14:55:43 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4880.aspx</link><description>This did a little bit.&lt;br&gt;
&lt;br&gt;
When the form goes from collapsed to expanded, Invalidate does fix the chevron and based on screen flicker also redraws the body of the control, but not the title. When it goes from expanded to collapsed, it does nothing (title and chevron are not affected). If I move the mouse (click isn't needed) over the chevron, the title is updated.&lt;br&gt;
&lt;br&gt;</description><pubDate>Thu, 30 Nov 2006 14:53:30 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: ThemedContainer title not updating</title><link>http://forum.strataframe.net/FindPost4878.aspx</link><description>Try calling this:&lt;/P&gt;&lt;P&gt;[codesnippet]MyThemeContainer.Invalidate()[/codesnippet]</description><pubDate>Thu, 30 Nov 2006 14:21:41 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>