Commit Graph

70 Commits

Author SHA1 Message Date
mattias
4a1f602815 LCL: TControl.Click: do not call OnClick if Action.OnExecute=OnClick, call Action.Execute always on click, fixed TCustomCheckBox LM_CHANGED action trigger
git-svn-id: trunk@41682 -
2013-06-11 22:29:23 +00:00
mattias
b2aea83c77 LCL: TCUstomCheckBox: change Action.Checked on LM_CHANGED
git-svn-id: trunk@41681 -
2013-06-11 21:22:58 +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
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e6e7a17b8 LCL: rename Menus.Shortcut function back to its Delphi compatible name.
git-svn-id: trunk@29859 -
2011-03-15 18:16:38 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
blikblum
69b2b72516 lcl: move RegisterPropertyToSkip calls to Register* procedures or unit initialization so it's called only once and not on every component created
git-svn-id: trunk@27070 -
2010-08-12 12:24:11 +00:00
blikblum
4a9091c3a2 lcl: don't publish TRadioButton State and AllowGrayed properties: Delphi compatible.
separate TCustomCheckBox/TCheckBox constructors to avoid double setting of AutoSize/TabStop in TToggleBox/TRadioButton

git-svn-id: trunk@27055 -
2010-08-10 20:12:40 +00:00
blikblum
1aa796b724 lcl: remove workarounds to recursive LM_CHANGE calls, since it was fixed fixed in rev 27050 #8d7d250608 and 27051:
- don't toggle TRadioButton siblings state since this is done by widgetset;  
 - remove FLastCheckedOnChange; 
 - call OnChange only if State was really changed by widgetset 
 - Dont set Checked property in Click
Part of 0017139 and 0017104

git-svn-id: trunk@27053 -
2010-08-10 17:02:07 +00:00
paul
d5c10dfaa2 lcl: don't trigger the onClick event for the unchecked radio buttons (bug #0014989)
git-svn-id: trunk@26761 -
2010-07-21 08:03:19 +00:00
paul
7686d846ed lcl, win32, wince: move button controls flags into CreateParams methods
git-svn-id: trunk@25473 -
2010-05-17 01:10:18 +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
2dfb22d93e lcl: apply patch of Juha Manninen which registers more VCL compatibility properties which LCL should skip while reading
git-svn-id: trunk@24327 -
2010-04-01 00:49:45 +00:00
paul
cffb63915e lcl: fix sibling radio buttons check state on unchecked radio button click (bug #0013939)
git-svn-id: trunk@20564 -
2009-06-10 03:05:32 +00:00
jesus
84cead9009 LCL, custom handling of checkbox states (windows, this enables the use of allowgrayed without cbGrayed state, specially useful for dbcheckbox), fix cbGrayed state under gtk2
git-svn-id: trunk@20012 -
2009-05-17 17:00:47 +00:00
jesus
a849d36c9a LCL, changing AllowGrayed at runtime has no effect (windows), fixed
git-svn-id: trunk@19892 -
2009-05-10 03:34:08 +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
14a26422f9 lcl: formatting
git-svn-id: trunk@18552 -
2009-02-04 08:03:37 +00:00
paul
6eccca7842 lcl: button changes
- set TabStop = Checked on radio button checked change (delphi compatibility) 
  - move LM_CLICKED handler from TCustomButton to TButtonControl
  - change TRadioGroup TabStop back to false
win32: pass LM_CLICKED for TButtonControls, remove unneeded code
(fixes #0012855, #0012689 ?)

git-svn-id: trunk@18426 -
2009-01-24 19:38:02 +00:00
paul
3d0838c488 lcl: start removal of TButtonControl.UseOnChange
git-svn-id: trunk@17738 -
2008-12-09 02:29:24 +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
640c672c38 lcl: don't terminate application if mainform modalresult = mrCancel (issue #0009585)
git-svn-id: trunk@14545 -
2008-03-16 08:27:39 +00:00
mattias
0323db74dc LCL: fixed calling AdjustSize when TCheckBox.Caption changed
git-svn-id: trunk@13646 -
2008-01-05 23:35:49 +00:00
paul
a2c91cf4a1 fix: checkbox click: was called more than needed in one case and was not called at all in another
git-svn-id: trunk@12541 -
2007-10-21 06:00:46 +00:00
mattias
b2748c46db openglcontrol gtk2: reduced debugging output, fixed crash on destroy
git-svn-id: trunk@12479 -
2007-10-15 22:00:28 +00:00
paul
19df9e9b0f lcl: fix OnClick, OnChange event sequence for TCustomCheckBox (now must be identical on all widgetsets)
git-svn-id: trunk@12474 -
2007-10-15 11:18:13 +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
paul
8dca013550 lcl: change formatting a bit
git-svn-id: trunk@12248 -
2007-09-30 03:45:45 +00:00
paul
df48056fc0 LCL: fix shortcut handling for TButton and TCheckBox
git-svn-id: trunk@12133 -
2007-09-22 12:54:48 +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
909bde3051 fixed TRadioButton updating sibling buttons, when no handles are created
git-svn-id: trunk@9579 -
2006-07-10 00:31:40 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
vincents
a0311c2cba removed cvs logs
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
micha
76838c6238 fix inability to uncheck checkbox
git-svn-id: trunk@7508 -
2005-08-16 09:27:22 +00:00
micha
2bfef4ae8e implement/fix button/label shortcut accelchar handling
git-svn-id: trunk@7108 -
2005-04-27 12:37:28 +00:00
micha
fbde65eae3 customcheckbox: do not unnecessarily ask state twice
first let widget process BM_SETCHECK, so we do not see itemindex=-1 in between

git-svn-id: trunk@7062 -
2005-04-06 10:43:40 +00:00
mattias
49190601ad fixed componentpalette adding via double click
git-svn-id: trunk@6826 -
2005-02-21 20:15:28 +00:00
mattias
b2b2743b38 fixed TColorButton.Paint
git-svn-id: trunk@6676 -
2005-01-24 12:23:11 +00:00
marc
294f1041bd * Fixed and clearified loaded
git-svn-id: trunk@6581 -
2005-01-13 23:37:33 +00:00
vincents
73ba16e348 TCustomCheckBox.AllowGray defaults to false.
git-svn-id: trunk@6540 -
2005-01-11 13:25:23 +00:00
mattias
965c1e6b30 fixed loading TRadioButton.Checked
git-svn-id: trunk@6452 -
2005-01-01 19:36:40 +00:00
mattias
8960dd3810 implemented preferred size for controls for theme depending AutoSizing
git-svn-id: trunk@6189 -
2004-11-03 14:18:36 +00:00
micha
b1a4a3dab4 convert LM_SETVALUE message to interface methods
git-svn-id: trunk@6032 -
2004-09-19 18:50:28 +00:00
micha
559f264877 convert LM_GETVALUE message to interface method
git-svn-id: trunk@6029 -
2004-09-18 17:07:58 +00:00
micha
4c7a853aca convert LM_SHORTCUT message to interface methods
git-svn-id: trunk@6018 -
2004-09-17 10:56:26 +00:00
mattias
116c988455 added RTTI controls
git-svn-id: trunk@5687 -
2004-07-16 21:49:00 +00:00
mattias
587f9c2420 added Delphi ToDo support, Application.WndProc, small bugfixes from Colin
git-svn-id: trunk@5664 -
2004-07-10 18:17:30 +00:00
mattias
caf487c9e8 implemented OnChange for TRadioButton, TCheckBox, TToggleBox and some more docking stuff
git-svn-id: trunk@5531 -
2004-05-30 14:02:31 +00:00