Jump to content


Photo

NextGrid6.Columns.Move, wrong Indices ?


  • Please log in to reply
No replies to this topic

#1 jaimak

jaimak
  • Members
  • 7 posts
  • Gender:Male

Posted 07 August 2019 - 11:30 AM

Hello Boki,

 

I was confused, if I use NextGrid.Columns.Move at the run time

 

- NextGrid.Columns.Move(CurIndex: Integer, NewIndex: Integer) with CurIndex = CurrentIndex

 

- NextGrid.Columns.Move(1,3); --> Column on position 1 is to be moved to column 3, but column 3 is moved to position 1, column 1 is now column 2

 

- NextGrid.Columns.Move(3,1); --> Column on position 3 is to be moved to column 1, but column 1 is moved to position 3, column 3 is now column  2

 

- it is not a big problem, but it make confused

 

- and it use a NextGrid.Refresh too, to show the changes 

 

  NextGrid.Columns.Move(3,1);

  NextGrid.Refresh;

 

Greetings and congratulations on your child

Jaimak






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users