Commit Graph

198 Commits

Author SHA1 Message Date
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
paul
00855d5eff lcl: move db navigator images from Lazarus to FPC resources
git-svn-id: trunk@42968 -
2013-09-27 06:17:23 +00:00
juha
d406229032 LCL: Publish Color in DBLookuplistbox. Issue #24870, patch from Wladislav
git-svn-id: trunk@42403 -
2013-08-15 09:07:03 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
8b188009b0 LCL: Update TDBText.Caption in overridden Loaded method. Issue #23206, patch from Tony Whyman
git-svn-id: trunk@40925 -
2013-04-29 07:20:23 +00:00
juha
8d88bf826d LCL: Improvements for DBImage. Issue #22416, patch from Tony Whyman
git-svn-id: trunk@40924 -
2013-04-29 06:10:33 +00:00
mattias
f1d9d42341 LCL: added skip property TField.Calculated
git-svn-id: trunk@39535 -
2012-12-14 10:21:05 +00:00
vincents
b5fb88fb4b lcl: register TIntegerField, issue #19035
git-svn-id: trunk@39321 -
2012-11-20 14:55:11 +00:00
bart
1e136f3133 DBNavigator: start implementing customizable images (issue #0023097)
git-svn-id: trunk@39065 -
2012-10-13 12:11:48 +00:00
juha
2d2bc29026 LCL: Publish BorderStyle and CharCase for TDBComboBox. Issue #22295, patch from LacaK2
git-svn-id: trunk@37787 -
2012-06-26 18:24:04 +00:00
blikblum
437c6649fb lcl: prevent loop in TDBLookup.Initialize after changing ListLink.Datasource
git-svn-id: trunk@37057 -
2012-04-28 12:39:08 +00:00
blikblum
2b436be529 lcl: set TDBLookup.FListLink.DataSource dynamically to FListSource or a local datasource. Issue #15410
git-svn-id: trunk@37054 -
2012-04-28 11:41:55 +00:00
blikblum
260c7a9537 lcl: use Field EditMask in TDBEdit (delphi compatible). Add CustomEditMask property to switch to old behavior
git-svn-id: trunk@36296 -
2012-03-24 20:43:03 +00:00
jesus
b5b42666c1 LCL, fix dbnavigator not hidding buttons at design time, also fix dbnavigator do not react on changing Options property, issue #21305
git-svn-id: trunk@36102 -
2012-03-17 08:40:10 +00:00
jesus
46a46e49eb LCL, fix lookup fields should not be editable, issue #13174
git-svn-id: trunk@36063 -
2012-03-16 06:05:27 +00:00
blikblum
bfb825fa70 lcl: Publish TDBComboBox.AutoComplete. Issue #21361
git-svn-id: trunk@35608 -
2012-02-27 15:05:07 +00:00
blikblum
46ef55241c lcl: fix filtering of unicode char in dbedit issue #14679
git-svn-id: trunk@35536 -
2012-02-21 13:09:47 +00:00
zeljko
a82bf40aa7 LCL: published TDBMemo.Contstraints property to be Delphi compat. issue #21262
git-svn-id: trunk@35305 -
2012-02-11 13:45:46 +00:00
blikblum
0ed61b0702 lcl: implements TDBMemo.KeyDown as in TDBEdit. Issue #19709
git-svn-id: trunk@35123 -
2012-02-04 15:19:30 +00:00
juha
62fcc662c6 LCL: remove IFDEFs for old FPC versions. Lazarus won't compile anyway with old versions.
git-svn-id: trunk@34948 -
2012-01-26 10:47:37 +00:00
juha
3e969373ef LCL: formatting
git-svn-id: trunk@34900 -
2012-01-24 14:10:19 +00:00
blikblum
7ebde037c3 lcl: move Lookup initialization from InitializeWnd to Loaded. Just update Items address in InitializeWnd. This allows KeyValue work between Loaded and handle creation
git-svn-id: trunk@34724 -
2012-01-13 00:35:34 +00:00
blikblum
15f1e374c6 lcl: implement ScrollListDataset in DBLookup controls
git-svn-id: trunk@34389 -
2011-12-24 15:03:24 +00:00
blikblum
0b8695e5ae lcl: put dataset in edit state only if data changed
git-svn-id: trunk@34385 -
2011-12-24 14:10:21 +00:00
blikblum
372a68c92c lcl: simplified TDBLookup.UpdateData;
remove TDBLookup.FLookupList. Not needed anymore
handle setting Null data

git-svn-id: trunk@34084 -
2011-12-10 14:40:25 +00:00
blikblum
3b2f0d4e32 lcl: remove TDBLookup.ListFieldValue. Is not used anymore
git-svn-id: trunk@34083 -
2011-12-10 13:55:27 +00:00
blikblum
2389b0aed4 lcl: db lookup use the index to locate the list values instead of the display text. Fixes #20841
git-svn-id: trunk@34078 -
2011-12-09 20:23:24 +00:00
blikblum
190136efbb lcl: override Select in TCustomDBComboBox instead of TDBComboBox to affect also TDBLookupComboBox (avoid crash when ListDataset enters in Edit state inside TDBLookup.UpdateData)
git-svn-id: trunk@33467 -
2011-11-11 01:02:40 +00:00
blikblum
2e2567a84d lcl: dont test for allowed key in DBLookupCombo. Bug #20541
git-svn-id: trunk@33036 -
2011-10-23 01:57:08 +00:00