Commit Graph

143 Commits

Author SHA1 Message Date
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