wp_xyz
117df60bf4
T(Float)SpinEditEx: Add property Orientation for horizontal arrangement of spin buttons.
2023-01-20 22:11:06 +01:00
Bart
bcda2c2047
SpinEx: let drived classes always implement SameValue, since it's wrong to use Math.SameValue on integer types. Also resolves #39792 and #39793 .
2022-09-21 10:41:12 +02:00
Bart
05531f1071
TFloatSpinEditEx: revert changes made in #95cfa51d, since it refuses to compile on MacOS en Linux 64 bit.
2022-09-18 11:46:34 +02:00
Bart
95cfa51d1b
TFloatSpinEdit(Ex): fix crash in OI when setting MaxValue/MinValue/Increment. Issue #39792 .
2022-09-17 19:03:18 +02:00
Bart
a80c5252e0
TFloatSpinEditEx: don't publish property NumbersOnly. It is useless for this control and confuses users.
2022-01-19 13:50:38 +01:00
wp_xyz
171f18dd75
LazControls/SpinEditExBase: Clearer defines for issue #39490 workaround.
2021-11-28 22:05:16 +01:00
wp_xyz
5523c58bc9
LazControls/TSpinEditExBase: IFDEF the previous commit (workaround for an already solved FPC bug). Issue #39490/39491.
2021-11-27 21:53:53 +01:00
wp_xyz
7f45938388
LazControls/SpinEditExBase: Fix compilation issue with FPC 3.2.0. Issue #39491 .
2021-11-27 11:18:23 +01:00
wp_xyz
182cc8b8e6
LazControls/SpinEditExBase: Add virtual method SameValue() to fix compilation issue on Win/x64 for a currency descendant. Issue #39490 .
2021-11-27 00:30:47 +01:00
Bart
e868afe133
T(Float)SpinEditEx: set make sure Modified is correct in OnChange event as well.
2021-10-03 16:22:04 +02:00
Bart
2e98d119cc
T(Float)SpinEditEx: set Modified to False if Value is set programmatically.
2021-10-03 12:37:26 +02:00
bart
05664128ac
T(Float)SpinEditEx: don't enforce MaxValue >= MinValue in UpdateControl. Related to issue #0038810 .
...
git-svn-id: trunk@65065 -
2021-04-27 21:25:02 +00:00
bart
b13a85dc22
T(Float)SpinEditEx: fix a comment
...
git-svn-id: trunk@64970 -
2021-04-11 16:40:23 +00:00
bart
52dc4d2bd5
T(Float)SpinEditEx: remove property EditorEnabled, since it duplicates DirectInput property (which I forgot...)
...
git-svn-id: trunk@64968 -
2021-04-11 16:24:32 +00:00
bart
8c6dd0ff09
T(Float)SpinEditEx: implement property EditorEnabled.
...
git-svn-id: trunk@64953 -
2021-04-10 21:49:10 +00:00
bart
f5663f4a16
T(Float)SpinEditEx: disable changing the value with ArrowKeys if control is ReadOnly.
...
git-svn-id: trunk@64952 -
2021-04-10 21:13:59 +00:00
wp
0e725023a2
LazControls: Undo r64326 and r64334, obsolete after recent fixes in fpc (r48089 and r48088 #6c7790212c)
...
git-svn-id: trunk@64344 -
2021-01-06 19:06:32 +00:00
wp
858cdf7813
LCL/SpinEdit: Do not store default MinValue in lfm.
...
git-svn-id: trunk@64335 -
2021-01-04 19:45:25 +00:00
wp
a25bbfe7d2
LazControls/SpinEditEx: Fix compilation issue to work also for FPC 3.2
...
git-svn-id: trunk@64334 -
2021-01-04 18:58:59 +00:00
wp
47719157fe
LazControls: Fix compilation issue related to generics and SameValue() on 64-bit platform (thanks to Ondrej).
...
git-svn-id: trunk@64326 -
2021-01-04 13:38:20 +00:00
bart
edf33e5e21
SpinEx: don't call KeyAllowed twice in TCustomFloatSpinEditEx.EditKeyPress.
...
git-svn-id: trunk@63805 -
2020-08-22 16:52:56 +00:00
bart
0d5d33c3d7
SpinEx: make it easier to override what is allowed to type in the control.
...
git-svn-id: trunk@63804 -
2020-08-22 16:23:16 +00:00
bart
e73e881289
SpinEx: don't call inherited KeyPress twice in TCustomSpinEditEx.EditKeyPress.
...
git-svn-id: trunk@63795 -
2020-08-19 19:45:47 +00:00
bart
ff62abace0
SpinEx: allow to read the inernal formatsettings of TCustomFloatSpinEditEx (needed for derived controls).
...
git-svn-id: trunk@63754 -
2020-08-16 13:47:24 +00:00
bart
3169d3729b
SpinEx: minor optimization in StrToValue;
...
git-svn-id: trunk@63723 -
2020-08-11 21:19:21 +00:00
bart
4e07f19407
SpinEx: move StrToValue to the base class.
...
git-svn-id: trunk@63713 -
2020-08-10 21:14:02 +00:00
bart
d61c0bfbeb
LazControls: implement new DisplayMode dmAutoZeroFixed for TFloatSpinEditEx. Display zero as '0.00' instead of 0.00E+00.
...
git-svn-id: trunk@63712 -
2020-08-10 14:16:25 +00:00
bart
fabfd9c5f0
LazControls: implement property DisplayMode for TFloatSpinEditEx. Remove property UseScientificNotation. As proposed by wp.
...
git-svn-id: trunk@63705 -
2020-08-09 11:18:48 +00:00
bart
2687b936ed
LazControls: implement property ExponentDigits for TFloatSpinEditEx.
...
git-svn-id: trunk@63701 -
2020-08-08 21:40:27 +00:00
bart
c5e931129d
LazControls: fix TFloatSpinEditEx.ValueToStr.
...
git-svn-id: trunk@63700 -
2020-08-08 21:12:54 +00:00
bart
e6dcde11e5
LazControls: allow the use of a thousandseparator in TSpinEditEx.
...
git-svn-id: trunk@63699 -
2020-08-08 14:53:21 +00:00
bart
312ee0974d
LazControls: allow display text in scientific notation in TFloatSpinEditEx.
...
git-svn-id: trunk@63698 -
2020-08-08 12:31:28 +00:00
bart
f45054d487
LazControls: allow input in scientific notation in TFloatSpinEditEx.
...
git-svn-id: trunk@63697 -
2020-08-07 20:46:09 +00:00
bart
5a23656f23
TFloatSpinEditEx:
...
- When incrementing DecimalPlaces first truncate FValue to the correct current DecimalPlaces. Issue #0034370 .
- DecimalPlaces cannot be < 0
git-svn-id: trunk@59332 -
2018-10-21 13:27:12 +00:00
bart
36249db121
TSpinEditEx: don't set NumbersOnly to True. It disallows users to type a '-' (at least on Windows)
...
git-svn-id: trunk@58355 -
2018-06-20 16:52:41 +00:00
ondrej
843f2cd278
SpinEditEx: set NumbersOnly to true in constructor to comply with its default value
...
git-svn-id: trunk@58349 -
2018-06-20 06:30:24 +00:00
juha
1b7b85692b
LCL: Improve SpinEditEx controls and their UpDownVisible property.
...
git-svn-id: trunk@58347 -
2018-06-19 22:42:51 +00:00
juha
24756e40d1
LazControls: Add property UpDownVisible to SpinEditEx controls.
...
git-svn-id: trunk@58322 -
2018-06-19 08:04:04 +00:00
ondrej
81bee86e42
LCL: float spin (ex): fix streaming of Increment and MaxValue properties in FPC trunk. Issue #33567
...
git-svn-id: trunk@57605 -
2018-04-05 10:19:34 +00:00
bart
ae0e9976a3
LazControls: Prevent overflow in T(Float)SpinEditEx.
...
git-svn-id: trunk@56666 -
2017-12-07 21:28:44 +00:00
bart
eae4efc5bd
LazControls: Make TSpinEditEx support Int64 values. TSpinEditEx does not inherit from TFloatSpinEditEx anymore. Issue #0032747 .
...
git-svn-id: trunk@56645 -
2017-12-05 22:04:25 +00:00
ondrej
41299ef7d0
LCL: revert r56162, r56031, r55890 #9ac706fc7a (TabStop handling)
...
git-svn-id: trunk@56344 -
2017-11-10 08:19:00 +00:00
michl
f9cb151061
LCL: Fixed TSpinEditEx Focus on Tab Click doesn't work. Issue #32601
...
git-svn-id: trunk@56162 -
2017-10-23 09:19:46 +00:00
bart
d396b86379
SpinEditEx: implement increment/decrement with mousewheel.
...
git-svn-id: trunk@55023 -
2017-05-20 11:53:38 +00:00
ondrej
190e5160f3
lcl: groupededit: use RealGetText/RealSetText overriden methods instead of new GetText/SetText to make use of TControl.Text property.
...
git-svn-id: trunk@52147 -
2016-04-08 11:05:53 +00:00
bart
4ba9348f7b
LazControls: T(Float)SpinEditEx: implement property MinRepeatValue.
...
git-svn-id: trunk@51301 -
2016-01-15 14:29:30 +00:00
bart
feaa04bd41
LazControls; Start T(Float)SpinEditEx.
...
Note: the GroupedEdit unit goes into LCLbase, since this can be used as the new baseclass for TEditButton.
git-svn-id: trunk@51265 -
2016-01-13 11:40:39 +00:00