Re: How to make MSHFlexgrid display at last row

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



hon123456 <peterhon321@xxxxxxxxxxxx>'s wild thoughts were
released on Wed, 15 Aug 2007 18:51:31 -0700 bearing the
following fruit:

On 8 15 , 11 32 , "Jan Hyde (VB MVP)"
<StellaDrin...@xxxxxxxxxxxxxxxxxxx> wrote:
hon123456<peterhon...@xxxxxxxxxxxx>'s wild thoughts were
released on Wed, 15 Aug 2007 05:27:21 -0700 bearing the
following fruit:

Dear Jan,

Thanks for your reponse. After Reading the toprow property
in MSDN. I still
cannot get the idea how to use it. Can u elaborate more about the
Toprow propety.
If u don't mind, can u post some example code because I cannot find
example code
in MSDN. By the way, how can I see the most recent data in bottom or
in top.
I hope that I can set the most recent data in top or in bottom.
Thanks.

How are you populating the grid?

If it's from an SQL query for example then change your
'order by' to DESC or ASC (ie the opposite of what it is
now)

Otherwise just specify the index for each new row to be 0

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde

Thanks Jan and Rick. Could u tell me how to specify the index for each
new row to be 0.?


Take a look at the second parameter of the AddItem method.

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
.



Relevant Pages