﻿<?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?)  » Redrawing of ThemedGroupBox</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 07:01:47 GMT</lastBuildDate><ttl>20</ttl><item><title>Redrawing of ThemedGroupBox</title><link>http://forum.strataframe.net/FindPost21093.aspx</link><description>I have been looking into some performance issues and I have come across potential issue&amp;nbsp;(Winforms feature) with ThemedGroupBox. &lt;BR&gt;&lt;/P&gt;&lt;P&gt;It seems to me that ThemedGroupBox is redrawn again and again for every textbox on the form. Is this expected behavior or am I missing something?&amp;nbsp; &lt;/P&gt;&lt;P&gt;My test form has 24 text boxes and I traced OnStrataPaint execution 27 times.&amp;nbsp; Similarly&amp;nbsp; I am having our own component which is replacing groupbox with some effects and I am seeing similar execution counts.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.</description><pubDate>Fri, 12 Dec 2008 09:35:19 GMT</pubDate><dc:creator>Pavol Rovensky</dc:creator></item><item><title>RE: Redrawing of ThemedGroupBox</title><link>http://forum.strataframe.net/FindPost21159.aspx</link><description>As I mentioned to Daniel and in my previous post, I will setup a sample and see if and why this could be happening.&amp;nbsp; This is actually not strange behavior for any container control.&amp;nbsp; When an internal object re-renders, it can for an OnPaintBackground of the parent control.&amp;nbsp; But in any case, I will set this up next week and let you know what I find.</description><pubDate>Fri, 12 Dec 2008 09:35:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Redrawing of ThemedGroupBox</title><link>http://forum.strataframe.net/FindPost21156.aspx</link><description>These tips are definitively helpful, however I have also found that switching off Glass Effect on the form helps. &lt;/P&gt;&lt;P&gt;Regarding original question in this thread - any ideas why groupbox is being redrawn more than once or twice?</description><pubDate>Fri, 12 Dec 2008 05:09:00 GMT</pubDate><dc:creator>Pavol Rovensky</dc:creator></item><item><title>RE: Redrawing of ThemedGroupBox</title><link>http://forum.strataframe.net/FindPost21145.aspx</link><description>Sorry, I missed this post. :blush:&lt;/P&gt;&lt;P&gt;I actually spoke with Daniel the other day on the phone.&amp;nbsp; I gave him some tips to improve performance.&amp;nbsp; A couple of the tips were:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set the FillBody to False&lt;/LI&gt;&lt;LI&gt;Set the TransparentBackground to False&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Also, since our conversation, I have it on my list to see if there is anything behaving out of the norm and if there is an issue.&amp;nbsp; But that is the first place to look at.</description><pubDate>Thu, 11 Dec 2008 13:55:21 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>