Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-11

How to utilize goRowMoving with TDBGird?

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Gabor Boros

Hi All,

I need a record reordering feature with TDBGrid, worked out a half-solution with drag and drop and later found TStringGrid have a goRowMoving option. Just want the effect of it and the FromIndex and ToIndex row numbers. And TCustomDBGrid.ColRowMoved(IsColumn: Boolean; FromIndex, ToIndex: Integer) exists. Any easy way to access this feature from a DBGrid?

Gabor

Reply by email

Gabor Boros
to Gabor Boros

2016. 11. 15. 15:11 keltezéssel, Gabor Boros via Lazarus írta:

Show quoted text 6 lines
I need a record reordering feature with TDBGrid, worked out a half-solution with drag and drop and later found TStringGrid have a goRowMoving option. Just want the effect of it and the FromIndex and ToIndex row numbers. And TCustomDBGrid.ColRowMoved(IsColumn: Boolean; FromIndex, ToIndex: Integer) exists. Any easy way to access this feature from a DBGrid?

Created an issue for it with patch and example project:

http://bugs.freepascal.org/view.php?id=31061

Gabor

Reply by email