<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TStringList.BeginUpdate</id>
		<title>TStringList.BeginUpdate - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.soldat.pl/index.php?action=history&amp;feed=atom&amp;title=TStringList.BeginUpdate"/>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TStringList.BeginUpdate&amp;action=history"/>
		<updated>2026-05-05T23:27:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.soldat.pl/index.php?title=TStringList.BeginUpdate&amp;diff=1153&amp;oldid=prev</id>
		<title>Mighty: new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.soldat.pl/index.php?title=TStringList.BeginUpdate&amp;diff=1153&amp;oldid=prev"/>
				<updated>2013-08-24T10:34:53Z</updated>
		
		<summary type="html">&lt;p&gt;new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; '''procedure BeginUpdate()'''&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
[[TStringList.BeginUpdate|BeginUpdate]] increases the update count by one. It is advisable to call [[TStringList.BeginUpdate|BeginUpdate]] before lengthy operations on the stringlist. At the end of these operation, [[TStringList.EndUpdate|EndUpdate]] should be called to mark the end of the operation. This information might be used to perform optmizations. e.g. updating the screen only once after many strings were added to the list.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Always put the corresponding call to [[TStringList.EndUpdate|EndUpdate]] in the context of a ''Finally'' block, to ensure that the update count is always descreased at the end of the operation, even if an exception occurred.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;pascal&amp;quot;&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
With MyStrings do&lt;br /&gt;
    try&lt;br /&gt;
      BeginUpdate;&lt;br /&gt;
      // Some lengthy operation.&lt;br /&gt;
    Finally&lt;br /&gt;
      EndUpdate&lt;br /&gt;
    end;&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TStringList]]&lt;/div&gt;</summary>
		<author><name>Mighty</name></author>	</entry>

	</feed>