Commit Graph

149 Commits

Author SHA1 Message Date
bart
4a7125bc7e EditButton: replace property ButtonAlign: TButtonAlign with Layout: TLeftRight.
git-svn-id: trunk@47419 -
2015-01-18 22:30:27 +00:00
bart
59e003bdb8 EditButton: publish some more properties in TCustomEditButton derived components (for consistency).
git-svn-id: trunk@47412 -
2015-01-18 15:05:35 +00:00
bart
9cc7005608 EditButton: implement property ButtonCursor.
git-svn-id: trunk@47411 -
2015-01-18 14:56:42 +00:00
bart
4b28ea47fa EditButton: implement OnMouseWheel, OnMouseWheelUp and OnMouseWheelDown (Issue #0027155).
git-svn-id: trunk@47173 -
2014-12-11 17:57:36 +00:00
bart
d23bfafa8d EditButton: implement property spacing.
git-svn-id: trunk@47138 -
2014-12-08 14:02:26 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
juha
8cea4118ab LCL: remove unused TDateEdit.DialogTitle. Issue #1278
git-svn-id: trunk@46263 -
2014-09-20 09:21:20 +00:00
juha
66a66d73c6 LCL, TCustomControlFilterEdit: minor optimization.
git-svn-id: trunk@45838 -
2014-07-12 11:30:05 +00:00
juha
72ec3894f0 LCL: Don't add '(Filter)' to FilterEdit.Text while designing.
git-svn-id: trunk@45797 -
2014-07-06 21:02:39 +00:00
juha
5eabca2e10 LCL: Apply the filter in FilterEdit.ForceFilter only when data has changed.
git-svn-id: trunk@45463 -
2014-06-10 16:11:00 +00:00
mattias
76b41ca24f LCL: clean up
git-svn-id: trunk@45198 -
2014-05-27 13:27:55 +00:00
juha
761b0905cc LCL: rename the newly added method Reset in FilterEdit to prevent name clash.
git-svn-id: trunk@45085 -
2014-05-18 17:37:15 +00:00
juha
c4cfaaa5d5 LCL: remove default param from FilterEdit.ForceFilter(). Add method Reset().
git-svn-id: trunk@45068 -
2014-05-18 08:57:17 +00:00
bart
6c682f3dd7 EditButton: fix OnEditingDone. Issue #0026171.
Patch by Torsten Bonde Christiansen.

git-svn-id: trunk@45044 -
2014-05-15 20:59:40 +00:00
juha
176412a277 LCL: in FilterEdit, name a method better (ReturnKeyHandled).
git-svn-id: trunk@44914 -
2014-05-04 22:32:35 +00:00
bart
cfe2be01ef EditButton: publish property Flat and FocusOnButtonClick for TDateEdit.
git-svn-id: trunk@44847 -
2014-04-29 15:35:55 +00:00
bart
b4a73f6bc3 EditButton: implement property FocusOnButtonClick.
git-svn-id: trunk@44845 -
2014-04-29 11:21:34 +00:00
bart
394e7ead52 EditButton: yet another attempt to get focus right on QT when (tabStop = False)
git-svn-id: trunk@44836 -
2014-04-28 15:29:23 +00:00
bart
91148720b3 EditButton: Make the container always have the same color as the Parent.
git-svn-id: trunk@44813 -
2014-04-26 15:12:57 +00:00
bart
c45bd45cd7 EditButton: refactor setting focus.
git-svn-id: trunk@44811 -
2014-04-26 13:17:04 +00:00
bart
340635fea2 EditButton: make TabStop also set TabStop of FEdit and make it True by default.
git-svn-id: trunk@44807 -
2014-04-26 10:16:45 +00:00
bart
57d4b03505 EditButton: make ParentColor False by default.
(Issue: #0026062)

git-svn-id: trunk@44800 -
2014-04-23 22:23:12 +00:00
bart
b9ff1d385e EditButton: make EditKeyPress and related methods virtual. The old KeyPress etc. were virtual as well.
(Issue: #0026050)

git-svn-id: trunk@44797 -
2014-04-23 19:12:54 +00:00
bart
d8d89db991 EditButton: Make some event handlers public in TCustomEditButton, otherwise assigning event handlers
@runtime (as TCustomEditButton) assigns the inherited event handlers instead.
(Issue: #0026057)

git-svn-id: trunk@44796 -
2014-04-23 19:04:51 +00:00
bart
a4c5bcadd1 EditButton: publish OnButtonClick for EditButton descendants (regression).
git-svn-id: trunk@44753 -
2014-04-17 16:47:46 +00:00
bart
438d4e26ca EditButton: implement CheckCursor.
git-svn-id: trunk@44716 -
2014-04-13 11:47:02 +00:00
bart
78869bf7b8 EditButton: fix directive for function Focused.
git-svn-id: trunk@44708 -
2014-04-12 21:21:48 +00:00
bart
d8d638b475 EditButton: implement GetSel, SetSel and EditCanModify: needed by Lazarus IBO port.
git-svn-id: trunk@44707 -
2014-04-12 21:15:52 +00:00
bart
34d9fbe2f4 EditButton: refactor.
(Rename TBeEdit to TEbEdit, the old name was short for TButtonEditEdit, which was thought up
at the time the TEditButton was rewritten as TButtonEdit.)

git-svn-id: trunk@44702 -
2014-04-12 11:49:04 +00:00
zeljko
a42771378c LCL: fixed wrong TCustomEditControl OnMouseEnter event.
git-svn-id: trunk@44701 -
2014-04-12 11:28:50 +00:00
bart
9824c154d1 EditButton: implement protected properties EditText and IsMasked.
git-svn-id: trunk@44700 -
2014-04-12 11:27:25 +00:00
bart
3a55271c5e EditButton: reduce visibility of property Edit to protected, it is meant for acces to FEdit in derived controls.
git-svn-id: trunk@44699 -
2014-04-12 11:21:16 +00:00
juha
cc730e631f LCL, ButtonEdit: make the Edit control protected, available for inherited controls.
git-svn-id: trunk@44696 -
2014-04-12 09:01:23 +00:00
bart
1e4d9a5e3c EditButton: redirect focus to FEdit when control gets activated, e.g if it is set as ActiveControl.
git-svn-id: trunk@44691 -
2014-04-11 22:01:04 +00:00
bart
9597a13137 EditBtn: implement Validateedit and Reset methods.
git-svn-id: trunk@44680 -
2014-04-11 17:38:37 +00:00
bart
be1a5bc92c EditBtn: fix clearing filter text on entering TCustomControlFilterEdit.
git-svn-id: trunk@44679 -
2014-04-11 17:20:00 +00:00
bart
58a1d5eef1 TCustomEditBtn: fix loading Color.
git-svn-id: trunk@44669 -
2014-04-10 17:57:13 +00:00
bart
e3aa48ff3e TCustomEditBtn: initialize Color property in constructor.
git-svn-id: trunk@44668 -
2014-04-10 17:06:32 +00:00
bart
532b6e1e0f EditBtn: Fix assigning OnKeyDown (issue #0025998).
git-svn-id: trunk@44666 -
2014-04-09 20:31:06 +00:00
bart
3c46241a71 LCL: undo the renaming of TEditButton into TButtonEdit.
TEditButton now has the new implementation of previously introduced TButtonEdit component.

git-svn-id: trunk@44664 -
2014-04-09 15:46:18 +00:00
bart
bee933f2ab LCL: Start replacing TEditButton with TButtonEdit component.
The old TEditButton implementation is (for the time being) compilable with -dUSEOLDEDITBUTTON

git-svn-id: trunk@44623 -
2014-04-06 15:19:13 +00:00
bart
f78c905370 ButtonEdit: fix building with USEBUTTONEDIT
git-svn-id: trunk@44589 -
2014-04-02 21:42:37 +00:00
bart
2a7bde6725 Starts implementing TButtonEdit, a repacement for TEditButton.
git-svn-id: trunk@44584 -
2014-04-01 22:34:25 +00:00
juha
1895283edd LCL: remove an experimental TEditButton which seems to be a dead end. It was behind a define NewEditButton.
git-svn-id: trunk@44433 -
2014-03-15 14:08:51 +00:00
juha
b99a80c49f LCL: New method ForceFilter for FilterEdit. Issue #25258, patch from Cyrax.
git-svn-id: trunk@43482 -
2013-11-26 22:12:08 +00:00
paul
102a858398 lcl, ide: redo LoadGlypFromResource to LoadGlyphFromResourceName with ability to pass an Instance handle
git-svn-id: trunk@42972 -
2013-09-27 08:44:38 +00:00
paul
88f15398f4 lcl: move edit button images from Lazarus to FPC resources
git-svn-id: trunk@42963 -
2013-09-27 03:52:44 +00:00
bart
5f60f3f425 EditBtn: change name of parameter Action into Accept in TAcceptValueEvent.
Resolves issue #0024906.

git-svn-id: trunk@42539 -
2013-09-01 10:20:49 +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
04702d4ac1 LCL: Fix fOnAfterFilter event's name in FilterEdit
git-svn-id: trunk@41104 -
2013-05-10 07:55:43 +00:00