NiceGrid: Reactivate component editor.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2023-06-24 09:56:42 +00:00
parent 22bdf4cdca
commit 1530e7edf2

View File

@@ -71,12 +71,12 @@ type
procedure TNiceGridEditor.ExecuteVerb(Index: Integer); procedure TNiceGridEditor.ExecuteVerb(Index: Integer);
begin begin
(*
case Index of case Index of
0: EditCollection(Component, TNiceGrid(Component).Columns, 'Columns');
{
0: ShowCollectionEditorClass(Designer, TCollectionEditor, Component, 0: ShowCollectionEditorClass(Designer, TCollectionEditor, Component,
TNiceGrid(Component).Columns, 'Columns', [coAdd, coDelete, coMove]); TNiceGrid(Component).Columns, 'Columns', [coAdd, coDelete, coMove]);
}
1: ShowMessage( 1: ShowMessage(
'TNiceGrid v 1.00 (Mozilla Public License)'#13 + 'TNiceGrid v 1.00 (Mozilla Public License)'#13 +
'(c) Priyatna, 2003'#13 + '(c) Priyatna, 2003'#13 +
@@ -85,7 +85,6 @@ begin
'mailto:me@priyatna.org' 'mailto:me@priyatna.org'
); );
end; end;
*)
end; end;
function TNiceGridEditor.GetVerb(Index: Integer): string; function TNiceGridEditor.GetVerb(Index: Integer): string;