Commit Graph

107 Commits

Author SHA1 Message Date
Juha
425a7dec45 LCL: Remove UTF8CompareLatinTextFast calls.
(cherry picked from commit c285b58aa3)
2024-02-22 16:43:31 +03:00
Jesus Reyes A
1eeb23074a LCL: fix TValueListEditor LoadContent in case of exceptions, issue #36182 2021-08-24 02:24:27 -05:00
bart
ac3fae6d99 TValueListEditor: raise an exception when setting RowCount < FixedRows.
git-svn-id: trunk@64605 -
2021-02-17 17:35:57 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
bart
93b66ba3ca TValueListEditor: don't hardcode '=' in r64089 #f7cf091f71
git-svn-id: trunk@64090 -
2020-10-30 09:06:37 +00:00
bart
f7cf091f71 TValueListEditor: disallow having an equal sign ('=') in the Keys column. See https://forum.lazarus.freepascal.org/index.php?topic=51977.0;topicseen
git-svn-id: trunk@64089 -
2020-10-30 08:55:51 +00:00
bart
9e4c5d207e LCL: TValueListEditor: update TitleCaptions after LoadFromCSV.
git-svn-id: trunk@62132 -
2019-10-27 14:05:33 +00:00
bart
4b43ae528d LCL: TValueListEditor: don't allow setting ColCount to anything but 2.
git-svn-id: trunk@62118 -
2019-10-25 17:02:09 +00:00
bart
a4df0d88cf LCL: TValueListEditor: update TitleCaptions when loading from file.
git-svn-id: trunk@62117 -
2019-10-25 16:36:39 +00:00
bart
268342b7a9 LCL: TValueListEditor: don't save/load some parts of the grid twice. Based on suggestion by wp.
git-svn-id: trunk@62056 -
2019-10-14 17:22:45 +00:00
bart
2ab9985503 LCL: raise exception TValueListEditor.LoadContent if XML does not seem to be a saved TValueListEditor.
git-svn-id: trunk@62055 -
2019-10-14 16:58:44 +00:00
bart
631b507057 LCL: fix TValueListEditor LoadFromFile if to be loaded grid is empty. Part of issue #0036166.
git-svn-id: trunk@62044 -
2019-10-13 12:14:11 +00:00
bart
8c90dbc81a LCL: fix TValueListEditor LoadFromFile and SaveToFile. Issue #0036166.
git-svn-id: trunk@62043 -
2019-10-13 11:58:59 +00:00
juha
5c4bd12dd3 LCL: Publish OnMouseWheelHorz/Left/Right events for most controls. Issue #34683, patch from AlexeyT.
git-svn-id: trunk@59801 -
2018-12-12 11:33:10 +00:00
bart
2ddfb4072a TValueListEditor: fix DeleteRow (Issue #0034208)
git-svn-id: trunk@59030 -
2018-09-16 11:11:07 +00:00
bart
828f4e74ef TValueListEditor: implement sort. Based on a patch by Jesus Reyes. Issue #0034141.
git-svn-id: trunk@58773 -
2018-08-24 16:06:59 +00:00
wp
7787ca1fdd LCL/ValuelistEditor: Change column titles from "Key"/"Name" to "Key"/"Value"
git-svn-id: trunk@57355 -
2018-02-24 11:45:10 +00:00
juha
3ed79743c8 Remove the wrapper functions from LazUtils.FileUtil, Lcl.LclProcs and Codetools.FileProcs completely. Simplify code.
git-svn-id: trunk@56693 -
2017-12-11 19:44:37 +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