Commit Graph

538 Commits

Author SHA1 Message Date
michl
0f22d87a53 LCL: Label.ParentColor stored default True. Revert 53362c37. Issue #38976
(cherry picked from commit b0f6b29ad8)
2022-04-05 02:14:59 +03:00
Jesus Reyes A
aa20ee383f LCL: Fix updating list dataset on dblookupcombobox on selection or autocomplete, issue #39343
(cherry picked from commit fef094c56f)
2021-08-30 13:17:27 -05:00
michl
53362c37c2 LCL: TLabel: Fixed ParentColor not working on run time. Issue #38976
git-svn-id: trunk@65189 -
2021-06-09 19:34:03 +00:00
michl
cafbad9bab LCL: TFrame, TGroupBox: Set ParentBackGround to False if color is changed and visa versa as requested in German LazarusForum from wp. Related to 64871, 64872
git-svn-id: trunk@64882 -
2021-03-28 19:32:11 +00:00
ondrej
28e5806a74 LCL: groupbox: use csOpaque style if the groupbox shouldn't be transparent, publish ParentBackground
git-svn-id: trunk@64871 -
2021-03-26 09:17:12 +00:00
bart
20bd46fcf7 TMaskEdit: override SelectAll. Reported on forum: https://forum.lazarus.freepascal.org/index.php/topic,53557.0.html
git-svn-id: trunk@64741 -
2021-03-03 17:51:57 +00:00
wp
a693251026 Publish OnContextPopup and OnResize for some controls to improve Delphi compatibility or compatibility with related controls. Issue #38453, based on patch by Reinhard Kalinke.
git-svn-id: trunk@64513 -
2021-02-09 18:40:00 +00:00
ondrej
6133721d44 TCustomLabel: DoDrawText for Delphi compatibility and for unifying size calculation and painting
git-svn-id: trunk@64173 -
2020-12-06 09:44:49 +00:00
ondrej
2031a4a842 LCL: restore TCustomEdit.GetTextHint deleted in r63730 #32e975d46c
git-svn-id: trunk@63907 -
2020-09-23 04:58:05 +00:00
juha
b8d20c837f LCL: Formatting of TCustomMemo code. Remove useless setters.
git-svn-id: trunk@63744 -
2020-08-15 09:10:06 +00:00
juha
dc8ca7a17f LCL: Restore type TEmulatedTextHintStatus. The state thsChanging was needed after all.
git-svn-id: trunk@63734 -
2020-08-13 17:34:01 +00:00
juha
728e2b9639 LCL: Move function CreateEmulatedTextHintFont to unit StdCtrls as a global function.
git-svn-id: trunk@63733 -
2020-08-13 17:33:59 +00:00
juha
0011948d52 LCL: Implement TextHint for TComboBox. Issue #30682.
git-svn-id: trunk@63731 -
2020-08-13 11:23:38 +00:00
juha
32e975d46c LCL: Formatting for TCustomEdit code. Remove useless comments.
git-svn-id: trunk@63730 -
2020-08-13 11:23:36 +00:00
juha
953b2ef2b1 LCL: Move function CreateEmulatedTextHintFont to TWinControl for future. Replace emulated hint status with a boolean.
git-svn-id: trunk@63729 -
2020-08-13 11:23:33 +00:00
juha
06d242ff81 LCL: Simplify code for emulated TEdit.TextHint.
git-svn-id: trunk@63725 -
2020-08-11 22:57:17 +00:00
juha
496414be63 LCL: Update emulated TEdit.TextHint correctly. Issue #37506.
git-svn-id: trunk@63718 -
2020-08-11 15:13:53 +00:00
bart
2dd7c76531 MaskEdit: simplify handling CharCase.
git-svn-id: trunk@63555 -
2020-07-14 09:34:26 +00:00
juha
77e76e66b8 LCL: Support WS binding for ListBox.SelectAll. New ListBox.SelectRange. Issue #36929.
git-svn-id: trunk@63329 -
2020-06-08 10:34:32 +00:00
dmitry
bc8507e6b6 lcl: adding combobox readonly back. The indentation for the property is to work like TEdit.ReadOnly preventing user from editing combobox text field by manipulating the text.
Changes by selecting combobox items are to be allowed

