Commit Graph

168 Commits

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