<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Autosize DBGrid</title>
	<atom:link href="http://exampledelphi.com/delphi.php/tips-and-tricks/autosize-dbgrid/feed/" rel="self" type="application/rss+xml" />
	<link>http://exampledelphi.com/delphi.php/tips-and-tricks/autosize-dbgrid/</link>
	<description>Delphi Examples Collection</description>
	<pubDate>Tue, 07 Sep 2010 11:48:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: tmj</title>
		<link>http://exampledelphi.com/delphi.php/tips-and-tricks/autosize-dbgrid/#comment-1503</link>
		<dc:creator>tmj</dc:creator>
		<pubDate>Mon, 22 Dec 2008 22:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://exampledelphi.com/delphi.php/tips-and-tricks/autosize-dbgrid/#comment-1503</guid>
		<description>Oops, submitted to soon.

Also add
DataSource.DataSet.DisableControls;
and
DataSource.DataSet.EnableControls;
to beginning and ending of the
with Grid do block
to prevent flicker/scrolling of the DBGrid.</description>
		<content:encoded><![CDATA[<p>Oops, submitted to soon.</p>
<p>Also add<br />
DataSource.DataSet.DisableControls;<br />
and<br />
DataSource.DataSet.EnableControls;<br />
to beginning and ending of the<br />
with Grid do block<br />
to prevent flicker/scrolling of the DBGrid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tmj</title>
		<link>http://exampledelphi.com/delphi.php/tips-and-tricks/autosize-dbgrid/#comment-1502</link>
		<dc:creator>tmj</dc:creator>
		<pubDate>Mon, 22 Dec 2008 21:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://exampledelphi.com/delphi.php/tips-and-tricks/autosize-dbgrid/#comment-1502</guid>
		<description>Nice but limited to 31 columns.

Replace lmax: array [0..30] of Integer; with lmax: array of Integer;. Add SetLength(lmax,Columns.Count - 1); just before the first for n := 0 to Columns.Count - 1 do.</description>
		<content:encoded><![CDATA[<p>Nice but limited to 31 columns.</p>
<p>Replace lmax: array [0..30] of Integer; with lmax: array of Integer;. Add SetLength(lmax,Columns.Count - 1); just before the first for n := 0 to Columns.Count - 1 do.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
