<?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"
	>

<channel>
	<title>flickdotnet.de &#187; 2008 &#187; August</title>
	<atom:link href="http://www.flickdotnet.de/index.php/2008/08/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flickdotnet.de</link>
	<description>Opinions, reviews and software for the Microsoft .NET Framework - focusing on Linq, ECO &#38; XPO</description>
	<pubDate>Thu, 06 May 2010 17:59:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>DevTracks in Offenbach, Germany</title>
		<link>http://www.flickdotnet.de/index.php/2008/08/devtracks-in-offenbach-germany/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/08/devtracks-in-offenbach-germany/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 19:28:25 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[Delphi]]></category>

		<category><![CDATA[CodeGear]]></category>

		<category><![CDATA[DevTracks]]></category>

		<category><![CDATA[Event]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/?p=155</guid>
		<description><![CDATA[Last Thursday, I visited a CodeGear event in Offenbach, Germany. Offenbach is close to Frankfurt, a city a lot of people traveling by plane should know.
The event was just awesome! Not only did I get a first-hand preview of Delphi 2009 and some excellent information on other Embarcadero products, but I was able to catch [...]]]></description>
			<content:encoded><![CDATA[<p>Last Thursday, I visited a CodeGear event in Offenbach, Germany. Offenbach is close to Frankfurt, a city a lot of people traveling by plane should know.</p>
<p>The event was just awesome! Not only did I get a first-hand preview of Delphi 2009 and some excellent information on other Embarcadero products, but I was able to catch up with fellow CodeGear contractors and community members in person. Networking is just something one should never underestimate. Furthermore, it is just more fun to talk than to use text-messaging services like Skype, for example.</p>
<p>The product demonstrations for Delphi were done by Daniel Magin and Matthias Eissing. In case you have never experienced one of their sessions, make sure to visit one of the next DevTracks or other event they speak at.</p>
<p>Dr. Sultan Shiffa introduced ER/Studio from Embarcadero. An immensely powerful database tool no database architect should miss, in my opinion.</p>
<p>And of course, Sabine Rothe from CodeGear provided food and drinks for coffee breaks and an excellent lunch!</p>
<p>It really was an event to remember which I shared with about 200 other members of the Delphi community.</p>
<p>And the best thing&#8230; the fee to attend this awesome event was 0 EUR, i.e. 0 $. Yes, really!</p>
<p><em>If I could trigger your interest in other DevTracks events, be sure to check out the official site at </em><a href="http://www.devtracks.de"><em>http://www.devtracks.de</em></a><em>. See below for a map where the event took place.</em></p>
<div id="scid:84E294D0-71C9-4bd0-A0FE-95764E0368D9:9979c78d-99d7-4942-88cb-a77b0cd55070" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"><a id="map-c4c75d7f-99f5-400b-8e04-e94b06256ee2" title="Click to view this map on Live.com" href="http://maps.live.com/default.aspx?v=2&amp;cp=50.09314~8.772648&amp;lvl=16&amp;style=r&amp;sp=aN.50,09333_8,772798_DevTracks_&amp;mkt=en-US&amp;FORM=LLWR">View map</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/08/devtracks-in-offenbach-germany/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Delphi 2009 (beta): Ribbon Controls</title>
		<link>http://www.flickdotnet.de/index.php/2008/08/delphi-2009-beta-ribbon-controls/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/08/delphi-2009-beta-ribbon-controls/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 01:05:37 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[Delphi]]></category>

		<category><![CDATA[Ribbon]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/?p=144</guid>
		<description><![CDATA[Whenever I get a new version of Delphi, I create a plain VCL Forms Application and browse the tool palette.
I love what I found with a first glimpse! There is a tab called &#8220;Ribbon Controls&#8221; that contains 5 additional VCL Controls to allow you to build applications with Ribbon support.

TRibbon
TRibbonComboBox
TRibbonSpinEdit
TScreenTipsManager
TScreenTipsPopup

In order to get known with [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever I get a new version of Delphi, I create a plain VCL Forms Application and browse the tool palette.</p>
<p>I love what I found with a first glimpse! There is a tab called &#8220;Ribbon Controls&#8221; that contains 5 additional VCL Controls to allow you to build applications with Ribbon support.</p>
<ul>
<li>TRibbon</li>
<li>TRibbonComboBox</li>
<li>TRibbonSpinEdit</li>
<li>TScreenTipsManager</li>
<li>TScreenTipsPopup</li>
</ul>
<p>In order to get known with the functionality, I opened the Ribbon demo, which also is included with Delphi 2009. This is what the demo looks like in the VCL Forms Designer:<br />
<a href="http://www.flickdotnet.de/wp-content/uploads/2008/08/ribbon2.png"><img src="http://www.flickdotnet.de/wp-content/uploads/2008/08/ribbon2.png" alt="" title="Ribbon Demo in Forms Designer" width="300" height="226" class="aligncenter size-medium wp-image-148" border="0" /></a><br />
As you can see the most interesting fact is that the Ribbon Controls integrate in to the well-known VCL ActionBand and ActionList logic. This will make it very comfortable to add Ribbon support to existing applications.<br />
Furthermore, you can drop any VCL control in a Ribbon Group, but there are also special Ribbon Controls, like TRibbonComboBox which adds grouping support to a combo box. Have a look at the screenshot&#8230;.<br />
<a href="http://www.flickdotnet.de/wp-content/uploads/2008/08/combo1.png"><img src="http://www.flickdotnet.de/wp-content/uploads/2008/08/combo1.png" alt="" title="TRibbonComboBox" width="229" height="300" class="aligncenter size-medium wp-image-150" border="0"/></a></p>
<p>Designing a Ribbon is very easy as the designer offers menu items in the context menus to add pages and groups.</p>
<p>All in all, this looks like a cool feature!</p>
<p><i>This post refers to a beta release of Delphi 2009. Features might look different or be omitted in the final release</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/08/delphi-2009-beta-ribbon-controls/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Delphi 2009 (beta): Installation speed has been improved a lot!</title>
		<link>http://www.flickdotnet.de/index.php/2008/08/delphi-2009-beta-installation-speed-has-been-improved-a-lot/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/08/delphi-2009-beta-installation-speed-has-been-improved-a-lot/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 00:20:06 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[Delphi]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/?p=136</guid>
		<description><![CDATA[Just as for Highlander, I am very proud having been chosen as one of the Beta-Bloggers by CodeGear. I will do my best to point out interesting new things about Delphi 2009 on my blog that hopefully make the wait for you a little bit easier until Delphi 2009 is being released.
I just finished installing [...]]]></description>
			<content:encoded><![CDATA[<p>Just as for Highlander, I am very proud having been chosen as one of the Beta-Bloggers by CodeGear. I will do my best to point out interesting new things about Delphi 2009 on my blog that hopefully make the wait for you a little bit easier until Delphi 2009 is being released.</p>
<p>I just finished installing to be precise and I am amazed already.
<p>
Thinking back to last year, I filled out the Delphi Survey which was initiated by Nick Hodges. One of my major grudges about Delphi 2007 was the time needed to install it. Thus, I put in a request for a better install time. Delphi 2009 surely delivers in this regard. It takes about 5 minutes to completely install Delphi 2009 on my system. Considering that this number was at about 10 minutes for Highlander, it is a great improvement.</p>
<p>
<i>All information given here refers to a pre-release beta version of Delphi 2009.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/08/delphi-2009-beta-installation-speed-has-been-improved-a-lot/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XtraTreeList: Which element in my IList is selected?</title>
		<link>http://www.flickdotnet.de/index.php/2008/08/xtratreelist-which-element-in-my-ilist-is-selected/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/08/xtratreelist-which-element-in-my-ilist-is-selected/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 14:20:22 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[Winform]]></category>

		<category><![CDATA[XtraTreeList]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/?p=133</guid>
		<description><![CDATA[Let us look at some common means that different frameworks use to deliver a result to this question.
As I mentioned before, I mostly used the standard .NET components or VCL controls. Data-based VCL controls can be bound to TDataSource (and derivatives due to polymorphism). If an item is being selected, the cursor in the source [...]]]></description>
			<content:encoded><![CDATA[<p>Let us look at some common means that different frameworks use to deliver a result to this question.</p>
<p>As I mentioned before, I mostly used the standard .NET components or VCL controls. Data-based VCL controls can be bound to TDataSource (and derivatives due to polymorphism). If an item is being selected, the cursor in the source moves accordingly. Thus, there is no difficulty to determine which row in the dataset it selected as it is the current row of the dataset. </p>
<p>.NET uses a different system of databinding, especially as you can bind - as I tend to say, but please do not take it literally - anything to a control. It is very flexible in that regard. Let us not even consider the possibilities that arise due to WPF. </p>
<p>In my last blog post I bound an XtraTreeList to a datasource of the datatype List<>. Any .NET standard control implements some kind of CurrencyHandler, which I find a bit too complex to use for a simple &#8220;Tell me what is selected&#8221;. Thus, I like ECO very much that it delivers a means to determine a selected object in a list of objects via its CurrencyManagerHandle. It always points to the selected object and you have a reference you can work with.</p>
<p>Now to XtraTreeList. In my example it is bound to a datasource that implements the IList interface. From reading the documentation I found out that it is very important that there is a difference between focused and selected row. Be aware that these terms play a major role which also depends on the fact if your list allows multi-selection or not. </p>
<p>In this case, we do not have multi-selection, thus the property we are interested in is called FocusedNode. The object instance we get as a return value is not of the element type of the list we bound to. Very unlucky. So, we need to investigate the return type. IntelliSense immediately offers &#8220;Id&#8221; as a property that looks like we could use.</p>
<p>In my example I query it like this:</p>
<p>[code lang="c#"]<br />
    int id = trFolders.FocusedNode.Id;<br />
[/code]</p>
<p>The Id designates the index of the element inside the element list we bound to. Excellent. I wonder why it is not named accordingly, but it is something I can live with <img src='http://www.flickdotnet.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>This leads to my final implementation to get the selected FolderTreeItem in my example:</p>
<p>[code lang="c#"]<br />
    public FolderTreeItem SelectedFolderTreeItem<br />
    {<br />
         get<br />
         {<br />
              int id = trFolders.FocusedNode.Id;<br />
              FolderTreeItem selectedItem = dataSource[id];<br />
              return selectedItem;<br />
          }<br />
    }<br />
[/code]</p>
<p>I hope this will be helpful for people as all the examples delivered with XtraTreeView I could find do not deliver an example for this. I am not saying they do not exist, but they were too hard for me to find. Furthermore, I am still used to the other means to get the selected object and can be considered &#8220;user at a basic stage&#8221; regarding the DX control set.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/08/xtratreelist-which-element-in-my-ilist-is-selected/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
