Commit Graph

510 Commits

Author SHA1 Message Date
martin
f7aa0270f1 Merged revision(s) 64513 #a693251026, 64622 #0c46287ea3 from trunk:
Publish OnContextPopup and OnResize for some controls to improve Delphi compatibility or compatibility with related controls. Issue #38453, based on patch by Reinhard Kalinke.
........
SynEdit: publish OnContextPopup, OnResize. Issue #038511
........

git-svn-id: branches/fixes_2_0@64623 -
2021-02-19 02:18:02 +00:00
mattias
f34df6c717 LCL: TComboBox: Fixed invisible mouse. Issue #34913
git-svn-id: branches/fixes_2_0@60199 -
2019-01-24 09:50:13 +00:00
mattias
308a0daa75 lcl: fixed TComboBox.ReadOnly deprecated text
git-svn-id: branches/fixes_2_0@59468 -
2018-11-06 10:47:22 +00:00
maxim
38363b434c Merged revision(s) 59083 #406ae30f3b, 59085 #463c8bb943, 59094 #7bcf1cc533 from trunk:
TFindDialog/TReplaceDialog: show dialog poScreenCenter in IDE; fix erratic behaviour of TReplaceDialog in IDE (wrong parent). Issue #0034297.
........
LCL: Improved layout of TFindDialog and TReplaceDialog, fix TabOrder.
........
LCL: Fix TCustomListbox not releasing Canvas handle in DestroyWnd (issue #34249).
........

git-svn-id: branches/fixes_2_0@59100 -
2018-09-20 22:45:56 +00:00
ondrej
0c5181bf67 Revert r58337 and r58339 #e887c43e0d
git-svn-id: trunk@58346 -
2018-06-19 20:04:57 +00:00
ondrej
f1b3d3f742 LCL: call OnEditingDone (DoEditingDone) only if something changed
git-svn-id: trunk@58337 -
2018-06-19 17:11:31 +00:00
ondrej
7a057f2206 LCL: memo: handle keys in LM_GETDLGCODE selectively
git-svn-id: trunk@58258 -
2018-06-14 09:55:05 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
f440f660a2 Refactor: move CompareMethods to LazMethodList. Keep alias in LCLProc.
git-svn-id: trunk@58204 -
2018-06-09 14:39:36 +00:00
ondrej
70b731c254 LCL: publish DoubleBuffered & ParentDoubleBuffered
git-svn-id: trunk@58099 -
2018-06-03 20:36:08 +00:00
ondrej
3ce2d72ef3 LCL: TCustomEdit: add OnChange handler list
git-svn-id: trunk@56721 -
2017-12-14 14:15:34 +00:00
juha
c4f8616371 LCL: Change a counter to boolean FTextChangedLock, used for firing events right. Issue #32630.
git-svn-id: trunk@56489 -
2017-11-24 20:44:02 +00:00
juha
c645377b97 LCL: Unpublish TEdit.Action. Issue #31339, patch from AlexeyT.
git-svn-id: trunk@56425 -
2017-11-17 12:07:47 +00:00
bart
c3f41244e0 Revert r56181 #c5637ad72a (Fix firing an OnChange and setting Modified when setting Text inside OnChange and new Text = old Text. Issue #0032602.) It causes a regression.
git-svn-id: trunk@56353 -
2017-11-10 21:04:34 +00:00
ondrej
251aa8f6fe lcl: edit: don't call OnEditingDone if ReadOnly
git-svn-id: trunk@56338 -
2017-11-08 17:40:24 +00:00
juha
b5b61d1a93 LCL: Prevent TCustomEdit.OnChange firing extra time when CharCase is ecLowerCase or ecUpperCase. Issue #32630, patch from accorp.
git-svn-id: trunk@56288 -
2017-11-05 21:48:13 +00:00
bart
c5637ad72a Fix firing an OnChange and setting Modified when setting Text inside OnChange and new Text = old Text. Issue #0032602.
git-svn-id: trunk@56181 -
2017-10-25 09:26:50 +00:00
ondrej
bdb91bdc6d lcl: edit: force show texthint in InitializeWnd. issue #32053
git-svn-id: trunk@55716 -
2017-08-20 12:17:57 +00:00
ondrej
380e645438 LCL: remove deprecated methods and properties (that were tagged to be removed in 1.9)
git-svn-id: trunk@55713 -
2017-08-20 10:25:04 +00:00
ondrej
c68b93c58e lcl: combo box: add new styles csOwnerDrawEditableFixed and csOwnerDrawEditableVariable as replacement for the old ReadOnly property
git-svn-id: trunk@55245 -
2017-06-05 19:27:43 +00:00
ondrej
9a9e336851 LCL: combo box: deprecate ReadOnly property
git-svn-id: trunk@55243 -
2017-06-05 19:07:31 +00:00
ondrej
48dbf5c56d LCL: listbox: fix default value for Options
git-svn-id: trunk@55126 -
2017-05-30 14:54:05 +00:00
juha
d58a9c4bd9 LCL: Prevent Up/Down keys change focus on ListBox. Issue #30558, patch from Stefan Kopf.
git-svn-id: trunk@54592 -
2017-04-09 14:10:01 +00:00
juha
760d03b2bb LCL: Fix TCustomLabel.CalcFittingFontHeight. Issue #31538, patch from Serge Anvarov.
git-svn-id: trunk@54560 -
2017-04-07 16:59:49 +00:00
ondrej
69adfaad00 lcl: listbox: add Options property + add option to enable/disable focus rect drawing. Issue #30532
git-svn-id: trunk@54442 -
2017-03-18 09:40:31 +00:00
ondrej
fb53b10290 LCL: combo box: High-DPI. Issue #31504
git-svn-id: trunk@54369 -
2017-03-08 15:54:45 +00:00
ondrej
48e816a02f LCL: edit: use messages for emulated text hint (messages are also sent when parent form gets/loses focus).
git-svn-id: trunk@54264 -
2017-02-24 15:35:57 +00:00
ondrej
592b495a47 LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
bart
b83fd2e5a2 TStaticText: publish properties Enabled, ParentShowHint and PopupMenu. Issues #0031313, #0031315 and #0031333.
git-svn-id: trunk@54071 -
2017-02-02 11:52:30 +00:00
michl
2f58813eed LCL: TComboBox: Make keys Delphi compatible with AutoDropDown = True. Issue #31331
git-svn-id: trunk@54056 -
2017-02-01 19:16:06 +00:00
juha
b2658d37bc LCL: Temporary fix for focus jumping on Arrow keys between controls. Will be moved to WS code. Issue #22191, patch from AlexeyT.
git-svn-id: trunk@53933 -
2017-01-12 15:44:56 +00:00
michl
18ed0a8978 LCL: TLabel, TPanel: draw themed grayed caption if disabled
git-svn-id: trunk@53914 -
2017-01-10 16:14:08 +00:00
ondrej
5f5df812af LCL, win32: TMemo: remove Lines.BeginUpdate/EndUpdate for win32 for Delphi compatibility
git-svn-id: trunk@53888 -
2017-01-06 11:03:11 +00:00
juha
73aa9aa4bb Order uses sections again to see dependencies better.
git-svn-id: trunk@53738 -
2016-12-20 16:26:44 +00:00
ondrej
e7b8a7cf27 lcl: highDPI: rename AScaleFonts parameter to AScale0Fonts and change its behavior. Issue #31083
git-svn-id: trunk@53594 -
2016-12-07 22:22:50 +00:00
ondrej
0296fdc7ae lcl: implement DoAutoAdjustLayout for these controls: TCustomListView, TCustomGrid, TCustomListBox. Issue #14688, patch by regs
git-svn-id: trunk@53574 -
2016-12-06 14:28:37 +00:00
ondrej
58c2446357 lcl: highDPI: handle right and bottom anchored controls in AutoAdjustLayout.
git-svn-id: trunk@53555 -
2016-12-03 23:07:10 +00:00
ondrej
adf87c511a lcl: merge ShouldAutoAdjust* into one method. Fix Width and Height adjustment in relation to Align.
git-svn-id: trunk@53538 -
2016-12-03 06:52:15 +00:00
juha
ea8843fd24 LCL: Ignore AutoSize in ShouldAutoAdjustWidthAndHeight for TEdit and TCombobox. Helps with DPI issues. Issue #30995, patch from AlexeyT.
git-svn-id: trunk@53486 -
2016-11-30 15:07:13 +00:00
ondrej
7ad916287c LCL: customedit: rewrite TextHint emulation, use WinAPI if available.
git-svn-id: trunk@53365 -
2016-11-14 14:19:14 +00:00
bart
7d3b4320c2 Deprecate TCustomEdit's TextHintFontColor and TextHintFontStyle properties and reduce their visibility to Public.
git-svn-id: trunk@53304 -
2016-11-07 11:25:30 +00:00
blikblum
1c88d48964 lcl: in TCustomEdit, replaces Text property check for CanShowTextHint before showing text hint. Move the logic to hide the text hint from RealSetText to TextChanged
git-svn-id: trunk@53296 -
2016-11-04 11:58:36 +00:00
blikblum
d99fe899e7 lcl: use TMemo.Lines.Count to check if TextHint can be show. Part of 30851. Based on tip from AlexeyT
git-svn-id: trunk@53293 -
2016-11-04 11:32:11 +00:00
juha
cdd2334167 LCL: Make the initial height of ToggleBox match with Button. Issue #30536, patch from Alexey Torgashin.
git-svn-id: trunk@52961 -
2016-09-13 12:42:03 +00:00
juha
06b8397c33 LCL: Fix spelling in comment.
git-svn-id: trunk@52605 -
2016-07-03 12:35:55 +00:00
juha
8ed5c08f14 LCL: Implement TCustomListBox.DeleteSelected. Issue #29904, patch from meteu.
git-svn-id: trunk@52068 -
2016-03-27 09:52:11 +00:00
ondrej
b06baa0a9a lcl: edit: make GetTextHint/SetTextHint virtual to be able to change TextHint behavior.
git-svn-id: trunk@51932 -
2016-03-14 07:29:21 +00:00
bart
8e8380449e LCL: Don't use PassWordChar when showing TextHint. Patch by riderkick. Issue #0029748.
git-svn-id: trunk@51742 -
2016-02-28 09:52:14 +00:00
juha
6bb18f6fbd LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067.
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00