Commit Graph

91 Commits

Author SHA1 Message Date
maxim
a62dfe4241 Merged revision(s) 58773 #828f4e74ef, 59030 #2ddfb4072a from trunk:
TValueListEditor: implement sort. Based on a patch by Jesus Reyes. Issue #0034141.
........
TValueListEditor: fix DeleteRow (Issue #0034208)
........

git-svn-id: branches/fixes_1_8@59121 -
2018-09-21 22:43:11 +00:00
maxim
b149405f8d Merged revision(s) 57355 #7787ca1fdd from trunk:
LCL/ValuelistEditor: Change column titles from "Key"/"Name" to "Key"/"Value"
........

git-svn-id: branches/fixes_1_8@57364 -
2018-02-24 22:00:40 +00:00
bart
b45268e494 ValEdit: fix infinite recursion introduced in r52157 #e6905bdc44. Issue #0029993.
git-svn-id: trunk@52164 -
2016-04-11 09:15:49 +00:00
mattias
e6905bdc44 lcl: clean up TValueListEditor.FixedRows
git-svn-id: trunk@52157 -
2016-04-10 17:40:31 +00:00
bart
cc31a2d44d ValueListEditor: Revert r45782 #8f01bb744d. It is not a proper fix, and the issue cannot be reproduced anymore. Issue #0026449.
git-svn-id: trunk@50568 -
2015-12-02 12:53:52 +00:00
bart
6328571bef Grids: Do nut move to another cell when user presses Left/Right in editor. Issue #0029084.
git-svn-id: trunk@50566 -
2015-12-02 12:34:53 +00:00
mattias
5ca1ca2bd8 LCL: less hints
git-svn-id: trunk@47614 -
2015-02-07 09:52:51 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
jesus
8f01bb744d lcl, valedit, don't concat strings to avoid codepage conversions, issue #26449
git-svn-id: trunk@45782 -
2014-07-05 04:30:57 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
juha
e7cc950b13 LCL: Prevent an out of bounds error in ValueListEditor when adding rows automatically in Value-column.
git-svn-id: trunk@44714 -
2014-04-13 10:35:15 +00:00
juha
e64fe7ef92 LCL: formatting in ValueListEditor.
git-svn-id: trunk@44713 -
2014-04-13 10:35:10 +00:00
juha
0e356292c6 LCL: In ValueListEditor, allow setting keyAdd in KeyOptions before setting keyEdit. Allow setting goAutoAddRows in Options.
git-svn-id: trunk@44629 -
2014-04-07 07:20:39 +00:00
bart
d369e9fa44 ValEdit: Fix InsertRow (Issue #0025881)
git-svn-id: trunk@44566 -
2014-03-31 21:19:27 +00:00
bart
614130f5b7 ValEdit: Remove duplicate line in TItemProp.AssignTo
git-svn-id: trunk@43545 -
2013-12-15 22:30:36 +00:00
bart
60b306caa2 ValEdit: In TValueListEditor.ValidateEntry when validation fails, don't continue searching for more violations.
Issue #0025161.

git-svn-id: trunk@43521 -
2013-12-07 17:32:54 +00:00
bart
ed6faba781 ValEdit: fix crash on GetCells when empty rows are auto-added.
git-svn-id: trunk@43177 -
2013-10-08 16:49:06 +00:00
bart
ed57fc41d6 ValEdit: fix possible error in InsertRowWithValues due to uninitialized NameValueSeparator.
git-svn-id: trunk@43119 -
2013-10-06 11:53:10 +00:00
bart
4c3f9378b9 ValEdit: refactor the logic behind wether or not to hide the editor when manipulating the Strings property.
git-svn-id: trunk@43118 -
2013-10-06 11:49:54 +00:00
bart
d91315a258 ValEdit: implement an adapted version of InsertRowWithValues.
git-svn-id: trunk@43110 -
2013-10-05 22:03:28 +00:00
bart
00ac786d09 ValEdit: Fix crash in InsertRow if Strings.Count = 0.
Issue #0025144.

git-svn-id: trunk@43109 -
2013-10-05 20:30:04 +00:00
jesus
74824cdc4e LCL, fix ValueListEdit not showing key column at runtime, issue #24780
git-svn-id: trunk@42958 -
2013-09-27 02:56:24 +00:00
juha
f40d0f314f LCL: Prevent crash in TValueListEditor when resizing a parent form. Issue #24827, patch from Cyrax
git-svn-id: trunk@42319 -
2013-08-04 12:02:35 +00:00
bart
24dd7801d7 ValEdit: fix crash in ValueListEditor.AdjustColumnWidths.
Patch by Cyrax. Issue #0024779.

git-svn-id: trunk@42205 -
2013-07-25 17:01:20 +00:00
bart
52faf04b92 ValEdit: use Strings.NameValueSeparator instead of hardcoded '='.
Patch by Cyrax (slightly adapted).

git-svn-id: trunk@42197 -
2013-07-24 12:06:14 +00:00
bart
62c0f61046 ValEdit: Make TValueListeditor.Clear only clear Strings, not entire Grid.
git-svn-id: trunk@41158 -
2013-05-12 15:44:33 +00:00
bart
8cb6307e5c TValueListEditor: Fix possible crash in TValueListStrings.Put.
git-svn-id: trunk@40523 -
2013-03-09 17:48:24 +00:00
bart
19779223aa TValueListEditor: TValueListStrings.InsertItem: don't hide the editor if we're typing in it
(which happens when we type first character in an empty grid).

git-svn-id: trunk@40522 -
2013-03-09 17:46:10 +00:00
bart
cd1ff4f40f TValueListEditor: Implement RestoreCurrentRow.
git-svn-id: trunk@40521 -
2013-03-09 17:03:38 +00:00
bart
62329743e2 TValueListEditor: GetCells: don't return an empty string if ARow is out of bounds.
git-svn-id: trunk@40520 -
2013-03-09 15:09:59 +00:00
bart
f368c819e0 TValueListEditor: implement IsEmptyRow.
git-svn-id: trunk@40519 -
2013-03-09 14:59:41 +00:00
bart
e085ecd22c TValueListEditor: implement FindRow.
git-svn-id: trunk@40515 -
2013-03-09 14:28:23 +00:00
bart
1aa0b17d81 ValEdit: Fix possible AV in TValueListStrings.Put when accessing FGrid.Editor.
git-svn-id: trunk@40468 -
2013-03-03 13:18:47 +00:00
bart
006b452930 ValEdit: Implement DeleteColRow, DeleteCol, InsertColRow, ExchangeColRow and MoveColRow.
git-svn-id: trunk@40467 -
2013-03-03 13:11:22 +00:00
bart
a7f651be93 ValEdit: Implement KeyDelete.
git-svn-id: trunk@40460 -
2013-03-02 17:12:34 +00:00
bart
64aaa76ce9 ValEdit: KeyDeleten does not require KeyEdit.
git-svn-id: trunk@40459 -
2013-03-02 15:31:02 +00:00
bart
f9e3ecf385 ValEdit: fix not removing ReadOnly of editor when in column[0], introduced in (my own) r40417 #e06657740f.
git-svn-id: trunk@40424 -
2013-02-26 22:07:36 +00:00
bart
730d773260 ValEdit: KeyOptions: implement KeyAdd.
git-svn-id: trunk@40418 -
2013-02-26 17:41:55 +00:00
bart
e06657740f ValEdit: don't show any editor at all in the first column if KeyEdit is not in KeyOptions.
git-svn-id: trunk@40417 -
2013-02-26 17:29:06 +00:00
bart
5d55b90f96 Grids: Remove unneccesary TCompositeCellEditor.GetActiveEditor (introduced in r40375 #d2b9d862ef),
make GetActiveControl protected instead.

git-svn-id: trunk@40415 -
2013-02-26 16:32:57 +00:00
bart
b0b8409a1c ValEdit: Implement DeleteRow().
git-svn-id: trunk@40387 -
2013-02-24 14:33:19 +00:00
bart
8ff1d3962b ValEdit: InsertRow: if Append then insert after current row, not after last row.
(According to Delphi help text)

git-svn-id: trunk@40385 -
2013-02-24 14:21:53 +00:00
bart
41464aaec9 ValEdit: Disable goAutoAddRowsSkipContentCheck (temoprary workaround).
git-svn-id: trunk@40384 -
2013-02-24 13:48:21 +00:00
bart
72cba621d3 ValEdit: when set RowCount also update Strings accordingly.
Needed for AddKey in KeyOtions.

git-svn-id: trunk@40383 -
2013-02-24 13:45:15 +00:00
bart
4592622e5c ValEdit: Start implementing KeyOptions.
git-svn-id: trunk@40382 -
2013-02-24 13:15:00 +00:00
bart
729e3e2fdb ValEdit: Fix not updating cell in TValueListStrings.Put when goAlwaysShowEditor in Options and current
editor is TCompositeCellEditor.

git-svn-id: trunk@40376 -
2013-02-23 16:57:50 +00:00
bart
d2b9d862ef ValEdit: implement TItemProp.ReadOnly.
For this we need access to private field FEditors of TCompositeCellEditor.

git-svn-id: trunk@40375 -
2013-02-23 16:35:34 +00:00
bart
12ef5fac9f ValEdit: implelement OnGetPickList.
git-svn-id: trunk@40374 -
2013-02-23 14:25:05 +00:00
bart
4952b8047a ValEdit: set DropDownCount of associated ComboBox to DropDownRows if ItemProp.EditStyle = esPickList.
git-svn-id: trunk@40372 -
2013-02-23 14:08:49 +00:00
jesus
d79e1a4d79 ValEdit, fix strange focus swapping reported by bart
git-svn-id: trunk@40358 -
2013-02-20 09:28:58 +00:00