Commit Graph

226 Commits

Author SHA1 Message Date
Juha
e27cc45f6c LCL: Make TDBCheckbox events consistent with VCL and with TCheckBox. Issue #39917, patch by Arioch The. 2022-10-04 16:59:38 +03:00
Juha
4b12f85ede LCL: Publish TDBEdit.TextHint. Issue #39470. 2021-11-17 18:45:16 +02:00
Jesus Reyes A
fef094c56f LCL: Fix updating list dataset on dblookupcombobox on selection or autocomplete, issue #39343 2021-08-29 00:49:48 -05:00
Jesus Reyes A
1e64a65808 LCL: Deprecated TDBLookupComboBox DropDownCount property in favor of DropDownRows to improve delphi compatibility, issue #35864 2021-08-25 00:58:24 -05:00
wp
a693251026 Publish OnContextPopup and OnResize for some controls to improve Delphi compatibility or compatibility with related controls. Issue #38453, based on patch by Reinhard Kalinke.
git-svn-id: trunk@64513 -
2021-02-09 18:40:00 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
618261511d LCL: Remove tests for FPC versions 2.x. Cannot be used anyway.
git-svn-id: trunk@64120 -
2020-11-10 09:50:20 +00:00
juha
a43056f291 LCL: "EmptyValue" and "DisplayEmpty" properties for TBLookupCombobox and TDBLookupListBox components. Issue #36035, patch from Zdravko Gabrovski.
git-svn-id: trunk@62884 -
2020-04-04 12:51:38 +00:00
juha
709c6d0859 LCL: DBLookup controls and ScrollListDataset, scroll also if dataset wwas opened before control was created. Issue #33109, patch from Michal Gawrycki.
git-svn-id: trunk@62415 -
2019-12-18 20:52:05 +00:00
jesus
8e7198de43 LCL, DbControls: fix OnChange event not triggered in unbound dblookupcombobox reverting r61129 #97941ab395, issue #35419
git-svn-id: trunk@61245 -
2019-05-19 06:36:38 +00:00
juha
7de7e2642e LCL: Fix some data control regressions. Issue #35458, patch from Michal Gawrycki.
git-svn-id: trunk@61111 -
2019-05-03 13:53:21 +00:00
juha
290e503af0 LCL: Publish Constraints property for TDBCheckBox, TDBComboBox, TDBCalendar and TDBNavigator. Issue #35392, patch from Joeny Ang.
git-svn-id: trunk@61054 -
2019-04-24 20:22:10 +00:00
jesus
455f531fe1 LCL, missing change from r59666 #7a666ba10a
git-svn-id: trunk@59668 -
2018-11-26 19:54:10 +00:00
jesus
721c734e03 LCL: DbLookupCombobox: do not initialize lookup on datachange.
git-svn-id: trunk@58967 -
2018-09-12 18:03:34 +00:00
jesus
064a10f549 LCL: UpdateRecord on DbCombobox mousewheel selection, resolves issue #32383
git-svn-id: trunk@58921 -
2018-09-09 17:21:05 +00:00
jesus
0c95cf6607 LCL, Implements DBCombobox and DBLookupCombobox cancelling dataset edit state on ESC if it is the source of editing.
git-svn-id: trunk@58899 -
2018-09-07 01:20:37 +00:00
jesus
6a5bc59a4d LCL, fix unbound DbLookupCombobox regression caused by r58686 #8ff1532ca9, issue #33164
git-svn-id: trunk@58799 -
2018-08-29 20:50:04 +00:00
jesus
8a2aeb9fd9 LCL: implements dbimage clipboard support from Aleksey Lagunov (with changes), issue #33602
git-svn-id: trunk@58697 -
2018-08-12 18:58:58 +00:00
jesus
8ff1532ca9 LCL: fix dbcombobox editing, issue #33164
git-svn-id: trunk@58686 -
2018-08-08 17:40:19 +00:00
ondrej
0c5181bf67 Revert r58337 and r58339 #e887c43e0d
git-svn-id: trunk@58346 -
2018-06-19 20:04:57 +00:00
ondrej
f1b3d3f742 LCL: call OnEditingDone (DoEditingDone) only if something changed
git-svn-id: trunk@58337 -
2018-06-19 17:11:31 +00:00
juha
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
ondrej
70b731c254 LCL: publish DoubleBuffered & ParentDoubleBuffered
git-svn-id: trunk@58099 -
2018-06-03 20:36:08 +00:00
jesus
4662045bfa LCL: Implements DBCombobox change
git-svn-id: trunk@57660 -
2018-04-17 05:49:27 +00:00
ondrej
757cf07ff9 Fix CamelCase
git-svn-id: trunk@57552 -
2018-03-22 15:21:43 +00:00
wp
248e77922c LCL: Publish property Aligment of TDBEdit.
git-svn-id: trunk@57264 -
2018-02-06 13:37:02 +00:00
wp
3750bde9cd LCL: Undo r55912 and r55894 #14e5f42ff3 (crashing DBCombobox if focused and mousewheel is rotated, see comment at issue #32463)
git-svn-id: trunk@56883 -
2017-12-30 20:54:51 +00:00
juha
20ecd8933d LCL: Call EditingDone from TCustomDBComboBox on CloseUp when style is DropDownList. Issue #27186, patch from Tony Whyman.
git-svn-id: trunk@56681 -
2017-12-09 18:01:07 +00:00
ondrej
f0349db72b LCL: dbgrids: publish properties. Patch by Michal Gawrycki, issue #32445
git-svn-id: trunk@56000 -
2017-10-09 06:20:43 +00:00
juha
1d7dfe0488 LCL: Prevent paste, cut and clean in DB edit controls if field or control is read-only. Issue #32467, patch from Michal Gawrycki.
git-svn-id: trunk@55927 -
2017-09-26 10:04:16 +00:00
juha
1644bea3b3 LCL: Fix a regression in TDBLookupComboBox caused by r55894 #14e5f42ff3. Issue #32463, patch from Michal Gawrycki.
git-svn-id: trunk@55912 -
2017-09-24 12:25:26 +00:00
juha
8e708aabea LCL: Respect ReadOnly property in TDBLookupComboBox and TDBLookupListBox. Issue #32408, patch from Michal Gawrycki.
git-svn-id: trunk@55911 -
2017-09-24 09:27:53 +00:00
ondrej
cd7fd1bc6e lcl: DBLookupComboBox, DBLookupListBox: update Lookup on handle destroy. Issue #31486
git-svn-id: trunk@54441 -
2017-03-18 09:20:06 +00:00
zeljko
1f626ab147 LCL: published Align property for TDBEdit. issue #31292
git-svn-id: trunk@54050 -
2017-02-01 09:41:54 +00:00
juha
c541c3873e LCL: Change TDBImage.UpdateData to virtual. Issue #24539.
git-svn-id: trunk@51940 -
2016-03-14 19:59:50 +00:00
juha
3d8be36eb6 LCL: Reduce warnings by replacing deprecated TField's "Lookup" with "FieldKind=fkLookup".
git-svn-id: trunk@51045 -
2015-12-26 18:55:45 +00:00
blikblum
f1f2b98254 LCL: improve the workaround to support fpc 2.6.4 TMemDataset in a way that other datasets are not affected. Issues #26356, #27959
git-svn-id: trunk@50763 -
2015-12-13 13:56:19 +00:00
juha
8fbb5a4e52 LCL: Publish ShowHint and ParentShowHint for TDBMemo. Issue #28225.
git-svn-id: trunk@49242 -
2015-06-02 11:59:40 +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
17e9c7f7e6 LCL: fix dbedit losing edit state on ALT+TAB and on just dragging the dbedit parent window, both seen in linux, issue #22475
git-svn-id: trunk@46276 -
2014-09-21 18:31:28 +00:00
juha
2d68a26e97 LCL: Implement DBAction on DBControls. Issue #25988, patch from Luigi
git-svn-id: trunk@46203 -
2014-09-13 09:40:00 +00:00
blikblum
9be8a417f1 lcl: add some heuristic in TDBLookup to determine if the dataset really changed. Issue #26006
git-svn-id: trunk@44875 -
2014-05-01 20:01:23 +00:00
blikblum
759e87ceb6 lcl: ensure that reset is Modified in TFieldDataLink.UpdateData even if an exception occurs. Issue #26081
git-svn-id: trunk@44867 -
2014-05-01 13:34:22 +00:00
blikblum
b6a4657b66 lcl: Reset TFieldDataLink when a key field changes. Issue #25876
git-svn-id: trunk@44505 -
2014-03-24 12:34:52 +00:00
jesus
7ee5132796 LCL, DbImage implements loading stream directly if it doesn't have a known header, WriteHeader property to make writing img header optional
git-svn-id: trunk@43779 -
2014-01-22 08:12:23 +00:00
blikblum
bf893993a5 lcl: update lookup list in DatasetChanged event. Fix issue #25400
git-svn-id: trunk@43512 -
2013-12-07 10:40:43 +00:00
blikblum
8c91bab6ee lcl: call RecordChanged in TFieldDataLink.LayoutChanged to match Delphi behavior
git-svn-id: trunk@43479 -
2013-11-25 18:33:17 +00:00
blikblum
f8ca4d297e lcl: remove dbctrls.ExtractFieldName since it is not needed anymore (db.ExtractFieldName already implemented)
git-svn-id: trunk@43477 -
2013-11-24 23:42:57 +00:00
blikblum
e35c0db3e2 lcl: do not try to open closed dataset in lookup controls since the moment of opening is unpredictable and can lead to crashes. See http://forum.lazarus.freepascal.org/index.php/topic,17355.msg96112.html
git-svn-id: trunk@43476 -
2013-11-24 23:38:58 +00:00