<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : BUG: ListView: ListItems disappear</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : BUG: ListView: ListItems disappear]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:36:39 +0000</pubDate>
  <lastBuildDate>Mon, 03 Nov 2008 01:49:06 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=12574</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear : Hello, Unfortunatelly we can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42575&amp;title=bug-listview-listitems-disappear#42575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 03 November 2008 at 1:49am<br /><br /><P>Hello,</P><DIV>Unfortunatelly we can't fix bugs that inside&nbsp;Microsoft code. ListView is based on standard ListView OS control - you can see same problem with ListView from MS controls. </DIV><DIV>Use EnsureVisible&nbsp;workaround.</DIV>]]>
   </description>
   <pubDate>Mon, 03 Nov 2008 01:49:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42575&amp;title=bug-listview-listitems-disappear#42575</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear : Will there be a bug fix? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42568&amp;title=bug-listview-listitems-disappear#42568</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 03 November 2008 at 1:31am<br /><br />Will there be a bug fix?<br>]]>
   </description>
   <pubDate>Mon, 03 Nov 2008 01:31:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42568&amp;title=bug-listview-listitems-disappear#42568</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear :  It looks like you can put Li...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42509&amp;title=bug-listview-listitems-disappear#42509</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 30 October 2008 at 2:49pm<br /><br />It looks like you can put ListView1.SelectedItem.EnsureVisible in your Form_Resize event as a workaround (assuming you don't mind the selected item be key visible on resize....this may be a problem in certain situations, so obviously a fix would be the best solution).<br><br><br>]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 14:49:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42509&amp;title=bug-listview-listitems-disappear#42509</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear : You&amp;#039;re right Aaron &amp;amp;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42508&amp;title=bug-listview-listitems-disappear#42508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 30 October 2008 at 2:46pm<br /><br />You're right Aaron &amp; Jean, I see the bug now...]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 14:46:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42508&amp;title=bug-listview-listitems-disappear#42508</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear : Hi,  I can reproduce it as well....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42507&amp;title=bug-listview-listitems-disappear#42507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 30 October 2008 at 2:27pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I can reproduce it as well. I tried with V12.0.2 and V12.1.0 Beta and both behave the same.</DIV><DIV>&nbsp;</DIV><DIV>Just click command button and&nbsp;resize form height (list items will be arranged) and eventually will disappear including the scrollbar. As long as the selected item is <strong>NOT</strong> visible this behaviour will be produced every single time.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 14:27:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42507&amp;title=bug-listview-listitems-disappear#42507</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear : Can&amp;#039;t reproduce in 12.1 Beta,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42506&amp;title=bug-listview-listitems-disappear#42506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 30 October 2008 at 1:07pm<br /><br />Can't reproduce in 12.1 Beta, so maybe it is fixed?]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 13:07:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42506&amp;title=bug-listview-listitems-disappear#42506</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: ListView: ListItems disappear :      ListItems disappear...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42504&amp;title=bug-listview-listitems-disappear#42504</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 12574<br /><strong>Posted:</strong> 30 October 2008 at 12:04pm<br /><br />ListItems disappear under certain circumstances:<br><br>-Open a new project<br>-put a CommandButton and a ListView on the Form1<br>-use this code:<br><table width="99%"><tr><td><pre class="BBcode">Private Sub Form_Load()<br>&nbsp; Me.Width = 2175<br>&nbsp; Me.Height = 4110<br><br>&nbsp; Command1.Top = 120<br>&nbsp; Command1.Height = 375<br>&nbsp; Command1.Width = 1815<br>&nbsp; Command1.Left = 120<br><br>&nbsp; ListView1.Top = 600<br>&nbsp; ListView1.Left = 120<br><br>&nbsp; ListView1.HideSelection = False<br>&nbsp; ListView1.View = xtpListViewList<br><br>&nbsp; Dim lngItem As Long<br>&nbsp; For lngItem = 1 To 16<br>&nbsp;&nbsp;&nbsp; ListView1.ListItems.Add , CStr(lngItem), String(lngItem, Chr(lngItem + 74))<br>&nbsp; Next<br>&nbsp; ListView1.Arrange = xtpListViewArrangeAutoTop<br>End Sub<br><br>Private Sub Form_Resize()<br>&nbsp; On Error Resume Next<br>&nbsp; ListView1.Height = Me.ScaleHeight - 700<br>&nbsp; ListView1.Width = Me.ScaleWidth - 240<br>End Sub<br><br>Private Sub Command1_Click()<br>&nbsp; On Error Resume Next<br>&nbsp; Dim Item As XtremeSuiteControls.ListViewItem<br>&nbsp; For Each Item In ListView1.ListItems<br>&nbsp;&nbsp;&nbsp; If Item.Key = "14" Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Selected = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit For<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp; Next<br><br>&nbsp; ListView1.SelectedItem.EnsureVisible<br>End Sub<br></pre></td></tr></table><br><br>-start the application and press the button<br>-Item with key 14 is selected and visible: Good!&nbsp; <img src="http://forum.codejock.com/smileys/smiley20.gif" border="0" align="absmiddle"><br>-now increase the height of the form<br>-ListItems disappear and there's no scrollbar <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" align="absmiddle"><br><br>This can happen also if you resize the Form/ListView by code!<br>Don't I use the ListView as intended?<br><br><br>Another curious behavoir is that the HideSelection-Property is obviously reset if you chance the View-Property. You can check this if you change the order of the two lines in the sample code above.<br>]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 12:04:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12574&amp;PID=42504&amp;title=bug-listview-listitems-disappear#42504</guid>
  </item> 
 </channel>
</rss>