Commit Graph

134 Commits

Author SHA1 Message Date
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
juha
b77275a1d2 LCL: New implementation of TEditButton. Is compiled only with define NewEditButton, for testing now. Issue #24170, patch from Vojtech Cihak
git-svn-id: trunk@40663 -
2013-03-29 14:31:40 +00:00
mattias
77e515b5c3 lcl: renamed lisCEFilter to rsFilter
git-svn-id: trunk@40058 -
2013-01-30 14:20:28 +00:00
juha
68cb956920 LCL: add TCustomControlFilterEdit.AfterFilter event, part of #22457
git-svn-id: trunk@37997 -
2012-07-22 07:15:19 +00:00
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
juha
8e395383ce LCL: remove DebugLn from TCustomControlFilterEdit.
git-svn-id: trunk@37406 -
2012-05-23 20:55:51 +00:00
juha
f209e0ccf2 LCL: in FilterEdit, register Form Activate and Deactivate handlers to get info of ActiveControl state. Issue #22079
git-svn-id: trunk@37353 -
2012-05-19 18:32:44 +00:00
juha
afdef03054 LCL: add DebugLns to TCustomControlFilterEdit DoEnter and DoExit. They are not always called properly.
git-svn-id: trunk@37350 -
2012-05-19 13:19:11 +00:00
juha
3e716f473f LCL: Do not save the default glyph of EditButton in LFM, issue #22053, patch from Silvio Clécio
git-svn-id: trunk@37343 -
2012-05-19 08:04:22 +00:00
juha
e081f88aa0 FilteredEdit components: forward the Return press correctly when it is not handled by the filtered control
git-svn-id: trunk@35552 -
2012-02-22 10:49:14 +00:00
mattias
bbe475b828 LCL: TFilenameEdit: check if Filename exists, use InitialDir
git-svn-id: trunk@35450 -
2012-02-18 15:52:39 +00:00
mattias
588639f160 LCL: TFilenameEdit: set DialogOptions for save, using defaults like default LCL dialog
git-svn-id: trunk@35449 -
2012-02-18 15:13:03 +00:00
mattias
73c5c4d51e LCL: TFilenameEdit: set initialdir for save
git-svn-id: trunk@35448 -
2012-02-18 15:10:25 +00:00
juha
b5744efb18 LCL: forward Return key press to the filtered control in FilterEdit controls
git-svn-id: trunk@35442 -
2012-02-18 14:04:26 +00:00
mattias
f762ac3dbd LCL: TCustomControlFilterEdit: keep still at designtime
git-svn-id: trunk@35052 -
2012-01-31 08:36:35 +00:00
juha
421b8f5dae LCL: Make FilterEdit behave right with Shift button also on Windows.
git-svn-id: trunk@35016 -
2012-01-29 14:44:09 +00:00