<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bergatrollet&#039;s Tech Blog &#187; Delphi2009</title>
	<atom:link href="http://bergatrollet.se/blog/tag/delphi2009/feed/" rel="self" type="application/rss+xml" />
	<link>http://bergatrollet.se/blog</link>
	<description>The troll&#039;s cave</description>
	<lastBuildDate>Thu, 26 Jan 2012 19:35:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Delphi 2009</title>
		<link>http://bergatrollet.se/blog/2008/09/delphi-2009/</link>
		<comments>http://bergatrollet.se/blog/2008/09/delphi-2009/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 20:13:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Delphi]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Delphi2009]]></category>

		<guid isPermaLink="false">http://bergatrollet.se/blog/?p=51</guid>
		<description><![CDATA[I just downloaded the demo of Delphi 2009 and installed it. Watched a few demonstration videos. Quite a few to watch: http://dn.codegear.com/article/38478 A good pick: http://windemo1.codegear.com/Tiburon/LaunchReplays/Delphi2009Launch/Delphi2009Launch.htm Was reminded that the Logitech camera interferes with Delphi. I think it still does actually http://bdntv.borland.com/pix/nickhodges/Camtasia/Logitech/Logitech.html Did another piece of code that wouldn&#8217;t compile (here commented out) &#8211; The [&#8230;] <a class="more-link" href="http://bergatrollet.se/blog/2008/09/delphi-2009/">&#8595; Read the rest of this entry...</a>]]></description>
			<content:encoded><![CDATA[<p>I just downloaded the demo of Delphi 2009 and installed it. Watched a few demonstration videos.</p>
<p>Quite a few to watch:</p>
<p>http://dn.codegear.com/article/38478</p>
<p>A good pick:</p>
<p>http://windemo1.codegear.com/Tiburon/LaunchReplays/Delphi2009Launch/Delphi2009Launch.htm</p>
<p>Was reminded that the Logitech camera interferes with Delphi. I think it still does actually</p>
<p>http://bdntv.borland.com/pix/nickhodges/Camtasia/Logitech/Logitech.html</p>
<p>Did another piece of code that wouldn&#8217;t compile (here commented out) &#8211; The Pos wouldn&#8217;t work!</p>
<p>// PROBLEM WITH DELPHI 2009</p>
<p>//  with TCustomADODataSet(SelectGrid.DataSource.DataSet) do<br />
//  begin<br />
//    if (Pos(Column.Field.FieldName, Sort) = 1) and (Pos(&#8216; DESC&#8217;, Sort)= 0) then   //&lt;- It stops here!<br />
//      Sort := Column.Field.FieldName + &#8216; DESC&#8217;<br />
//    else<br />
//      Sort := Column.Field.FieldName + &#8216; ASC&#8217;;<br />
//<br />
//    If Column.Field.FieldName = &#8216;MCC&#8217; then<br />
//       ADO_Progress.Sort := &#8216;MCC ASC, MNC ASC&#8217;<br />
//    else<br />
//       ADO_Progress.IndexFieldNames := sort; /// TEST!<br />
//  end;</p>
<p>[EDIT]</p>
<p>&#8230; which I got to work using a RawByteString() typecast &#8230;</p>
<p>with TCustomADODataSet(SelectGrid.DataSource.DataSet) do<br />
begin<br />
if (Pos(RawByteString(Column.Field.FieldName), Sort) = 1) and (Pos(RawByteString(&#8216; DESC&#8217;), Sort)= 0) then<br />
Sort := Column.Field.FieldName + &#8216; DESC&#8217;<br />
else<br />
Sort := Column.Field.FieldName + &#8216; ASC&#8217;;</p>
<p>If Column.Field.FieldName = &#8216;MCC&#8217; then<br />
ADO_Progress.Sort := &#8216;MCC ASC, MNC ASC&#8217;<br />
else<br />
ADO_Progress.IndexFieldNames := sort; /// TEST!<br />
end;</p>
]]></content:encoded>
			<wfw:commentRss>http://bergatrollet.se/blog/2008/09/delphi-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

