<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : LockRedraw property</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : LockRedraw property]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 24 May 2026 17:06:06 +0000</pubDate>
  <lastBuildDate>Sun, 30 Mar 2008 03:12:36 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=7857</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[LockRedraw property : Hi,   Baldur, I don&amp;#039;t need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32811&amp;title=lockredraw-property#32811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 7857<br /><strong>Posted:</strong> 30 March 2008 at 3:12am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Baldur, I don't need more info or speed. This is just the control I need.</DIV><DIV>&nbsp;</DIV><DIV>But this wasn't an issue, was it?&nbsp;PatS wanted to increase the app and I only wanted to give an indication how long it takes when adding 1200 items to the grid.&nbsp;The difference between LockRedraw&nbsp;= true and&nbsp;LockRedraw&nbsp;= false is about 0,2 seconds. So why bother using LockRedraw if your not adding lots of items?</DIV>]]>
   </description>
   <pubDate>Sun, 30 Mar 2008 03:12:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32811&amp;title=lockredraw-property#32811</guid>
  </item> 
  <item>
   <title><![CDATA[LockRedraw property : I don&amp;#039;t add many items, i...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32742&amp;title=lockredraw-property#32742</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 7857<br /><strong>Posted:</strong> 28 March 2008 at 2:34pm<br /><br />I don't add many items, i store some references of added propertyitems in my own vars, so i don't need than Find-Methods.<DIV>&nbsp;</DIV><DIV>I think for your application, the reportcontrol will be the better solution:</DIV><DIV>- support subrecords with +/- button like tree</DIV><DIV>- multiple columns</DIV><DIV>- also fonts and colors</DIV><DIV>- ownerdraw</DIV><DIV>&nbsp;</DIV><DIV>The loading of 2000 records with 20 columns are done less 1 second.</DIV><DIV>Also you get more information in one control as in the propertygrid with 2 columns.</DIV>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 14:34:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32742&amp;title=lockredraw-property#32742</guid>
  </item> 
  <item>
   <title><![CDATA[LockRedraw property : Hi,  You are talking about increasing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32676&amp;title=lockredraw-property#32676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 7857<br /><strong>Posted:</strong> 28 March 2008 at 7:43am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>You are talking about increasing the speed of your app. Are you adding that much items to the grid?</DIV><DIV>&nbsp;</DIV><DIV>I'm (ab)using the grid for loading filenames from directories. While loading the filenames into the grid (multiple levels), the font/colors of the items will be changed, the files will be sorted on month and year and a few minor things. I did some tests and I found when loading about 1200 items:&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Without LockRedraw : between 0.65 - 0.69 sec</DIV><DIV><DIV>With&nbsp;LockRedraw : between 0.49 - 0.53 sec</DIV><DIV>&nbsp;</DIV><DIV>This with a 800Mhz machine, I know yours will be faster... So why bother when you have to add less items?</DIV></DIV>]]>
   </description>
   <pubDate>Fri, 28 Mar 2008 07:43:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32676&amp;title=lockredraw-property#32676</guid>
  </item> 
  <item>
   <title><![CDATA[LockRedraw property : I have had the same problem. If...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32648&amp;title=lockredraw-property#32648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 7857<br /><strong>Posted:</strong> 27 March 2008 at 12:26pm<br /><br /><P>I have had the same problem.</P><DIV></DIV>If i store a reference of a propertyitem for faster access and clear than the cateogrychilds, i get also a crash.<DIV>I have to <strong>clear</strong> <strong>all reference</strong> to any propertyitem <strong>bevor </strong>i clear the childs&nbsp;!</DIV><DIV>Than i have no crash and it works fine.</DIV>]]>
   </description>
   <pubDate>Thu, 27 Mar 2008 12:26:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=32648&amp;title=lockredraw-property#32648</guid>
  </item> 
  <item>
   <title><![CDATA[LockRedraw property : I&amp;#039;ve found that if I call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=25322&amp;title=lockredraw-property#25322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2001">PatS</a><br /><strong>Subject:</strong> 7857<br /><strong>Posted:</strong> 22 August 2007 at 12:19pm<br /><br />I've found that if I call the .Categories.Clear method before setting the .LockRedraw property = False, the code does not crash.&nbsp; <DIV>&nbsp;</DIV><DIV>Even with this workaround, this should still be investigated by the Codejock development team.</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 12:19:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=25322&amp;title=lockredraw-property#25322</guid>
  </item> 
  <item>
   <title><![CDATA[LockRedraw property : When I set the LockRedraw property=...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=25321&amp;title=lockredraw-property#25321</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2001">PatS</a><br /><strong>Subject:</strong> 7857<br /><strong>Posted:</strong> 22 August 2007 at 12:03pm<br /><br /><P>When I set the LockRedraw property&nbsp;= True&nbsp;prior to adding PropertyGridItem objects to the Property grid control and then set it to False afterwards, I'm seeing a crash.&nbsp; I'd like to use this property to try to increase the performance of my app.&nbsp; If I remove the lines of code&nbsp;that set the LockRedraw property, the code runs fine.&nbsp; Has anyone else seen this?&nbsp; Any known workarounds?</P><DIV>I'm using v11.1.3 of the PropertyGrid control.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Pat</DIV>]]>
   </description>
   <pubDate>Wed, 22 Aug 2007 12:03:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7857&amp;PID=25321&amp;title=lockredraw-property#25321</guid>
  </item> 
 </channel>
</rss>