Commit Graph

64 Commits

Author SHA1 Message Date
wp_xyz
0cbb6646f7 LCL/all units with controls: stream events at the end. 2023-08-12 14:55:46 +02:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
Ondrej Pokorny
624ef51567 LCL Spin: fix case of Integer/string types 2022-01-06 14:16:30 +01:00
Bart
603fb72945 T(Float)SpinEdit: update the control in EditingDone so that text matches Value. Reported by Jamie in https://forum.lazarus.freepascal.org/index.php/topic,57722.msg429596.html#msg429596 2022-01-05 12:33:17 +01:00
Bart
2befd9dd7f T(Float)SpinEdit: make Modified have the correct value in OnChange as well. 2021-10-03 21:41:34 +02:00
bart
a148676b51 T(Float)SpinEdit: implement property EditorEnabled. ATM win32/64 and wince only. Issue #0038736.
git-svn-id: trunk@64989 -
2021-04-14 07:25:00 +00:00
bart
10281c7773 T(Float)SpinEdit: set default Value of MaxValue to 0. This is compaitble with the behaviour of SPinEdit in Delphi. Issue #0038738.
git-svn-id: trunk@64972 -
2021-04-11 16:51:39 +00:00
bart
96eee65d5d LCL: override TSpinEdit.GetLimitedValue so it cannot return values outside the integer range. Issue #0032793.
git-svn-id: trunk@61945 -
2019-09-29 10:21:16 +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
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
juha
3884b8e05a LCL: Publish TSpinEdit/TFloatSpinEdit property ParentColor. Issue #31325.
git-svn-id: trunk@54064 -
2017-02-02 10:29:59 +00:00
ondrej
e9bfcc0273 SpinEdit: support setting Text property
git-svn-id: trunk@53159 -
2016-10-19 10:25:58 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
bart
584ecebfa4 T(Float)SpinEdit: publish property alignment (issue #0024633).
git-svn-id: trunk@41805 -
2013-06-22 15:47:32 +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
6bad21a6c1 LCL: Change many SpinEdit methods to virtual. Issue #20948, patch from Matthieu GIROUX
git-svn-id: trunk@34892 -
2012-01-24 10:33:44 +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
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
e486ddaa54 lcl: cleanup
git-svn-id: trunk@19284 -
2009-04-09 08:03:03 +00:00
paul
8efd11f44a lcl: remove fpc bug workaround from the spinedit code
git-svn-id: trunk@19177 -
2009-04-01 09:02:06 +00:00
vincents
53ae6ccd14 LCL: published TSpinEdit.Color, Color is published for TEdit too (issue #13159)
git-svn-id: trunk@18659 -
2009-02-13 09:44:33 +00:00
paul
0428d40d04 lcl: TFloatSpinEdit should not accept "invalid keys" as input, patch of Bart Broersma (mantis #0013045)
git-svn-id: trunk@18456 -
2009-01-27 03:42:55 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
3374c666b8 lcl: publish OnUTF8KeyPress
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +00:00
vincents
dcaa111227 LCL: FloatSpinEdit uses double for internal representation, so that the full range of 32 bits integer can be represented without rounding problems (fixes #10844)
git-svn-id: trunk@15835 -
2008-07-22 10:01:50 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
0db79d0c37 LCL: published T(Float)SpinEdit.Font and ParentFont, reportedly they are working (bug #8549)
git-svn-id: trunk@14933 -
2008-04-23 07:16:46 +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
tombo
9a4689733f GTK2 intf: Fixed spin edit bug #0009253 and #0009205 from Valdas Janknas
git-svn-id: trunk@11587 -
2007-07-21 12:15:17 +00:00
tombo
efa8463c35 LCL T(Float)SpinEdit: Single properties storing
git-svn-id: trunk@11398 -
2007-06-28 16:18:05 +00:00
tombo
52ce9136d3 LCL T(Float)SpinEdit: improved (GTK1/2, Win32), added ReadOnly, AutoSelect
git-svn-id: trunk@11396 -
2007-06-28 12:59:31 +00:00
tombo
5bcdc4373e LCL: - derived T(Float)SpinEdit from TCustomEdit to remove redundant code
- removed obsolete TSpinEdit.ClimbRate

git-svn-id: trunk@11205 -
2007-05-26 09:57:11 +00:00
vincents
5bee5ec659 LCL: fixed getting TSpinEdit.Caption before the handle has been created (bug #2075)
git-svn-id: trunk@10547 -
2007-01-31 12:22:36 +00:00
mattias
b8e285a693 gtk2 intf: added gdkwindows for client widgets: gtk_fixed_new
git-svn-id: trunk@10120 -
2006-10-28 15:07:08 +00:00
mattias
41f5aae4d5 published TSpinEdit.OnEditingDone
git-svn-id: trunk@9609 -
2006-07-14 15:38:12 +00:00
mattias
cb27ed406f TObjectInspector: fixed updating LookupRoot without selection change
git-svn-id: trunk@9474 -
2006-06-22 03:33:40 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
micha
9793627ce5 implement float spinedit for win32 (issue #1386)
git-svn-id: trunk@8139 -
2005-11-12 23:02:05 +00:00
vincents
836eadc235 replaced DestroyComponent to FinalizeWnd as mirror image of InitializeWnd (fixes issue #1327)
git-svn-id: trunk@8042 -
2005-11-02 21:33:15 +00:00
mattias
9228d5cd07 renamed TSpinEdit to TFloatSpinEdit and added new TSpinEdit with integers
git-svn-id: trunk@7781 -
2005-09-22 08:59:42 +00:00
mattias
aac6d79b71 TBitBtn now calls AdjustSize on change
git-svn-id: trunk@7748 -
2005-09-19 22:07:12 +00:00
marc
5a6ae1d91c - Removed underscores from properties
git-svn-id: trunk@7071 -
2005-04-12 21:21:11 +00:00
micha
004ed4fa3e tabstop default for focusable controls is true (spinedit)
git-svn-id: trunk@6966 -
2005-03-16 16:14:50 +00:00
mattias
be9331e1ba added showing all four sides to AnchorEditor
git-svn-id: trunk@6620 -
2005-01-17 11:53:39 +00:00
mattias
c49518c55c published BorderSpacing for many controls
git-svn-id: trunk@6429 -
2004-12-27 19:40:59 +00:00
mattias
6a9d72cbda fixed compiler options interface double variables
git-svn-id: trunk@6133 -
2004-10-12 08:23:20 +00:00
micha
12e184b13e convert lcl messages to new interface using methods: LM_{G,S}ETSELSTART, LM_{G,S}ETSELLEN, LM_{G,S}ETLIMITTEXT
git-svn-id: trunk@5930 -
2004-09-07 09:44:46 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00