Hi Sergey,
Do you have an example project that uses TableSort.pas? I could probably muddle through how to apply it, but a working example would make the process a lot quicker Belated Happy New Year, BTW!
Dick
Example for TableSort.pas?
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
What's the problem with using this unit?
Code: Select all
var rvet: TCustomRichViewEdit;
table: TRVTableItemInfo;
if not RichViewEdit1.GetCurrentItemEx(TRVTableItemInfo, rvet, TCustomRVItemInfo(table)) then
exit;
// display your modal form allowing choosing sort options
// and column (in range 0..table.ColCount-1)
SortCurrentTable(RichViewEdit1, Column, Ascending, IgnoreCase);
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact: