Ondrej Pokorny
016d9d0534
TPromptDialog: high-DPI
2022-09-28 23:32:17 +02:00
Ondrej Pokorny
a7d0453a6e
LCL: TImage: TImageList support (properties Images, ImageIndex and ImageWidth)
2022-09-28 20:25:36 +02:00
Ondrej Pokorny
6a416779cd
Revert "LCL: new component TImageListImage (that displays an image from TImageList instead of a TPicture)"
...
This reverts commit cac82fb704
.
2022-09-28 19:40:32 +02:00
Ondrej Pokorny
a3b65673ed
LCL: image list: AddMultipleResolutions with TRasterImage overload
2022-09-28 16:22:54 +02:00
Ondrej Pokorny
cac82fb704
LCL: new component TImageListImage (that displays an image from TImageList instead of a TPicture)
2022-09-28 16:10:01 +02:00
Martin
5882a5bfb5
LCL: TaskDialog, fix default radio-button
2022-09-27 12:16:13 +02:00
Juha
9f577dc548
LCL: Add an option to NOT call TCheckbox OnChange handler when clicked. Issue #39870 , patch by Arioch The.
2022-09-18 21:31:59 +03:00
Bart
95cfa51d1b
TFloatSpinEdit(Ex): fix crash in OI when setting MaxValue/MinValue/Increment. Issue #39792 .
2022-09-17 19:03:18 +02:00
wp_xyz
6d123c6ac8
LCL/Toolbar: Fix incorrect high-dpi scaling of toolbuttons due to hard-coded constant margins.
2022-09-13 21:55:27 +02:00
wp_xyz
7db50f95cc
LCL: Increase distance between TToolButton icon and text in List mode.
2022-09-11 18:12:06 +02:00
Juha
8eec551e93
LCL: Improve Checkbox / TAction synchronization. Issue #39869 .
2022-09-08 10:21:59 +03:00
mattias
5852af11e6
lcl: TApplication.IsShortcut: check if mainform handleallocated
2022-08-31 23:20:41 +02:00
Martok
e4043024da
lcl, win32: move TCustomCheckListBox WS specific settings to WS implementataion
...
Other widgetsets use widgets with builtin check support, no need to have
ownerdraw details in the LCL class
+ publish OnMeasureItem, it can now be used like TCustomListBox
2022-08-30 02:29:36 +03:00
Martok
1161c4a75a
LCL: don't call LB_GETITEMRECT from LM_MEASUREITEM handler (issue #39653 )
2022-08-30 02:29:36 +03:00
wp_xyz
7950515229
LCL: Revert 0c285d6eb9
(fixes issue #39861 ).
2022-08-17 22:59:27 +02:00
wp_xyz
13f4f576ab
LCL/extctrls: Add new TCustomPanel/TPanel property VerticalAlignment which exists in Delphi.
2022-07-19 19:28:16 +02:00
wp_xyz
e10b896d7e
LCL/FloatSpinEdit: Fix KeyPress swallowing the 'e' of exponential notation.
2022-06-10 17:21:36 +02:00
Juha
72fda31b81
LCL: Delete TCustomSpeedButton.DoMouseUp. Part of merge request !21 .
2022-06-03 12:52:45 +03:00
alexrayne
3b4fc416a8
LCL: Fix band height evaluation in ControlBar. Now single row snaps to inner control height.
2022-06-02 13:12:23 +03:00
mattias
843ed47f9a
lcl: fixed parsing with fpdoc
2022-05-29 19:23:35 +02:00
Bart
09584a03b9
LCL: implement PromptForFileName in a Delphi compatible way (even though the function is badly designed IMHO). Issue #39740 .
2022-05-18 22:51:52 +02:00
mattias
174cf206d4
lcl: fixed TCustomForm.GetMonitor to avoid calling SetBounds
2022-05-17 10:32:34 +02:00
mattias
becdd42b6d
lcl: fixed TCustomForm.GetMonitor when handleallocated and visible
2022-05-16 15:25:08 +02:00
mattias
db88c83b22
lcl: TCustomForm.GetMonitor consider poDefaultPosOnly
2022-05-16 12:14:10 +02:00
mattias
cf9253d7a7
lcl: TCustomForm.GetMonitor consider Position and DefaultMonitor on first show
2022-05-16 11:29:43 +02:00
wp_xyz
0883c8c524
LCL/ListView: implement incremental search in virtual mode for Windows. Issue #39748 .
2022-05-13 11:06:11 +02:00
Ondrej Pokorny
1837c65413
lcl TLabel: unbind Color and Transparent to fix ParentColor issues (fixes)
2022-05-03 20:42:26 +02:00
Ondrej Pokorny
4ffce1ec8f
lcl TLabel: unbind Color and Transparent to fix ParentColor issues
2022-05-03 09:39:24 +02:00
wp_xyz
c0c30424de
LCL/TListView: More complete fix of issue #39708 , based on patch by d7_2_laz ( https://forum.lazarus.freepascal.org/index.php/topic,59024.msg441180.html#msg441180 ).
2022-04-27 10:38:14 +02:00
wp_xyz
417ff31e84
LCL/ImageList: Fix incorrect png format check in lfm files. Issue #39719 , patch by Guilherme Scaglia.
2022-04-22 15:50:32 +02:00
wp_xyz
b694be37b0
LCL/ListView: Better fix for editing virtual multi-select listview than 451f75e3ce
. Issue #39708 .
2022-04-13 19:41:38 +02:00
wp_xyz
451f75e3ce
LCL/ListView: Disable editing of virtual list items when multiple items are selected to avoid transferring the edited caption to the wrong node.
2022-04-13 14:45:03 +02:00
wp_xyz
ba8174b384
LCL/ListView: Fix modifying incorrect item when editing in virtual mode. Issue #39708 .
2022-04-12 19:23:55 +02:00
wp_xyz
faed788b23
LCL/ListView: Fix TListview in cocoa hanging after fb64d6ef4d
(related to issue #39693 ).
2022-04-04 15:55:11 +02:00
wp_xyz
9aa8b52ba2
LCL/ListView: Fix OnSelectItem not showing previously selected item when argument Selected=false (on Windows).
2022-04-04 11:51:42 +02:00
wp_xyz
fb64d6ef4d
LCL/ListView: Fix multi-selection in virtual mode. Issue #39693 .
2022-04-03 23:27:52 +02:00
Zaher Dirkey
76c95e8c47
make TPopupNotifier.BidiMode as Application.BidiMode
...
Just simple logical fix a crash ADragObjectCopy
2022-03-18 18:18:54 +02:00
wp_xyz
201075cbd8
LCL: Make procedure RotateRect() (local to customlabel.inc) publicly available in GraphMath.
2022-03-13 15:41:48 +01:00
Juha
a1dca01b66
Revert an earlier change in 82b9902b12
. The checks are needed.
2022-03-06 09:11:08 +02:00
Juha
b02bb3563b
Revert "LCL: Fix Toolbar size when inside a Controlbar". Causes ChangeBounds loop in a bottom anchored Toolbar with GTK2.
2022-03-04 22:25:41 +02:00
Juha
82b9902b12
LCL: Prevent an occational range error in ShellListView. Remove useless checks.
2022-03-04 12:50:22 +02:00
Juha
78f789c59b
LCL: Fix Toolbar size when inside a Controlbar. Merge request !77 by Alexander Litjagin.
2022-03-04 00:27:15 +02:00
wp_xyz
2b04018e69
LCL/SpeedButton: Fix misaligned icons in TFilenameEdit etc.
2022-02-10 14:59:49 +01:00
wp_xyz
1f92d4fde1
LCL/TSpeedButton: New property Alignment for left/right aligned or centered caption.
2022-02-07 16:04:47 +01:00
wp_xyz
ad41c897b7
LCL/TSpeedButton: Improve text alignment when there is not glyph.
2022-02-07 15:42:10 +01:00
wp_xyz
89bd5e8943
LCL/SpeedButton: Draw centered multi-line caption. Issue #39632
2022-02-07 12:59:21 +01:00
Martin
f7f41f0116
LCL: Fix Canvas.RoundRect with zero radius, wrong size for non-win. Issue #39628
2022-02-02 14:45:51 +01:00
Bart
8c251bbdfb
LCL: Use const for parameters. Patch by Alexey Torgashin. Issue #39617 .
2022-02-02 13:57:38 +01:00
Juha
082d051466
LCL: Do not InvalidateSelected in MultiSelect virtual TListView. Part of issue #39324 .
2022-01-28 17:09:38 +02:00
Juha
4d72245552
LCL: Solve most performance issues with virtual TListView (OwnerData=True). Issue #39324 , patch by d7_2_laz.
2022-01-27 13:24:51 +02:00
Juha
cd2ae505e3
LCL: Fix cursor key behavior with TTreeNode.Enabled, add methods to iterate tree. Issue #39590 .
2022-01-25 11:20:56 +02:00
Juha
6464e232a0
LCL: Implement TreeView's TTreeNode.Enabled property, partly functional. Issue #39590 , patch by Alexey Torgashin.
2022-01-23 21:29:54 +02:00
Maxim Ganetsky
0a0b688587
LCL: added const to GetLocalizedFormatDescription function parameters
2022-01-17 00:33:57 +03:00
Maxim Ganetsky
52bb248201
LCL: fixed i18n of graphic file format filter descriptions in file dialogs, improved descriptions themselves, removed unused ones, regenerated translations and updated Russian translation
2022-01-15 04:41:04 +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
mattias
744d5506fd
lcl: TTReeView: skip drawing node text when editing, issue 39507
2021-12-26 18:19:26 +01:00
wp_xyz
6e2454530b
LCL: Add properties Hot/Disabled/Pressed/SelectedImageIndex to TBitBtn and TSpeedButton. Issue #33299 .
2021-12-26 18:06:53 +01:00
Ondrej Pokorny
5f9aaa6cab
LCL: reformatting according to CodeTools
2021-12-17 10:18:01 +01:00
Ondrej Pokorny
f05922b05d
LCL: TControl.ClientToScreen(TRect) overload - Delphi compatibility
2021-12-17 10:16:49 +01:00
wp_xyz
7114800c05
LCL/TCustomGrid, TCustomCheckBoxEx: Add missing Notification method to react on destruction of TitleImageList and Images, respectively.
2021-12-16 14:52:01 +01:00
wp_xyz
285ed6ea0d
LCL/TColorButton: Add missing Notification method to prevent crash when assigned ColorDialog is deleted.
2021-12-16 00:37:28 +01:00
Ondrej Pokorny
8438ed9d98
Revert "LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124."
...
This reverts commit 20c1e10aca
.
2021-11-29 22:05:19 +01:00
Juha
20c1e10aca
LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124 .
2021-11-29 11:26:58 +02:00
Ondrej Pokorny
89162e9c1c
LCL: move crScreenCursor to a private const of TScreen so that it isn't used elsewhere
2021-11-26 13:33:48 +01:00
Ondrej Pokorny
d13c67e680
lcl: TForm.ShowModal: override temporary cursors with Screen.Cursor and not crDefault. Issue #39486
2021-11-26 11:23:29 +01:00
wp_xyz
5438db7700
LCL: Give access to dialog icon idDialogShield
2021-11-19 23:34:09 +01:00
Ondrej Pokorny
89cd2a1045
win32: fix setting TMenuItem.Visible := True in the top menu bar. Issue #39458
2021-11-19 16:56:10 +01:00
Ondrej Pokorny
5f82f6ba31
TCustomForm: MakeFullyVisible should use WorkAreaRect as default (sensible and also Delphi-compatible)
2021-11-19 15:17:18 +01:00
Ondrej Pokorny
cbafa07331
TCustomForm: rewrite MoveToDefaultPosition and fix regression after 5d1e0bb8e9
2021-11-19 15:17:18 +01:00
Roland Hahn
5aee9d5c07
Aktualisieren lcl/include/bitbtn.inc
2021-11-07 10:26:45 +00:00
Juha
776e1e91ad
LCL-GTK3: Comment out abundant debug lines.
2021-11-06 02:43:33 +02:00
mattias
adafca05c0
lcl: fixed TSpeedButton with Action and changing Action.ImageIndex
2021-11-05 11:48:00 +01:00
Juha
75aebbee85
LCL: Consider that MemSize can return 0 with a custom MemoryManager. Merge request !27 by Sergey Larin.
2021-10-28 11:23:36 +03:00
Juha
f20d0dab9c
LCL: In LogFontAndName compare only upto the terminating #0 . There may be garbage after it. Merge request !30 by Sergey Larin.
2021-10-28 01:35:12 +03:00
wp_xyz
d6a9516c11
LCL/TCheckComboBox: Workaround for issues #39424 and #39427
2021-10-16 17:45:40 +02:00
Marc
4918dc89b0
LCL: Return TSharedCustomBitmap as shared image class. TCustomBitmap assumes this as a descendant
2021-10-12 22:14:21 +02:00
Juha
814e4ba4e2
Rename CompareMethods to more logical SameMethod. Remove old deprecated functions.
2021-10-10 19:00:49 +03:00
Juha
02eed0c903
LCL: A new angle bracket option for TreeViewExpandSignType. Issue #39361 , patch by Alexey T.
2021-10-04 11:35:11 +03: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
abd3cd5c6b
T(Float)SpinEdit: set Modified to False if Value is set programmatically.
2021-10-03 12:47:45 +02:00
Bart
a669e08450
TComboBox: update ItemIndex in RealSetText also if Text is empty string. Issue #39366 .
2021-10-03 10:05:51 +02:00
wp_xyz
608ffc5ee9
LCL/Dialogs: Auto-sized layout for InputCombo(Ex). Fixes issue #39410 .
2021-10-02 12:54:34 +02:00
Juha
865013eeb9
IDE: Remove unused and duplicate resource strings. Fix exception messages.
2021-09-30 17:23:21 +03:00
Bart
6eca378f9d
TListView: call OnDeletion also when destroying. Issue #39391 .
2021-09-23 14:16:03 +02:00
wp_xyz
95da3f4854
LCL/LCLScaling: Fix ParentFont becoming to false upon scaling. Issue #37299 .
2021-09-10 21:05:39 +02:00
Jesus Reyes A
fef094c56f
LCL: Fix updating list dataset on dblookupcombobox on selection or autocomplete, issue #39343
2021-08-29 00:49:48 -05:00
Jesus Reyes A
1e64a65808
LCL: Deprecated TDBLookupComboBox DropDownCount property in favor of DropDownRows to improve delphi compatibility, issue #35864
2021-08-25 00:58:24 -05:00
Jesus Reyes A
71d8b00d81
LCL: DBLookupCombobox should not update if it's unbound, fixes autocompletion, issue #34298
2021-08-01 18:40:53 -05:00
juha
27af6874b9
LCL: Implement TApplication.HelpShowTableOfContents. Issue #25905 .
...
git-svn-id: trunk@65478 -
2021-07-20 19:44:31 +00:00
juha
d6c215a491
LCL: Make ListView.Selected return the first selected item also when OwnerData=True.
...
git-svn-id: trunk@65474 -
2021-07-18 21:34:01 +00:00
juha
ada182fd7b
LCL: Fix TListView selection on Windows with MultiSelect=True and OwnerData=True. Issue #34877 , patch by Yuriy Sydorov.
...
git-svn-id: trunk@65473 -
2021-07-18 21:09:03 +00:00
juha
22c8c554b1
... and fix compilation.
...
git-svn-id: trunk@65465 -
2021-07-16 20:18:26 +00:00
juha
5d1e0bb8e9
LCL: Prevent popup form going off-screen with position poMainFormCenter. Use Max(Min()) shortcuts. Issue #39231 , patch by Soner.
...
git-svn-id: trunk@65464 -
2021-07-16 20:01:42 +00:00
wp
ee25f78baf
LCL/ShellTreeView: Speed-up of populating a folder with many subfolders (example: c:\Windows\WinSxS)
...
git-svn-id: trunk@65454 -
2021-07-15 08:26:48 +00:00
wp
8b6e1655ea
LCL/TPageControl: Add new method "Clear" to remove all pages.
...
git-svn-id: trunk@65355 -
2021-07-03 20:44:02 +00:00
dmitry
0e0ef8c3ca
lcl-cocoa: restoring the items checked status after the sort, if WS needs some extra assistance for that. bug #39121 . potential resolution for #38137
...
git-svn-id: trunk@65351 -
2021-07-03 01:02:04 +00:00
michl
ffa2a3f3c2
LCL: Revert revision 63847 #55d0c7bc3a fixing FormShow call at wrong time. Issue #38922
...
git-svn-id: trunk@65303 -
2021-06-25 08:49:12 +00:00
juha
3ff7c6b95c
LCL: Fix spelling in a comment.
...
git-svn-id: trunk@65301 -
2021-06-24 17:40:14 +00:00
michl
520395f85d
LCL: WinControl: Fixed not needed LM_WindowPosChanged removed. Issue #39006 . Suggested by Jamie Philbrook.
...
git-svn-id: trunk@65258 -
2021-06-17 19:03:28 +00:00
juha
a078714f63
Revert r65213 #595fb2c21d. It caused a regression.
...
git-svn-id: trunk@65228 -
2021-06-14 07:52:06 +00:00
juha
8ec75e6918
LCL: Fix the %MainUnit directive in custompage.inc. Issue #38991 , patch from Don Siders.
...
git-svn-id: trunk@65221 -
2021-06-11 21:18:30 +00:00
juha
a04f03d6df
LCL: Take the width of TPageControl's TTabSheets into account in an autosized form. Issue #36493 , patch by Joeny Ang.
...
git-svn-id: trunk@65218 -
2021-06-11 07:25:39 +00:00
juha
595fb2c21d
LCL: Call FormShow correctly. Issues #36127 and #38922 , patch by Joeny Ang.
...
git-svn-id: trunk@65213 -
2021-06-11 06:17:44 +00:00
maxim
b8d0d9366b
LCL: fixed typos related to 'occur' word
...
git-svn-id: trunk@65207 -
2021-06-10 22:21:45 +00:00
michl
8a96677e5d
LCL: TListBox.ScrollWidth is used when defined by user. Resolves issue #19079
...
git-svn-id: trunk@65169 -
2021-06-03 18:40:17 +00:00
michl
cded431fef
ListView: Fixed SIGSEGV when switching to other WinControl when default editor is opened. Issue #38627
...
git-svn-id: trunk@65139 -
2021-05-26 20:17:44 +00:00
michl
c8e8ad8dc8
DockedFormEditor: Win32: Fixed wrong form size after changing AutoScroll, see issue #38856
...
git-svn-id: trunk@65093 -
2021-05-07 19:59:30 +00:00
michl
5d6cad752d
LCL: Fixed TForm.AutoScroll does not turn off scrollbars if UNCHECKED while scrollbars are showing. Issue #38856
...
git-svn-id: trunk@65089 -
2021-05-06 20:23:34 +00:00
michl
74d996c632
LCL: TScrollingWinControl.ScrollInView or TScrollBox.ScrollInView scroll only when ScrollBar is visible, see Issue #38838 forum entries.
...
git-svn-id: trunk@65085 -
2021-05-04 18:38:05 +00:00
michl
c25e153265
LCL: TScrollingWinControl.ScrollInView or TScrollBox.ScrollInView does not calculate stacked controls, second attempt. Issue #38838 .
...
git-svn-id: trunk@65083 -
2021-05-02 20:24:59 +00:00
michl
f192422579
LCL: TScrollingWinControl.ScrollInView or TScrollBox.ScrollInView does not calculate stacked controls. Issue #38838 . Patch from Jamie Philbrook
...
git-svn-id: trunk@65078 -
2021-05-01 17:48:42 +00:00
juha
1b1306385e
LCL: Support SpinEdit min..max range -8...-2 (both negative). Issue #38810 .
...
git-svn-id: trunk@65066 -
2021-04-28 10:16:51 +00:00
balazs
25a1c56fc2
LCL: Prevent crash by calling ShowDragImage/HideDragImage only if DragImageListResolution is not nil.
...
git-svn-id: trunk@65055 -
2021-04-23 14:40:42 +00:00
michl
df1e1dc31a
LCL: Fixed ParentBackground of GroupBoxes cannot be set to true. Issue #38777
...
git-svn-id: trunk@65036 -
2021-04-20 21:57:55 +00: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
juha
aa96e17781
Revert r63888 #54661a2a36. It breaks event handling of forms with parent. Issue #36127 .
...
git-svn-id: trunk@64986 -
2021-04-13 16:35:34 +00:00
bart
07befbecb7
TFloatSpinEdit: fix a comment
...
git-svn-id: trunk@64973 -
2021-04-11 16:57:29 +00:00
juha
a8969e516a
LCL: In TListItem, use TListItemState type directly.
...
git-svn-id: trunk@64948 -
2021-04-10 10:01:05 +00:00
bart
ce7e9909e5
LCL: fix OpenDocument on Mac for folders. Issue #0038670 . Patch by Trevor Roydhouse.
...
git-svn-id: trunk@64890 -
2021-03-29 15:46:18 +00:00
michl
cafbad9bab
LCL: TFrame, TGroupBox: Set ParentBackGround to False if color is changed and visa versa as requested in German LazarusForum from wp. Related to 64871, 64872
...
git-svn-id: trunk@64882 -
2021-03-28 19:32:11 +00:00
michl
6ffcd2744c
LCL: Win32: Fixed Frame.Color not change the color of frame. Issue #35229
...
git-svn-id: trunk@64872 -
2021-03-27 12:22:17 +00:00
ondrej
28e5806a74
LCL: groupbox: use csOpaque style if the groupbox shouldn't be transparent, publish ParentBackground
...
git-svn-id: trunk@64871 -
2021-03-26 09:17:12 +00:00
wp
a1aea6a20a
LCL/TreeView: Fix OnExpand* events not firing any more after r64142 #2a0df745f0. Issue #38084 .
...
git-svn-id: trunk@64855 -
2021-03-22 08:43:53 +00:00
juha
c5c78f2c8b
LCL: Add widgetset support for TCustomListView.GetNextItem. Implement now for Win32. Issue #38565 , patch from Remko Plantenga.
...
git-svn-id: trunk@64848 -
2021-03-21 08:31:45 +00:00
dmitry
dff67d134c
lcl: update accessibility patch by David Jenkins. bug #38603
...
git-svn-id: trunk@64834 -
2021-03-18 02:48:41 +00:00
juha
381d67724c
LCL: Do not wrap around in TCustomListView.GetNextItem with search direction = sdAll. Issue #38565 .
...
git-svn-id: trunk@64746 -
2021-03-05 09:52:34 +00:00
juha
8fde568fcc
LCL: Synchronize CustomApplication with Application. At least unit CustomTimer uses it. Issue #38544 .
...
git-svn-id: trunk@64745 -
2021-03-05 09:52:32 +00:00
martin
37d6fcb8bd
TTabControl: "fix" x/y in Mouse(move/down/up/Drag) messages. Issue #0038403 see note 0129133 amends rev 64424 #ed6e087523,64436 #dfa3fe0ea4
...
- All X,Y are now computed from the LCL top/left of the TTabControl. X,Y of the embedded control are amended.
git-svn-id: trunk@64677 -
2021-02-27 15:14:31 +00:00
wp
aea537a7ec
LCL/MessageDlg: Fix too-high buttons created by CreateMessageDlg in case of high-dpi. Issue #0032704 .
...
git-svn-id: trunk@64673 -
2021-02-26 22:28:34 +00:00
juha
afae437ee4
LCL: Change variable names to avoid confusion. Unnest a function.
...
git-svn-id: trunk@64588 -
2021-02-16 11:53:50 +00:00
wp
e32b62e6b4
LCL/ShellCtrls: On Windows automatically show shell icons in TShellTreeView when no imagelist is attached.
...
git-svn-id: trunk@64575 -
2021-02-13 22:11:24 +00:00
mattias
1c726d4c93
lcl: fixed typo
...
git-svn-id: trunk@64507 -
2021-02-08 19:55:20 +00:00
juha
d4256b2fe5
LCL: Remove function IntfSendsUTF8KeyPress. Was deprecated in 2011.
...
git-svn-id: trunk@64467 -
2021-02-05 11:28:18 +00:00
juha
a542627231
LCL: Use a faster compare method for case-insensitive StringList.
...
git-svn-id: trunk@64443 -
2021-01-30 18:36:54 +00:00
martin
dfa3fe0ea4
TTabControl: reverted/replaced r64424 #ed6e087523: "fix ClientOrigin, Issue #38403 - Need the origin of the child TabControl".
...
Modifying the ClientOrigin affects child-controls of the TTabControl.
Also fixes issue #38422 , endless recursion if no handle was allocated.
git-svn-id: trunk@64436 -
2021-01-29 18:53:47 +00:00
martin
6fc365af0b
LCL: Fix ReleaseComponents hang with modal window. Issue #0021451
...
git-svn-id: trunk@64435 -
2021-01-29 18:53:45 +00:00
martin
ed6e087523
TTabControl: fix ClientOrigin, Issue #38403 - Need the origin of the child TabControl.
...
git-svn-id: trunk@64424 -
2021-01-27 13:02:49 +00:00
juha
d7de049568
LCL: Make TMemo.Modified property work like TEDIT does. Issue #38388 , patch from Jamie Philbrook.
...
git-svn-id: trunk@64420 -
2021-01-25 09:32:13 +00:00
juha
00e7a5c92b
LCL: Optimize TLazIntfImage.CopyPixels and TCustomImageList.ScaleImage a little for common cases.
...
git-svn-id: trunk@64404 -
2021-01-19 09:20:31 +00:00
juha
751852a44a
LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
...
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
juha
42850cfe4d
LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
...
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
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
746dea29a9
LCL: Add supported of rotated labels. Issue #38328 .
...
git-svn-id: trunk@64361 -
2021-01-09 12:13:05 +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
1e43ac6865
IDE: Study EditorOptions assignments with debug code. Turn methods into global funcs. Refactoring.
...
git-svn-id: trunk@64328 -
2021-01-04 15:56:28 +00:00
ondrej
4002a31014
TCustomLabel: fix RTL drawing. Issue #38270
...
git-svn-id: trunk@64323 -
2021-01-03 16:33:10 +00:00
bart
b8b3de002a
Refine the implementation of TCustomListView.Delete(), .InsertItem and .Edit after r64309 #fbb46cb85d (Issue #0038263 ).
...
This commit is also not completely Delphi compatible.
In Delphi Items can be added or delted as a respons to LVN_xxx messages, which the Lazarus implementation
does not support (it may very well be not protable?).
This commit causes code duplication (fortunately mostly one-liners)
The resons for this that the Lazarus methods DoDeletion, DoInsert and DoEndEdit are virtual and as such
may have been overriden by users, so this code still needs to work.
Users with code coming from Delphi expect that they can override Delete, InsertItem and Edit, so this must be possible as well,
and in that case out event dispatchers simply call the overridden Delphi variant.
The exception to this is Delete().
As far as we know, in Delphi Delete() is triggerd after an Items.Delete and acts as an event dispatcher,
but if you call it by itself, then it will actually delete the item (this in contrast to InsertItem, which only
calls the event handler and does nothing else).
(No Delphi code was studied to obtain this information, it was all done using black box testing (by LacaK and BB),
so this conclusion may be wrong.)
I decided to implement Delete in such a way that it checks wether it was called after the fact (after Items.Delete),
and if that is not the case, it will delete the item (triggering a re-entry of the method).
Not very nice, but it is in any case better then an empy implementation like it was before r64309 #fbb46cb85d.
It was discussed also to rename and deprecate our event dispatchers in favour of the Delpi ones, but I decided agains that
for the following reasons:
- naming conventions: DoXXX dispatches OnXXX
- signatures differ between DoEndEdit and Edit
git-svn-id: trunk@64318 -
2021-01-02 13:23:49 +00:00
wp
fbb46cb85d
LCL/TListView: Improved Delphi compatibility by giving life to the empty methods Delete and InsertItem and adding an Edit method.
...
git-svn-id: trunk@64309 -
2020-12-30 18:56:35 +00:00
juha
323a21ee2b
IDE: Move TMainIDE.PropHookPersistentDeleting to a better place and simplify a bit.
...
git-svn-id: trunk@64272 -
2020-12-25 14:34:17 +00:00