473,324 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to reverse listview?

Hi, my program is adding (every hour) a line to listview and into its 7
columns.

Problem is that it is adding it to the bottom of the list, so after
couple of hours, my users need to scroll down to see the most recent
results.

What I'd like is to have some function to reverse listview order after
I add the line.

Thanks.

Jozef Jarosciak

Nov 21 '05 #1
4 2568
Jozef,

If you use Insert instead of Add you can specify the location for the new
item.

Kerry Moorman
"Jozef Jarosciak" wrote:
Hi, my program is adding (every hour) a line to listview and into its 7
columns.

Problem is that it is adding it to the bottom of the list, so after
couple of hours, my users need to scroll down to see the most recent
results.

What I'd like is to have some function to reverse listview order after
I add the line.

Thanks.

Jozef Jarosciak

Nov 21 '05 #2
I know, but my whole design is around "add".
I just need to reverse the list chronologically.
joe

Nov 21 '05 #3
But, if your design doesn't meet the requirements, then what use is it?

Bob Lehmann

"Jozef Jarosciak" <jo*@doprocess.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I know, but my whole design is around "add".
I just need to reverse the list chronologically.
joe

Nov 21 '05 #4
Thanks Bob.
Anyways, it's all fine now. Figured a work around.
Joe

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
0
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
6
by: VM | last post by:
How can I fill up a listview with text file contents? My listview has two columns and the first column fills up with a while loop: while (myString != null) { myString = sr.Readline();...
0
by: keith | last post by:
In a ListView control (two columns), I added a few ListView items. ListView listview=new ListView(); listview.Parent=this; listview.View=View.Details; listview.Columns.Add...
7
by: Dave Y | last post by:
I am a newbie to C# and am having trouble trying to override a ListView property method. I have created a new class derived from the Forms.Listview and I cannot figure out the syntax to override...
3
by: Jozef Jarosciak | last post by:
Hi, my program is adding (every hour) a line to listview and into its 7 columns. Problem is that it is adding it to the bottom of the list, so after couple of hours, my users need to scroll down...
7
by: BobAchgill | last post by:
I am trying to decide which of these controls to use to implement letting my user select a full row from MyList. The MyList has several columns which would be nice to sort by at run time. The...
1
by: Robert W. | last post by:
I learned how to sort a ListView by clicking on the column headers from this: http://msdn2.microsoft.com/en-us/library/system.windows.forms.listview.listviewitemsorter.aspx I'm wondering if...
2
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
4
by: Brian Gaze | last post by:
I have created a ListView control and have bound this to a datasource. Within the ItemTemplate of the ListView I have added another ListViewControl which is databound in the code behind. The idea...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.