Commit Graph

59 Commits

Author SHA1 Message Date
ccc4ec4db1 ExCtrls: Add unit ExImgList containing routines for creating a disabled imagelist for TToolbar.DisabledImages, and for recoloring monochrome outline icons. Based on patch by Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8587 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-05 22:35:21 +00:00
960452948f ExCtrls: Split off designtime package. Add float property editor for usage in TFloatSISpinEditEx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8586 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-04 16:27:49 +00:00
d54c06b420 ExCtrls: Fix LCL version directive for adding "override" to TCustomCurrSpinEditEx.SameValue.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8506 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-01 17:11:58 +00:00
6e67883573 ExCtrls: One more check for SameValue bug, compilation with FPC 3.2.0 on macOS.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8505 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-01 14:01:58 +00:00
17cb4d1473 ExCtrls: Version checks for CurrencyEditEx.SameValue.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8504 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-01 13:32:26 +00:00
c23ad4d5a4 ExCtrls: Fix compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8503 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-28 21:47:04 +00:00
352003d5d6 ExCtrls: Improved version of r8494.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8496 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-21 10:58:17 +00:00
eda54767e0 ExCtrls: Fix compilation of ExShape with Laz before v2.2.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8495 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-21 10:04:13 +00:00
8adc456b51 ExCtrls: Fix TCurrSpinEditEx after solution of Lazarus bug report #39793
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-21 10:02:08 +00:00
eb6f23c3fa ExCtrls: Publish TShapeEx.Font
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8486 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-17 17:39:06 +00:00
29f6add780 ExCtrls: New component TShapeEx (text in shape)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8484 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-17 17:26:39 +00:00
865c17f414 ExCtrls: Fix CurrSpinEditEx swalling typing of decimalseparator.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8479 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-09-13 18:01:02 +00:00
30824db33d ExCtrls: Unpublish the property NumbersOnly in TCurrSpinEditEx and TFloatSISpinEditEx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8187 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-01-15 21:25:43 +00:00
f70da64217 ExCtrls: Adapt currency edit to recent changes in LazControls due to issue #39490/39491.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8181 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-12-17 15:16:39 +00:00
3ffa05fdeb ExCtrls/QuestionDlg: Support custom dialog image (QuestionDlgEx_CustomIcon)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-24 21:06:10 +00:00
cb744ff5de ExCtrls/QuestionDlgEx: Add variable for text background color.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8158 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-24 20:28:10 +00:00
17a5b7035b exctrls/exquestiondlg: Avoid flicker due to Activate.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8157 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-23 22:29:16 +00:00
5e350b0270 exctrls/exquestiondlg: Parameterize some distances and make them high-dpi aware.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8156 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-23 18:09:36 +00:00
007e6e7dc9 extctrls/exquestiondlg: Do not use an empty string as font name
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-23 17:36:26 +00:00
aad769d418 extctrls/exquestiondlg: replace TImage and TLabel by directly drawn bitmap and text.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-23 17:17:28 +00:00
d95f7b808e Fix dialog being "glued" to calling form on gtk2. Fix behaviour when dialog font is not found.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-23 09:47:53 +00:00
7332a8c1e4 extctrls: Add extended question dialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8150 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-22 16:47:44 +00:00
35e4b8de27 ExCtrls: Fix CheckComboBoxEx not closing up when button is clicked in dropped-down state.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-05 22:22:36 +00:00
8f89ccc7f4 ExCtrls: Support ImageList for dropdown button.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-05 21:56:09 +00:00
9f9b980645 ExCtrls: Fix TCheckComboBoxEx crashing upon DblClick in Cocoa.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8143 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-01 21:59:03 +00:00
50ceae732d ExCtrls: Fix high-dpi scaling of TCheckComboBoxEx.ButtonWidth (2nd part)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8142 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-01 21:16:53 +00:00
a7056cddc0 ExCtrls: Fix high-dpi scaling of TCheckComboBoxEx.ButtonWidth.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8141 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-01 21:08:32 +00:00
bd0f7165d6 ExCtrls: Fix text measuring in TColumnComboBoxEx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8140 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-01 18:59:23 +00:00
1e3713b3b2 ExCtrls: Fix high-dpi for TCheckComboBoxEx (ButtonWidth)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-01 17:39:07 +00:00
2f7c57e770 ExCtrls: Improvements in TCheckComboBoxEx.ButtonWidth.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8138 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-11-01 15:21:42 +00:00
352503ff25 ExCtrls: Fix memory leaks
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8135 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-31 10:42:04 +00:00
87a33ca6b0 ExCtrls: Fix CheckComboBoxEx at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8134 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-30 22:11:28 +00:00
abb51a3028 ExCtrls: Fix painting of TButtonEx under Win 11. Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8123 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 14:24:30 +00:00
914354f205 ExCtrls: Initial commit of TCheckComboBoxEx
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8119 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-26 21:22:44 +00:00
98884e4cad ExCtrls: Temporarily add LCL's TCheckComboBox as TCheckCombobBoxEx
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-11 20:33:15 +00:00
1c2fa6baab ExCtrl: Add comment to explain previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-28 21:19:47 +00:00
c0acf0abb4 ExCtrls/TButtonEx: Fix wordwrapped custom-drawn caption not being centered.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-28 18:00:00 +00:00
c68a35d4e9 ExCtrls: Undo r7957. Obsolete after recent changes in FPC.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-01-06 19:08:14 +00:00
f119696535 ExCtrls: Add support of OnClick event to RadioButtonEx/CheckboxEx. Prevent the user from unchecking a checked radiobutton. Note: Unlike in the LCL, OnClick occurs only by user interaction, not by code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-01-06 11:26:32 +00:00
3ee6c35043 ExCtrls: Adapt CurrencyEdit to recent changes in Laz-trunk (r64334, t64335)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-01-04 20:51:58 +00:00
68aac01c1b ExCtrls: New properties SelectedColor and SelectedTextColor of TColumnComboBoxEx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7943 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-22 15:16:11 +00:00
21879eb6a2 ExCtrls: Activate background painting in TColumnComboboxEx again to fix invisible text in some Linux desktops.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7942 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-22 15:00:39 +00:00
533d506fe9 ExCtrl: Use InitializeWnd instead of CreateHandle
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-21 23:33:33 +00:00
577782d54e ExCtrls: Fix transparent text background, Fix selected item not shown.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7940 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-21 21:32:47 +00:00
5a8a5a318d ExCtrls: Activate OnDrawItem event in TColumnComboboxEx.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7939 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-21 15:21:01 +00:00
55712f6705 ExCtrls: Initial commit of TColumnComboBoxEx by Howard Page-Clark.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7938 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-21 15:13:59 +00:00
206fc7f0e3 ExCtrls: Fix TRadiogroupEx/TCheckGroupEx firing OnEnter/OnExit events when another sub-control is selected. New events OnItemEnter/OnItemExit. See also LCL issue #37768.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7674 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-20 17:32:29 +00:00
53e90e5a82 ExCtrls: TCustomFloatSISpinEditEx: in Lazarus >= 2.1 override KeyAllowed instead of EditKeyPress.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7624 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-22 16:37:11 +00:00
38282db2af ExCtrls: fix not calling OnKeyPress in TCustomFloatSISpinEditEx.EditKeyPress.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7623 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-22 15:55:20 +00:00
213bd3e763 ExCtrls: Add high-dpi TFloatSISpinEditEx palette icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7615 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-08-17 21:17:28 +00:00