Commit Graph

79 Commits

Author SHA1 Message Date
rich2014
46a014d098 Cocoa & Db: enable dbedit/dbmemo to input when FDataLink.Field=nil, patch by Ugo Boccardi 2024-07-02 21:32:32 +08:00
rich2014
1ac92dd342 Cocoa & Db: Fix #40985 the issue that Space can't activate editing 2024-06-19 22:22:29 +08:00
rich2014
f358fd7d17 Cocoa: Fix TDBEdit as TDBMemo (issue #40985) 2024-06-14 23:14:13 +08:00
juha
b79364d9d0 Revert r56034 #9019311d50. Do not reset TDBEdit.Modified always. Issue #31820.
git-svn-id: trunk@62769 -
2020-03-16 19:51:39 +00:00
juha
7b46b7ced2 LCL: Prevent a crash when freeing a DBEdit with focus. Issue #27178, patch from Petr-K.
git-svn-id: trunk@62288 -
2019-11-23 22:12:41 +00:00
juha
9019311d50 LCL: Reset TDBEdit.Modified property after DataSet.Post. Issue #31820, patch from Andrey Korol.
git-svn-id: trunk@56034 -
2017-10-11 21:21:40 +00:00
juha
9c0b82e0b0 LCL: Set field-value in TDBEdit when return key pressed. Issue #32534, patch from Soner.
git-svn-id: trunk@56033 -
2017-10-11 21:21:35 +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
blikblum
2be91bc1f5 lcl: update DBEdit.Text in SetFocus when widgetset does not support clipboard messages. Issue #29693
git-svn-id: trunk@51921 -
2016-03-11 22:32:07 +00:00
juha
d65c2f1ae2 Revert r51898 #0dfc266d6f "LCL: Take EditMask in DBEdit into account...". The issue is QT related.
git-svn-id: trunk@51901 -
2016-03-10 14:20:27 +00:00
juha
0dfc266d6f LCL: Take EditMask in DBEdit into account when selectedAll. Issue #29693, patch from Bambang Pranoto.
git-svn-id: trunk@51898 -
2016-03-10 11:50:27 +00:00
jesus
b8f0b91210 LCL, dbedit, ESC key should have effect only when control is being edited, from Erwin van den Bosch, isse 25472
git-svn-id: trunk@46281 -
2014-09-21 22:53:57 +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
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
blikblum
f914971497 lcl: don't prevent escape key to propagate in DBEdit. Issue #22916
git-svn-id: trunk@38836 -
2012-09-26 00:06:34 +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
blikblum
85b8beb59c lcl: fix deleting numbers in TDBEdit. Issue #21541
git-svn-id: trunk@36295 -
2012-03-24 20:31:31 +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
46ef55241c lcl: fix filtering of unicode char in dbedit issue #14679
git-svn-id: trunk@35536 -
2012-02-21 13:09:47 +00:00
juha
3e969373ef LCL: formatting
git-svn-id: trunk@34900 -
2012-01-24 14:10:19 +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
017292bb65 lcl: store DataLink.Field in a local variable so the compiler can produce smaller code
git-svn-id: trunk@32495 -
2011-09-24 13:01:25 +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
31013e0c42 lcl: replace Edit by CanModify in TDBEdit.EditCanModify
git-svn-id: trunk@32481 -
2011-09-24 00:30:49 +00:00
blikblum
4dc5517533 lcl: call inherited method in TDBEdit.LMPasteFromClip only if Field.CanModify (no effect for now, but as soon the issue #20330 if fixed, will get the correct behavior)
git-svn-id: trunk@32480 -
2011-09-23 23:42:04 +00:00
blikblum
4abcef4f08 lcl: dont check to TDataLink.CanModify before calling Edit (not needed) (missing commit)
git-svn-id: trunk@32479 -
2011-09-23 23:31:07 +00:00
blikblum
fce101ac82 lcl: dont check to TDataLink.CanModify before calling Edit (not needed)
git-svn-id: trunk@32478 -
2011-09-23 23:27:47 +00:00
blikblum
90dd407ee2 lcl: don't call SelectAll in TDBEdit.DataChange since clears the content if state is changed to dsEdit while editing it
git-svn-id: trunk@32477 -
2011-09-23 23:22:43 +00:00
blikblum
aedcdf5145 lcl: remove TDBEdit.IsReadOnly (not required anymore)
git-svn-id: trunk@32475 -
2011-09-23 23:18:03 +00:00
blikblum
ce952d5a7a lcl: fix clipboard paste in DBEdit. Part of 20326
git-svn-id: trunk@32462 -
2011-09-22 22:54:57 +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
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
91a853eeb7 lcl: code cleanup of TDBEdit
git-svn-id: trunk@32259 -
2011-09-10 17:36:02 +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
835fd53aa6 lcl: reset TDBEdit.MaxLength when dataset is closed
git-svn-id: trunk@30420 -
2011-04-21 19:17:12 +00:00
blikblum
eb5306b5fe lcl: update TDBEdit.MaxLength in all string fileds
git-svn-id: trunk@30419 -
2011-04-21 19:05:37 +00:00
blikblum
0554e1ce9e lcl: remove check before setting Alignment
git-svn-id: trunk@26795 -
2010-07-23 20:20:07 +00:00
blikblum
78bb6e3501 lcl: set DBEdit alignment based on TField.Alignment. Fix #1179 and #14328.
git-svn-id: trunk@26786 -
2010-07-22 20:34:54 +00:00
blikblum
5a4825f660 lcl: (dbedit) Disable mask and show the TField.DisplayText when not focused and Enable mask and show TField.Text when has focus. This allows to display a value not compatible with the mask when not editing (Delphi compatible)
git-svn-id: trunk@25269 -
2010-05-09 02:30:19 +00:00
blikblum
c58144c6b8 lcl: fix datalink not being notified by changes in dbedit with mask. Inherited KeyPress always set Key to #0
git-svn-id: trunk@25252 -
2010-05-08 14:54:37 +00:00
jesus
1aa70b74a9 LCL, fix AV on editing dbedit and dataset is closed, issue #15036
git-svn-id: trunk@23497 -
2010-01-20 08:24:43 +00:00
blikblum
defbc455bc lcl: On TDBEdit.DataChange only set the MaxLength to Field.Size if is a String field and if MaxLength = 0 (Delphi compatible), , fixes bug #15443
git-svn-id: trunk@23321 -
2009-12-30 12:02:16 +00:00
blikblum
6100129694 lcl: In TDBEdit FDataLink.UpdateRecord was being called twice after Tab key is pressed (KillFocus and a direct call). Remove the direct call.
git-svn-id: trunk@23301 -
2009-12-27 19:46:44 +00:00
jesus
acff2b0a67 LCL, update record on exit dbedit if it's editing, issue #13739
git-svn-id: trunk@20038 -
2009-05-19 04:48:56 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
jesus
2298d92d57 LCL, When backspace/delete is pressed in a readonly TDBEdit, suppress the key, from Joost, issue #13176
git-svn-id: trunk@18722 -
2009-02-17 04:02:22 +00:00
jesus
a2de392614 LCL, Removed several checks to see if a field is updateable in favor of TFieldDatalink.canModify, from Joost, issue #13170
git-svn-id: trunk@18687 -
2009-02-14 18:53:46 +00:00
paul
564736fc55 lcl: apply patches from Bart Broersma for (issue #0013074) - Tmaskedit get blank character (space) inserted when key released
git-svn-id: trunk@18557 -
2009-02-04 12:01:50 +00:00
jesus
0915feea3c LCL, Add const keyword for setters of DataField property of in DbCtrls, from Luiz Americo, issue #12932
git-svn-id: trunk@18205 -
2009-01-08 05:10:28 +00:00