Groups | Blog | Home
all groups > dotnet general > june 2004 >

dotnet general : move up move down


ari
6/13/2004 9:06:02 PM
Hey all,

I have a project where I can use the move up move down buttons I see often. Does anyone know how to implement that? For instance, I have datagrid of records and if I select a record and press the move up button the record moves up in the datagrid.

Is there some special trick to that?

thanks in advance,
Cor Ligthert
6/14/2004 9:32:04 AM
I am not completly sure of this works for the datagrid, however this is the
one you mean for sure as the standard for it.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscurrencymanagerclasstopic.asp

and than the position property.

I hope this helps?

Cor

AddThis Social Bookmark Button