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
blikblum
f45d421293
lcl: put TDBEdit in edit state at entry for widgetsets that does not implement clipboard action. Bug #20394
...
git-svn-id: trunk@33035 -
2011-10-23 01:12:45 +00:00
blikblum
c42f1fd451
lcl: fix possible access violation by setting lookup after handle creation of lookup controls
...
git-svn-id: trunk@32918 -
2011-10-16 10:49:56 +00:00
blikblum
4f339b94c0
* Put in edit state when selecting text in DBComboBox. Fix #20477
...
git-svn-id: trunk@32867 -
2011-10-13 07:08:51 +00:00
blikblum
b9ed244eab
lcl: publish missing events to TDBMemo (issue #20342 )
...
git-svn-id: trunk@32513 -
2011-09-26 01:03:23 +00:00
blikblum
a9beff6a99
lcl: remove debug code. Code cleaunp (DBCtrls)
...
git-svn-id: trunk@32508 -
2011-09-24 22:48:10 +00:00
blikblum
b4aa6f9cf7
lcl: revert setting edit in TCustomDBListBox.WMLButtonDown since was not working properly
...
refactor TDBLookupListBox to only initialize datalink once while loading and not while destroying
code cleanup
git-svn-id: trunk@32507 -
2011-09-24 22:43:31 +00:00
blikblum
230dedbde2
lcl: enter in Edit state before item is changed in TDB*ListBox
...
git-svn-id: trunk@32503 -
2011-09-24 18:14:09 +00:00
blikblum
5429c2b84b
lcl: Change TList to TFpList (DBCtrls.FieldClasses)
...
git-svn-id: trunk@32497 -
2011-09-24 13:09:18 +00:00
blikblum
5c5155956b
lcl: fixed updating Text of DB*ComboBox when dataset is open/closed. Code cleanup
...
git-svn-id: trunk@32494 -
2011-09-24 12:49:17 +00:00
blikblum
2012691818
lcl: Enter edit state for LM_PASTE / Clear / Cut for TDBEdit in WndProc instead of each one separated
...
git-svn-id: trunk@32484 -
2011-09-24 01:33:18 +00:00
blikblum
d73f175065
lcl: Enter edit state for LM_PASTE / Clear / Cut for TDBComboBox. Part of 20326
...
git-svn-id: trunk@32483 -
2011-09-24 01:29:42 +00:00
blikblum
b73550e311
lcl: TCustomDBComboBox: put dataset in edit state in KeyDown/Press like TDBEdit. Part of 20326
...
git-svn-id: trunk@32482 -
2011-09-24 00:41:58 +00:00
blikblum
ed5e8f0f0a
lcl: remove TDBEdit.IsReadOnly (not required anymore) (missing commit)
...
git-svn-id: trunk@32476 -
2011-09-23 23:19:14 +00:00
blikblum
09c6d11771
lcl: group boolean fields in DB Controls
...
git-svn-id: trunk@32458 -
2011-09-22 15:16:07 +00:00
jesus
671e8b233d
LCL, published BiDiMode and ParentBiDiMode for some components, tested by Avishai, issue #19990
...
git-svn-id: trunk@32301 -
2011-09-12 19:12:21 +00:00
blikblum
88794fa327
lcl: remove unnecessary virtual keyword for event handlers in DB Controls
...
git-svn-id: trunk@32272 -
2011-09-11 01:12:53 +00:00
blikblum
1a948b8c22
lcl: Properly implement TFieldDataLink.FocusControl. Remove unused FocusRequest handlers
...
git-svn-id: trunk@32271 -
2011-09-11 01:04:11 +00:00
blikblum
30ad2f43e7
lcl: Remove TFieldDataLink OnFocusRequest and OnLayoutChange. They are not needed anymore and do not exist in Delphi
...
git-svn-id: trunk@32270 -
2011-09-11 00:54:08 +00:00
blikblum
b2323a742c
lcl: remove Loaded procedure from DB Controls. Not needed anymore
...
git-svn-id: trunk@32269 -
2011-09-11 00:50:35 +00:00
blikblum
0c3b1a74a1
lcl: removed ActiveChange from DBControls since is not necessary anymore
...
Code cleanup
git-svn-id: trunk@32263 -
2011-09-10 18:31:44 +00:00
blikblum
4be3d2da8a
lcl: code cleanup of TFieldDataLink
...
git-svn-id: trunk@32260 -
2011-09-10 17:37:58 +00:00
blikblum
4a01a6566d
lclc: remove TDBEdit.ActiveChange and LayoutChange. Not needed anymore
...
git-svn-id: trunk@32258 -
2011-09-10 17:33:40 +00:00
blikblum
b99ef8a1fa
lcl: Simplify TFieldDataLink.ValidateField
...
Call Reset in TFieldDataLink.LayoutChanged
part of 20032
git-svn-id: trunk@32257 -
2011-09-10 17:27:25 +00:00
blikblum
cb6c671993
lcl: call Reset in TFieldDataLink.RecordChanged if aField equal to nil or to FField
...
keep TFieldDataLink.DataSetChanged only in fpc 242
git-svn-id: trunk@32256 -
2011-09-10 16:20:57 +00:00
blikblum
b808d3f14e
lcl: remove TDBMemo.ActiveChange. Not necessary anymore. Part of 20032
...
git-svn-id: trunk@32254 -
2011-09-10 15:42:02 +00:00
blikblum
08d1bb3d92
lcl: refactor TFieldDataLink.SetFieldName to only call Reset when Active
...
change TFieldDataLink.ActiveChanged to update the field directly instead through ValidateField/SetFieldName
Always call OnDataChange in TFieldDataLink.Reset
part of 20032
git-svn-id: trunk@32253 -
2011-09-10 15:35:36 +00:00
blikblum
f3478d3918
lcl: dont call Reset twice in TFieldDataLink.SetFieldName. part of 20032
...
git-svn-id: trunk@32247 -
2011-09-10 01:39:42 +00:00
sekelsenmat
41fbd0d144
Changes the confusing constant name for navFocusableButtons
...
git-svn-id: trunk@31877 -
2011-08-05 14:21:15 +00:00
sekelsenmat
4261fe84cb
Implements support for using TDBNavigator with the keyboard if the option noFocusableButtons is activated
...
git-svn-id: trunk@31874 -
2011-08-05 12:50:14 +00:00
blikblum
b9b1923f12
lcl: publish TDBMemo.Enabled
...
git-svn-id: trunk@31418 -
2011-06-27 14:44:04 +00:00
mattias
d2f1a124fa
lcl: clean up
...
git-svn-id: trunk@30800 -
2011-05-18 16:55:29 +00:00
blikblum
bf205acf8a
lcl: fix spelling FValue[Un]Check -> FValue[Un]Checked
...
git-svn-id: trunk@30644 -
2011-05-09 19:14:35 +00:00
blikblum
5bd27bfb26
lcl: in TDBLookupListBox update record when selection is changed (Delphi compatible)
...
git-svn-id: trunk@30414 -
2011-04-21 15:35:38 +00:00
sekelsenmat
12e3b2bf20
Moves the barchart import from dataset from dbctrls to barchart
...
git-svn-id: trunk@30388 -
2011-04-19 18:34:50 +00:00
zeljko
d3e86179db
LCL: Chart unit renamed to BarChart
...
git-svn-id: trunk@30386 -
2011-04-19 17:24:59 +00:00
blikblum
a494e8fc10
lcl: update record in DoOnChange instead of EditingDone. Fixes #19167
...
git-svn-id: trunk@30347 -
2011-04-17 12:47:32 +00:00
blikblum
6119e741df
lcl: add missing private keyword to some TDB* controls
...
git-svn-id: trunk@30339 -
2011-04-17 11:27:29 +00:00
blikblum
3cbd34d275
lcl: handle NullValueKey of TDBLookup* in KeyDown event instead of through a global handler. Fixes #19164
...
git-svn-id: trunk@30329 -
2011-04-17 01:26:18 +00:00
blikblum
7b1ab64dc2
lcl: republish TDBListBox.Items (Delphi compatible). Fixes #14827
...
git-svn-id: trunk@30299 -
2011-04-15 02:51:39 +00:00
vincents
1391cd2108
LCL: published TDBImage.OnDblClick, probably works, because it is already published for TImage.
...
Fixes issue #15858 .
git-svn-id: trunk@28579 -
2010-12-01 10:15:05 +00:00
jesus
e9ffe1adc7
LCL, patch to publish OnEditingDone event in some dbcontrols, from Silvio Clesio, issue #17433
...
git-svn-id: trunk@28426 -
2010-11-23 07:34:44 +00:00
blikblum
0bf716d4cf
lcl: remove TDBCheckBox.ValueEqualsField. Use AnsiSameText instead
...
git-svn-id: trunk@28352 -
2010-11-19 20:26:31 +00:00
blikblum
f645b173bc
lcl: remove workaround introduced in rev20013 to fix bugs #13367 and #10453 since actual bug is fixed in mean time
...
git-svn-id: trunk@28351 -
2010-11-19 20:19:55 +00:00
jesus
2bf077697c
LCL, fix dblookupcombobox not updating associated dataset if linked data field was fieldkind=fklookup, issue #15148
...
git-svn-id: trunk@28164 -
2010-11-09 14:25:58 +00:00
jesus
d112e09512
LCL, implements NullValueKey for dblookuplistbox and dblookupcombobox, issue #14408
...
git-svn-id: trunk@28158 -
2010-11-08 20:44:44 +00:00
jesus
8f1ae24251
LCL, implements KeyValue for DbLookupComboBox and DbLookupListbox components, issue #16557
...
git-svn-id: trunk@28031 -
2010-11-02 00:50:53 +00:00
blikblum
366d200bb8
lcl: undo rev 27074 #706b7cc905 and re implement using a static variable
...
git-svn-id: trunk@27081 -
2010-08-12 16:05:16 +00:00
blikblum
706b7cc905
lcl: move RegisterPropertyToSkip calls of Grids and DBCtrls to unit initialization so it's called only once and not on every component created
...
git-svn-id: trunk@27074 -
2010-08-12 12:55:04 +00:00
mattias
3583832a11
LCL: TDBNavigator: published property ChildSizing, set vertical scaling to true, bug #17087
...
git-svn-id: trunk@26987 -
2010-08-03 07:50:58 +00:00
mattias
01b7bba04e
LCL: TDBCustomNavigator: using lcl layout, bug #16423
...
git-svn-id: trunk@26582 -
2010-07-10 18:27:10 +00:00
maxim
3a6160cc39
LCL: default DBNavigator hints now get localized at designtime and runtime automatically (of course only if lclstrconsts.*.po file is present)
...
git-svn-id: trunk@25318 -
2010-05-11 22:27:17 +00:00
blikblum
3b6025b04e
lcl: (dbctrls) rework TFieldDataLink.ValidateField to update the field instance when it is different from the dataset field instance
...
git-svn-id: trunk@25267 -
2010-05-09 00:35:26 +00:00
blikblum
08351d67d5
lcl: (dbctrls) add workaround to fpc bug #16428 to prevent crash when the dataset layout change
...
git-svn-id: trunk@25265 -
2010-05-08 22:49:24 +00:00
paul
622f0ba392
lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
...
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
paul
dbc453d485
lcl: add TDBRadioGroup.TabStop (issue #0015839 )
...
git-svn-id: trunk@25159 -
2010-05-04 02:05:37 +00:00
paul
82e7ef7f8f
lcl: remove few db controls properties which should not be saved/loaded with forms
...
git-svn-id: trunk@23883 -
2010-03-09 03:00:24 +00:00
jesus
e3e34bcf3d
LCL, published memo and dbmemo charcase property, issue #15804
...
git-svn-id: trunk@23735 -
2010-02-19 02:11:19 +00:00
paul
216da02c61
lcl: remove ver2_0 workarounds
...
git-svn-id: trunk@23392 -
2010-01-06 17:05:28 +00:00
paul
a095fdff62
lcl: remove WordWrapIsStored methods since they are not needed anymore (fpc bug was fixed long ago)
...
git-svn-id: trunk@21765 -
2009-09-19 09:15:16 +00:00
jesus
d43265773b
LCL, fix exception caused by dblookup controls opening dataset, from Leslie Kaye, issue #14197
...
git-svn-id: trunk@21161 -
2009-08-10 18:10:51 +00:00
jesus
f87647590c
LCL, improvement for dblookup components, now they work without datasource/datafield, from Leslie Kaye, issue #13868
...
git-svn-id: trunk@20925 -
2009-07-22 20:15:17 +00:00
jesus
f13e17fefc
LCL, checks and fixes for dblookup in case of manual setup of properties
...
git-svn-id: trunk@20772 -
2009-07-01 05:11:51 +00:00
jesus
c06f404a56
LCL, DBLookup controls data initialization crash, from Luiz, issue #13882
...
git-svn-id: trunk@20331 -
2009-06-01 04:55:27 +00:00
jesus
c5f17f0fce
LCL, patcth to publish AutoComplete property in dblookupcombobox from Luiz, issue #13880
...
git-svn-id: trunk@20329 -
2009-05-31 22:04:56 +00:00
jesus
1a2a7ade29
LCL, published TDBCheckBox align property, issue #13866
...
git-svn-id: trunk@20319 -
2009-05-30 19:11:06 +00:00
jesus
a8de187566
LCL, fix pasting text into dbedit is lost after post, issue #12970
...
git-svn-id: trunk@20036 -
2009-05-19 04:34:35 +00:00
jesus
26b0680b11
LCL, fix dbcheckbox modified even in unchanged dataset, issue #10453
...
git-svn-id: trunk@20013 -
2009-05-17 17:02:44 +00:00
jesus
d72c8f6da9
LCL, patch for the lookup controls implementing the changing of the key fields of a lookup field, from Leslie Kaye, issue #13396
...
git-svn-id: trunk@19139 -
2009-03-28 16:01:10 +00:00
paul
7223e0c0d8
lcl: publish BorderStyle for TDBEdit, TDBMemo (issue #0013358 )
...
git-svn-id: trunk@19031 -
2009-03-19 13:47:04 +00:00
jesus
4ee69dac03
LCL, Do not call CanModify and Edit when the TFieldDataLink is already in editing state, from Joost, issue #13175
...
git-svn-id: trunk@18721 -
2009-02-17 03:57:55 +00:00
jesus
142dc723bf
LCL, removes an obsolete hack for an old bug in TField.CanModify, from Joost, issue #13169
...
git-svn-id: trunk@18686 -
2009-02-14 18:47:31 +00:00
paul
04b9135bbd
lcl: publish Font property for TDBCheckBox
...
git-svn-id: trunk@18607 -
2009-02-09 04:30:14 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00