Commit Graph

68 Commits

Author SHA1 Message Date
bart
cdfd1ae57a TUpDown: use the MouseEnter/MouseLeave methods to fire the OnMouseEnter and OnMouseLeave events. Slightly alters r64151 #6a41fe9801.
git-svn-id: trunk@64369 -
2021-01-09 21:45:16 +00:00
wp
4f5bfef839 LCL/UpDown: Fix crash when mouse enters the space between the up/down buttons of a T(Float)SpinEditEx. Related to issue #38101.
git-svn-id: trunk@64357 -
2021-01-08 21:25:43 +00:00
juha
6a41fe9801 LCL: Fire TUpDown MouseEnter and MouseLeave events. Issue #38101.
git-svn-id: trunk@64151 -
2020-11-20 10:52:19 +00:00
bart
0681ea5adc LCL: fix OnMouseDown/OnMouseUp for TUpDown. Issue #0038099.
git-svn-id: trunk@64147 -
2020-11-18 16:32:05 +00:00
dmitry
2e9c4bde38 cocoa: update setting enable for UpDown controls. #35531
git-svn-id: trunk@61169 -
2019-05-07 02:53:38 +00:00
dmitry
94fcd9ed54 lcl: update TUpDown WS implementation - setting up the initial Min value
git-svn-id: trunk@61063 -
2019-04-26 13:42:31 +00:00
dmitry
73e6567b0f lcl: resolve the use of missing Min and Max buttons if WS implementation is used for TUpDown. #34663
git-svn-id: trunk@60969 -
2019-04-14 07:14:00 +00:00
dmitry
3d2a723a44 lcl: updating TCustomUpDown to use WS interface, if provided. #34663
git-svn-id: trunk@60966 -
2019-04-14 06:52:26 +00:00
bart
c39afc12ce TUpDown:
- fix bug in GetPosition (negative numbers were treated as invalid)
- reduce number of calls to TCustomUpDown.GetPosition in TUpDownButton.Click
Resolves issue #0035209

