IdeIntf: Fix AutoAddRows feature for ValueListEditor property editor.

git-svn-id: trunk@44576 -
This commit is contained in:
juha 2014-04-01 00:34:22 +00:00
parent 18858b8e2d
commit 13b4f9aa2d
2 changed files with 2 additions and 3 deletions

View File

@ -69,7 +69,8 @@ object KeyValPropEditorFrm: TKeyValPropEditorFrm
FixedCols = 0
RowCount = 2
TabOrder = 1
KeyOptions = [keyEdit, keyDelete]
KeyOptions = [keyEdit, keyAdd, keyDelete]
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goColSizing, goEditing, goAutoAddRows, goAlwaysShowEditor, goThumbTracking]
Strings.Strings = (
''
)

View File

@ -44,8 +44,6 @@ begin
Caption := oisStringsEditorDialog;
StatusLabel.Caption := ois0Lines0Chars;
//SortButton.Caption := oisSort;
// This does not work :(
ValueListEdit.Options := ValueListEdit.Options + [goAutoAddRows];
end;
procedure TKeyValPropEditorFrm.SortButtonClick(Sender: TObject);