﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » ListView EnsureVisible v. Groups</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 04:15:23 GMT</lastBuildDate><ttl>20</ttl><item><title>ListView EnsureVisible v. Groups</title><link>http://forum.strataframe.net/FindPost23500.aspx</link><description>Hi all!&lt;br&gt;
&lt;br&gt;
I have four forms that contain listViews, and am using myListView.EnsureVisible( myListViewItem.Index ) to show the user the row they just "found" based on some search thingie I've set up. On two of the forms the listViews have Groups set up to organize records by dates, and on there other two there are no listView Groups. &lt;br&gt;
&lt;br&gt;
As you might have guessed from this post' description, I am seeing the listViews with no groups nicely showing the row the user finds, but on the two listViews with Groups the highlighted row always seems to be a bit further up than the set of rows shown in the listView. &lt;br&gt;
&lt;br&gt;
Has anyone else seen behavior like this? &lt;br&gt;
&lt;br&gt;
FYI - I have also tried setting myListview.TopItem, but that doesn't change the results. &lt;br&gt;
&lt;br&gt;
TIA&lt;br&gt;</description><pubDate>Mon, 15 Jun 2009 13:01:47 GMT</pubDate><dc:creator>Alex Luyando</dc:creator></item><item><title>RE: ListView EnsureVisible v. Groups</title><link>http://forum.strataframe.net/FindPost23507.aspx</link><description>[quote][b]Trent L. Taylor (06/15/2009)[/b][hr]I use groupos quite a bit and I have not yet run into this.  I will have to try and set this up.  It very well could be a Microsoft issue...the SF ListView inherits from the .NET ListView.  We have a new version coming out in a version or two (you can play with the beta in the 1.7 build coming out soon) so that we have complete control and can avoid issues like this.  When it is an MS issue, it is usually easiest to find another solution! :D[/quote]&lt;br&gt;
&lt;br&gt;
LOL. Super! I won't lose any sleep over this one in the meantime! &lt;br&gt;
&lt;br&gt;
Thanks, Trent.</description><pubDate>Mon, 15 Jun 2009 13:01:47 GMT</pubDate><dc:creator>Alex Luyando</dc:creator></item><item><title>RE: ListView EnsureVisible v. Groups</title><link>http://forum.strataframe.net/FindPost23501.aspx</link><description>I use groupos quite a bit and I have not yet run into this.  I will have to try and set this up.  It very well could be a Microsoft issue...the SF ListView inherits from the .NET ListView.  We have a new version coming out in a version or two (you can play with the beta in the 1.7 build coming out soon) so that we have complete control and can avoid issues like this.  When it is an MS issue, it is usually easiest to find another solution! :D</description><pubDate>Mon, 15 Jun 2009 12:04:55 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>