summaryrefslogtreecommitdiff
path: root/extras/tiopf/gui
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-10-31 09:54:03 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-10-31 09:54:03 +0000
commit9577a278f84e3795d0ee5a5e2e28f60c9fff84b8 (patch)
tree16dd652e67e3234198136e3126eaccb048cda235 /extras/tiopf/gui
parentdc6540a127f8820e2a75f3d8d628de9b450145c9 (diff)
downloadfpGUI-9577a278f84e3795d0ee5a5e2e28f60c9fff84b8.tar.xz
* Implemented virtual RowDelete() method for TfpgCustomGrid.
* Implemented full RowDelete() for TfpgStringGrid. * Updated tiListMediators to use the new RowDelete() method of StringGrid. * Updated the GridTest demo to show RowDelete() in action. * Updated the AddressBook Demo 21 to enable deleting of contacts.
Diffstat (limited to 'extras/tiopf/gui')
-rw-r--r--extras/tiopf/gui/tiListMediators.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/extras/tiopf/gui/tiListMediators.pas b/extras/tiopf/gui/tiListMediators.pas
index 566d75f9..92e8c93e 100644
--- a/extras/tiopf/gui/tiListMediators.pas
+++ b/extras/tiopf/gui/tiListMediators.pas
@@ -441,8 +441,7 @@ end;
procedure TStringGridMediator.DoDeleteItemMediator(AIndex: Integer; AMediator: TListItemMediator);
begin
- {$Warning Implement DeleteColRow in StringGrid }
-// FView.DeleteColRow(False,AIndex+1);
+ FView.DeleteRow(AIndex);
inherited DoDeleteItemMediator(AIndex, AMediator);
end;