Commit Graph

77 Commits

Author SHA1 Message Date
bart
619097177e ValEdit: Refactoring: remove SelectValueEditor and override SelectEditor instead.
git-svn-id: trunk@40226 -
2013-02-09 16:42:33 +00:00
bart
b48441883c ValEdit: fix bug in SetOptions (once goColMoving was set, it wasn't possible to change options anymore).
git-svn-id: trunk@40225 -
2013-02-09 16:09:25 +00:00
bart
b3c2eafeb0 ValEdit: remove calls to Changing and Changed in override TValueListStrings methods,
since they are already called in the invoked inherited methods.

git-svn-id: trunk@40224 -
2013-02-09 14:13:11 +00:00
bart
938dfb12e9 ValEdit: Fix FItemProps getting out of sync when Inserting, Deleting or Assigning strings,
which caused a crash on Delete(), and memory leaks.
Fixes issue #0023851

git-svn-id: trunk@40209 -
2013-02-08 17:29:28 +00:00
bart
98b1126b93 ValEdit: fix not updating active cell contents when changing Strings property (Assign, Add, Delete, Set Text, Clear) which
happens when goAlwaysShowEditor is in Options.

git-svn-id: trunk@40204 -
2013-02-07 19:15:05 +00:00
bart
eab5aa8fb5 ValEdit: also release the memory of the TValueListStrings.FItemProps array itself, not only the items.
git-svn-id: trunk@40197 -
2013-02-06 15:29:04 +00:00
juha
218c95590c LCL: delete also ItemProps when deleting strings.
git-svn-id: trunk@40195 -
2013-02-06 14:43:25 +00:00
bart
9ce1fac44c ValEdit: free TValueListStrings.FItemProps in TValueListStrings.Destroy.
Resolves issue #0023841.

git-svn-id: trunk@40194 -
2013-02-06 14:21:07 +00:00
juha
053dfd2a1a LCL: Fix a bug in ValueListEditor when reading / writing value by key (Values['Key'])
git-svn-id: trunk@40193 -
2013-02-06 10:53:57 +00:00
juha
99e4142bb7 LCL: Make button and picklist cell editors work in TValueListEditor
git-svn-id: trunk@39818 -
2013-01-09 23:32:04 +00:00
juha
3dceac8624 LCL: implement method TValueListEditor.InsertRow
git-svn-id: trunk@39813 -
2013-01-09 09:06:23 +00:00
juha
074f42f249 LCL: add ItemProps to ValueListEditor
git-svn-id: trunk@39659 -
2012-12-26 22:33:15 +00:00
bart
20025055f3 ValEdit: Implement TValueListEditor.AdjustColumnWidths and override OnDoResize.
git-svn-id: trunk@39553 -
2012-12-15 20:08:13 +00:00
bart
2117e8a35f ValEdit: Do not use Columns.Add, it interferes with setting FixedCols := 1 (by adding an extra column in front).
git-svn-id: trunk@39552 -
2012-12-15 18:18:18 +00:00
bart
3933ed5f1b ValEdit: Only allow FixedCols := 0 or 1
git-svn-id: trunk@39496 -
2012-12-09 20:25:59 +00:00
bart
664747f4cf ValEdit: Fix crash in TValueListEditor.ShowColumnTitles when TitleCaptions.Count = 1
git-svn-id: trunk@39495 -
2012-12-09 19:13:50 +00:00
bart
18bd334bfa ValEdit: Start implementing validating: don't accept duplicate Key names.
git-svn-id: trunk@39491 -
2012-12-09 16:51:01 +00:00
bart
bca930e0c9 ValEdit: override TValueListStrings.SetTextStr: Don't show editor while changing values. Edited cell would not be changed.
git-svn-id: trunk@39469 -
2012-12-06 23:13:17 +00:00
juha
6b108dd2d8 LCL: make ValueListEditor work also when ColumnTitles are not shown.
git-svn-id: trunk@39442 -
2012-12-05 13:27:12 +00:00
juha
64b47ff313 LCL: Don't publish FixedRows in ValueListEditor, allow only 0 or 1. Issue #23430
git-svn-id: trunk@39441 -
2012-12-05 13:27:01 +00:00
juha
33b20563ef LCL, ValueListEditor: implement some ToDos
git-svn-id: trunk@38156 -
2012-08-05 08:32:18 +00:00
juha
13b9ee0628 LCL, ValueListEditor: Implement OnStringsChange/OnStringsChanging. Issue #22576
git-svn-id: trunk@38155 -
2012-08-05 08:32:08 +00:00
jesus
cd63f40bc8 LCL, fix TValueListEditor streaming problems, issue #21480
git-svn-id: trunk@36064 -
2012-03-16 06:44:58 +00:00
juha
07fea0e8c8 LCL: fix assigning values to TValueListEditor.Strings. Issue #21115
git-svn-id: trunk@34793 -
2012-01-19 11:39:17 +00:00
zeljko
e9e48cbc59 LCL: cleanup of unused variables
git-svn-id: trunk@33050 -
2011-10-23 14:37:12 +00:00
jesus
f5d82af704 LCL, fix valedit display problems, issue #16667
git-svn-id: trunk@32595 -
2011-10-01 19:41:14 +00:00
juha
cc95515d35 LCL: new source file for ValueListEditor.
git-svn-id: trunk@32588 -
2011-10-01 16:23:37 +00:00