Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / June 2006

Tip: Looking for answers? Try searching our database.

ListView.TopItem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jared - 27 Jun 2006 02:23 GMT
Hi,

I am manualling setting a TopItem, for most of my listview grids this works
fine, but for one it will not work?

What would cause TopItem property to be ignored on  a set?
Jared - 27 Jun 2006 02:40 GMT
Basically TopItem acts like EnsureVisible and is not activated unless item
is not visible so work around look like this..

   Me.lvTotals.TopItem = Me.lvTotals.Items(Me.lvTotals.Items.Count - 1)
   Me.lvTotals.TopItem = Me.lvTotals.Items(4)
Jared - 27 Jun 2006 04:54 GMT
Had item1.Text = "" (null)

Found the problem
Jared - 27 Jun 2006 07:49 GMT
Still had problems now trying API

http://www.devx.com/vb2themax/Tip/19271
Jared - 28 Jun 2006 01:16 GMT
Finally worked out.. TopItem property has 2 be called twice or it may not
work

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.