Maxim Ganetsky
255bdd2bb0
Revert "LCL: Add an option to NOT call TCheckbox OnChange handler when clicked. Issue #39870 , patch by Arioch The."
...
This reverts commit 9f577dc548
.
Reasons:
1. The logic of VCL_OnClick_Emulation flag (or its name) is wrong: when it is true, OnChange event gets called LCL-style (note that VCL does not have OnChange event).
2. Having such flag is unsafe: e.g. some used unit can disable it and checkboxes in the whole program will _silently_ change their behavior.
3. The code claimed as a reason for introducing this change does not work in Delphi too.
Such Delphi compatibility issues should be handled another way.
2023-07-14 03:00:19 +03:00
Juha
74446557f6
Remove old deprecated functions and units.
2023-06-15 02:35:52 +03:00
rich2014
6d9db64d24
LCL/TCustomComboBox: CaseSensitive supported in RealSetText()
2023-06-14 23:43:42 +08:00
Ondrej Pokorny
f1b3d0ca11
Revert "lcl: label: change left when making label visible for right-aligned autosized label. issue #21898 "
...
This reverts commit 369b6b255e
.
2022-11-30 10:16:12 +01:00
Ondrej Pokorny
369b6b255e
lcl: label: change left when making label visible for right-aligned autosized label. issue #21898
2022-11-27 19:18:45 +01:00
Ondrej Pokorny
75ebb1fc4a
* lcl control: use only ColorIsStored for Color - no other default value (see 1837c65413
)
2022-11-21 12:06:22 +01:00
Juha
9f577dc548
LCL: Add an option to NOT call TCheckbox OnChange handler when clicked. Issue #39870 , patch by Arioch The.
2022-09-18 21:31:59 +03:00
Martok
e4043024da
lcl, win32: move TCustomCheckListBox WS specific settings to WS implementataion
...
Other widgetsets use widgets with builtin check support, no need to have
ownerdraw details in the LCL class
+ publish OnMeasureItem, it can now be used like TCustomListBox
2022-08-30 02:29:36 +03:00
Ondrej Pokorny
1837c65413
lcl TLabel: unbind Color and Transparent to fix ParentColor issues (fixes)
2022-05-03 20:42:26 +02:00
Ondrej Pokorny
4ffce1ec8f
lcl TLabel: unbind Color and Transparent to fix ParentColor issues
2022-05-03 09:39:24 +02:00
wp_xyz
201075cbd8
LCL: Make procedure RotateRect() (local to customlabel.inc) publicly available in GraphMath.
2022-03-13 15:41:48 +01:00
michl
b0f6b29ad8
LCL: Label.ParentColor stored default True. Revert 53362c37
. Issue #38976
2022-03-09 08:23:01 +01:00
Jesus Reyes A
fef094c56f
LCL: Fix updating list dataset on dblookupcombobox on selection or autocomplete, issue #39343
2021-08-29 00:49:48 -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