Commit Graph

156 Commits

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