git-svn-id: branches/comboboxreadonly@63237 -
2020-05-28 12:46:33 +00:00
ondrej
d8adb758e5 ComboBox: implement TComboBoxStyle.SetEditBox
git-svn-id: trunk@63229 -
2020-05-26 22:42:13 +00:00
ondrej
ef8d6a825e ComboBox: implement TComboBoxStyle.IsOwnerDrawn and .IsVariable and use them instead of the in [] syntax
git-svn-id: trunk@63228 -
2020-05-26 22:25:15 +00:00
ondrej
34e6f40639 ComboBox: implement TComboBoxStyle.HasEditBox as a replacement for the old and removed TCustomComboBox.ReadOnly property
git-svn-id: trunk@63224 -
2020-05-26 21:30:13 +00:00
juha
47bfab75ef LCL: Remove also public property TCustomComboBox.ReadOnly.
git-svn-id: trunk@63112 -
2020-05-02 14:13:43 +00:00
juha
368225808a LCL: Remove deprecated TComboBox.ReadOnly.
git-svn-id: trunk@63110 -
2020-05-01 21:12:54 +00:00
dmitry
8bcb4c3d6f lcl: moving RegisterPropertyToSkip from unit initialization to WSRegisterClass methods
git-svn-id: trunk@62581 -
2020-01-23 15:28:39 +00:00
juha
065d7f1e25 LCL: Change selection properly when setting TListBox.ItemIndex. Issue #34967, patch from Denis Kozlov.
git-svn-id: trunk@62312 -
2019-11-28 20:39:42 +00:00
michl
71a9406fd6 LCL: TComboBox: Fixed invisible mouse. Issue #34913
git-svn-id: trunk@60126 -
2019-01-20 21:39:36 +00:00
juha
5c4bd12dd3 LCL: Publish OnMouseWheelHorz/Left/Right events for most controls. Issue #34683, patch from AlexeyT.
git-svn-id: trunk@59801 -
2018-12-12 11:33:10 +00:00
mattias
59036dc723 lcl: fixed TComboBox.ReadOnly deprecated text
git-svn-id: trunk@59467 -
2018-11-06 10:46:55 +00:00
michl
e355e20721 LCL: TComboBox: Fixed OnEditingDone is fired twice when pressing ENTER. Issue #33992
git-svn-id: trunk@59184 -
2018-09-29 19:40:13 +00:00
wp
7bcf1cc533 LCL: Fix TCustomListbox not releasing Canvas handle in DestroyWnd (issue #34249).
git-svn-id: trunk@59094 -
2018-09-20 10:47:53 +00:00
ondrej
0c5181bf67 Revert r58337 and r58339 #e887c43e0d
git-svn-id: trunk@58346 -
2018-06-19 20:04:57 +00:00
ondrej
f1b3d3f742 LCL: call OnEditingDone (DoEditingDone) only if something changed
git-svn-id: trunk@58337 -
2018-06-19 17:11:31 +00:00
ondrej
7a057f2206 LCL: memo: handle keys in LM_GETDLGCODE selectively
git-svn-id: trunk@58258 -
2018-06-14 09:55:05 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
f440f660a2 Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
ondrej
70b731c254 LCL: publish DoubleBuffered & ParentDoubleBuffered
git-svn-id: trunk@58099 -
2018-06-03 20:36:08 +00:00
ondrej
3ce2d72ef3 LCL: TCustomEdit: add OnChange handler list
git-svn-id: trunk@56721 -
2017-12-14 14:15:34 +00:00
juha
c4f8616371 LCL: Change a counter to boolean FTextChangedLock, used for firing events right. Issue #32630.
git-svn-id: trunk@56489 -
2017-11-24 20:44:02 +00:00
juha
c645377b97 LCL: Unpublish TEdit.Action. Issue #31339, patch from AlexeyT.
git-svn-id: trunk@56425 -
2017-11-17 12:07:47 +00:00
bart
c3f41244e0 Revert r56181 #c5637ad72a (Fix firing an OnChange and setting Modified when setting Text inside OnChange and new Text = old Text. Issue #0032602.) It causes a regression.
git-svn-id: trunk@56353 -
2017-11-10 21:04:34 +00:00
ondrej
251aa8f6fe lcl: edit: don't call OnEditingDone if ReadOnly
git-svn-id: trunk@56338 -
2017-11-08 17:40:24 +00:00
juha
b5b61d1a93 LCL: Prevent TCustomEdit.OnChange firing extra time when CharCase is ecLowerCase or ecUpperCase. Issue #32630, patch from accorp.
git-svn-id: trunk@56288 -
2017-11-05 21:48:13 +00:00
bart
c5637ad72a Fix firing an OnChange and setting Modified when setting Text inside OnChange and new Text = old Text. Issue #0032602.
git-svn-id: trunk@56181 -
2017-10-25 09:26:50 +00:00
ondrej
bdb91bdc6d lcl: edit: force show texthint in InitializeWnd. issue #32053
git-svn-id: trunk@55716 -
2017-08-20 12:17:57 +00:00
ondrej
380e645438 LCL: remove deprecated methods and properties (that were tagged to be removed in 1.9)
git-svn-id: trunk@55713 -
2017-08-20 10:25:04 +00:00
ondrej
c68b93c58e lcl: combo box: add new styles csOwnerDrawEditableFixed and csOwnerDrawEditableVariable as replacement for the old ReadOnly property
git-svn-id: trunk@55245 -
2017-06-05 19:27:43 +00:00
ondrej
9a9e336851 LCL: combo box: deprecate ReadOnly property
git-svn-id: trunk@55243 -
2017-06-05 19:07:31 +00:00
ondrej
48dbf5c56d LCL: listbox: fix default value for Options
git-svn-id: trunk@55126 -
2017-05-30 14:54:05 +00:00