git-svn-id: trunk@60663 -
2019-03-13 11:02:09 +00:00
juha
fe589cfb05 LCL: Add horizontal mouse wheel support for TUpDown control. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56694 -
2017-12-11 19:44:39 +00:00
bart
17119e1fa0 TUpDown: Handle MouseWheel (over Self, not over Associate). Delphi does not, but it's a nice improvement.
git-svn-id: trunk@55115 -
2017-05-28 10:40:13 +00:00
bart
e20d29ad4e TUpDown: Handle MouseWheel of Associate. Issue #0031868.
git-svn-id: trunk@55114 -
2017-05-28 10:31:09 +00:00
bart
cd2672eb03 UpDown: revert revision 54974 #bf69b8e9d5, because it seems to be wrong and introduces another Delphi incompatibility.
git-svn-id: trunk@55014 -
2017-05-19 16:33:53 +00:00
bart
bf69b8e9d5 UpDown: make mousewheel above the control increment/decrement the associated control. Issue #0031868.
git-svn-id: trunk@54974 -
2017-05-18 17:02:18 +00:00
ondrej
bc17ed1345 lcl: updown: add flat property.
git-svn-id: trunk@51966 -
2016-03-17 06:57:22 +00:00
bart
7dfb0bf8fc TUpDown: call inherited MouseDown/Up. Resolves Issue #0029660.
git-svn-id: trunk@51640 -
2016-02-16 16:51:09 +00:00
bart
a6eb71dd7f TUpDown: implement property MinRepeatInterval.
git-svn-id: trunk@51300 -
2016-01-15 14:17:48 +00:00
juha
fdde7f3583 LCL: Make TUpDown.ArrowKeys work. Issue #28537, patch from Denis Kozlov.
git-svn-id: trunk@49726 -
2015-08-29 11:59:12 +00:00
mattias
b66981ff3e lcl: TUpDown: override DoSetBounds to resize Min/MaxBtn within update lock
git-svn-id: trunk@46776 -
2014-11-07 10:37:19 +00:00
mattias
7a9d869af0 lcl: TUpDown: implemented preferred size
git-svn-id: trunk@46774 -
2014-11-07 10:18:34 +00:00
mattias
5ebadd515f LCL: TUpDown: override directly instead of indirect via events
git-svn-id: trunk@46772 -
2014-11-07 10:02:46 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
jesus
f8463d9cc9 LCL, fix TUpDown bounds which may cause disappearing of button on some sizes, issue #23941
git-svn-id: trunk@40435 -
2013-02-27 16:40:28 +00:00
mattias
f8c92431ec TUpDown: nicer UpdateOrientation filling up
git-svn-id: trunk@40189 -
2013-02-05 09:12:31 +00:00
mattias
2eb5e390be TUpDown: fixed unconnecting associate on free, independent if handle is allocated
git-svn-id: trunk@40188 -
2013-02-05 09:09:27 +00:00
mattias
2f4f9f1f8f TUpDown: clean up, fixed UpdateOrientation filling up
git-svn-id: trunk@40187 -
2013-02-05 09:08:38 +00:00
juha
1c2007119b LCL: Fix direction value in TUpDownButton.ChangingEx event. Issue #23567, patch from René Hülswitt
git-svn-id: trunk@39732 -
2013-01-02 17:40:30 +00:00
marc
c863866c4b lcl: Add up/down control OnChangingEx event
git-svn-id: trunk@34471 -
2011-12-28 17:35:19 +00:00
juha
71f1c25189 LCL: UpDown control's Visible and Enabled follow the associated control. Issue #20301, patch from Silvio Clécio
git-svn-id: trunk@32466 -
2011-09-23 08:41:38 +00:00
juha
a5e1656dfb LCL: Change button color when enabling/disabling TUpDown. Patch from Anton, issue #18913
git-svn-id: trunk@30472 -
2011-04-25 20:39:44 +00:00
paul
57daf59d6e lcl: use DefaultFormatSettings to prevent deprecated message generation
git-svn-id: trunk@28588 -
2010-12-02 07:21:19 +00:00
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
mattias
26c3fe503f LCL: TCustomUpDown: using KeyDown event handler instead of OnKeyDown
git-svn-id: trunk@22151 -
2009-10-13 20:15:54 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
6e2e2c1ff2 lcl: update visibility of methods to prevent compiler warnings
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
  - move some descendants methods from lower visibility to higher
  - fix use of protected KeyDown, Paint inside few ide units

git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
mattias
6264aac23c LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
mattias
f4eaf90e42 undo
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885 translations: german: added lazreport maincalleditor.de.po from Joerg Braun
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
mattias
be22076c7a LCL: TCustomUpDown remving old csPanel and using default of TCustomControl ancestor
git-svn-id: trunk@11849 -
2007-08-23 13:28:31 +00:00
vincents
82e647b24a LCL: set UpDown Orientation before adding the TUpDownButtons, fixes issue #7855.
git-svn-id: trunk@10225 -
2006-11-21 14:19:24 +00:00
vincents
5a325e1788 lcl: updown buttons are not selectable in designer (bug #7822)
git-svn-id: trunk@10204 -
2006-11-15 07:22:07 +00:00
mattias
7bb113cec8 fixed a few fpc 2.1.1 incompatibilities
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
34ada0cc60 removed fpc 2.1.1 workaround, fpc has now an int64 overload of FloatToStrF
git-svn-id: trunk@8686 -
2006-02-02 12:42:26 +00:00
vincents
0ecb485c10 fixed compilation with fpc 2.1.1
git-svn-id: trunk@8683 -
2006-02-01 21:22:54 +00:00
mattias
4c8073cce8 fixed name conflict
git-svn-id: trunk@6805 -
2005-02-18 18:25:57 +00:00
mattias
c8265c8eec improvements for TUpDown from Pawel
git-svn-id: trunk@6797 -
2005-02-17 19:41:16 +00:00