Commit Graph

246 Commits

Author SHA1 Message Date
Juha
9e8dbdc97a IDE In search results window, do not expand nodes when switching tabs. Issue #41259. 2024-12-07 09:47:42 +02:00
Bart
4c4c9631aa TFilenameEdit: adjust InitialDir after user executes the dialog. This is analogue to how TOpenDialog behaves. 2024-03-14 19:54:23 +01:00
Bart
7446930ef3 TFilenameEdit: don't force the TOpenDialog.InitialDir to current directory if InitialDir is empty string. Issue #40845. 2024-03-14 19:46:15 +01:00
wp_xyz
d6b0e5c07d LCL/TTimeEdit: New properties TimeAMString and TimePMString to allow specifying also the AM/PM string used by TTimeEdit. 2024-02-26 15:36:33 +01:00
wp_xyz
d85a691fb1 LCL/TTimeEdit: Add new properties TimeFormat and TimeSeparator for more flexibility in formatting. 2024-02-25 18:54:22 +01:00
Juha
3692c658ae LCL, LazControls: Fix order of calling OnKeyDown in FilterEdit controls. Issue #40601, patch by n7800. 2023-11-20 22:48:10 +02:00
Juha
764415b6a0 LCL, LazControls: FilterEdit cleanup. Issue #40601, patch by n7800. 2023-11-20 22:45:11 +02:00
wp_xyz
0cbb6646f7 LCL/all units with controls: stream events at the end. 2023-08-12 14:55:46 +02:00
Bart
f0a8e22cec EditBtn: publish property Alignment for some TCustomEditButton descendants. Reported at https://forum.lazarus.freepascal.org/index.php/topic,63826.msg484174.html#msg484174 2023-06-29 22:47:34 +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
Juha
12f4ecd347 LCL: Remove const modifier from AValue parameter in TCustomControlFilterEdit.SetFilter. Issue #40300. 2023-06-06 23:23:24 +03:00
Martin
3855efa430 LCL: FilterEdit, search on ASync instead of IDLE. E.g. in the IDE, while compilation runs, filter edits are otherwise not reacting. 2023-05-29 13:20:27 +02:00
Juha
d28b530b59 LazControls: Restore fFilter variable for FilterEdit controls. Issue #40257. 2023-05-16 02:28:16 +03:00
Ondrej Pokorny
11a35ff5e6 restore FilterLowercase property 2023-01-10 12:22:35 +01:00
Juha
5a269b8bc4 Streamline code for FilterEdits and their example project. 2023-01-05 13:18:28 +02:00
Juha
4c822bb36e LCL, LazControls: Remove fFilter variable from FilterEdits. Instead use Text property always. 2023-01-05 11:19:04 +02:00
Juha
5f4aa96422 LazControls, FilterEdits: Improve setting the filter programmatically. Invalidate after properties change. 2022-12-22 20:50:05 +02:00
Bart
39bf8b7aba TDateEdit: remove unused var from Loaded (leftover from a workaround). 2022-09-16 22:47:03 +02:00
Bart
e7e585f13d TDateEdit: avoid OnChange being issued in Loaded. Fixes issue described in https://forum.lazarus.freepascal.org/index.php/topic,60538.msg453740.html#msg453740 2022-09-16 18:32:23 +02:00
Bart
0fbba1a726 TDateEdit: adjust Date if necessary when setting MinDate/MaxDate. 2022-08-03 00:15:46 +02:00
Bart
6cd311dd36 TCalendar and TDateEdit: improve IsLimited function. Now it only returns true if MaxDate actually is at least one day > MinDate (it would return True if MaxDate-MinDate was larger than 0.1 msec) 2022-08-03 00:00:24 +02:00
Bart
d0843ab78b TDateEdit: redefine NullDate, since it was actually impossible to select tha actual date 1899-12-30 in the control. Also check dates agains MinDateTime and MaxDateTime. 2022-08-02 23:32:41 +02:00
Bart
37fa159874 TDateEdit: use 0.1 msec as epsilon value when comparing TDateTime values. 2022-08-02 22:57:09 +02:00
Bart
8077cae407 TDateEdit: implement MinDate and MaxDate. 2022-07-31 17:41:53 +02:00
Bart
455dc87b83 Don't raise an exception when date in the edit is out of bounds. Issue #39825. 2022-07-17 09:57:36 +02:00
Bart
093c5caebb LCL: Make TEditButton.Edit public. Issue #39681. 2022-03-26 10:47:01 +01:00
bart
48bcee6f50 EditButton: publish OnContextPopup. Patch by Reinhard Kalinke. Issue #0037832.
git-svn-id: trunk@63935 -
2020-09-28 20:03:35 +00:00
wp
0ba97f3388 LCL/EditBtn: Fix detection of incorrect center date string element by ParseDate(). https://forum.lazarus.freepascal.org/index.php/topic,51008.msg373806/
git-svn-id: trunk@63728 -
2020-08-13 08:20:57 +00:00
dmitry
8bcb4c3d6f lcl: moving RegisterPropertyToSkip from unit initialization to WSRegisterClass methods
git-svn-id: trunk@62581 -
2020-01-23 15:28:39 +00:00
juha
cd487bb192 LazControls: Improve the filter controls. Issue #34057, patch from Ondrej.
git-svn-id: trunk@59555 -
2018-11-16 11:06:02 +00:00
juha
d6624128a1 LazControls: Improve and optimize the filter controls. Issue #34057, patch from AlexeyT.
git-svn-id: trunk@59225 -
2018-10-02 09:47:13 +00:00
juha
deb177f78b LazControls: Add FilterOptions for filter controls. Issue #34057, patch from AlexeyT.
git-svn-id: trunk@58673 -
2018-08-04 21:27:39 +00:00
ondrej
631d86fa86 LCL: execute OnButtonClick after Text/Filter has been applied
git-svn-id: trunk@58338 -
2018-06-19 17:17:32 +00:00
ondrej
6a5a329a91 LCL: editbtn: use LCLGlyphName
git-svn-id: trunk@57767 -
2018-05-02 07:29:27 +00:00
ondrej
2f9cdb4f2d LCL: move+rename Buttons.LCLBtnGlyphs to ImgList.LCLGlyphs
git-svn-id: trunk@57761 -
2018-05-01 13:53:54 +00:00
ondrej
801f6efb1b LCL, components: TCustomEditButton: enable image list support, use LCLBtnGlyphs.
git-svn-id: trunk@57722 -
2018-04-26 09:59:30 +00:00
ondrej
41299ef7d0 LCL: revert r56162, r56031, r55890 #9ac706fc7a (TabStop handling)
git-svn-id: trunk@56344 -
2017-11-10 08:19:00 +00:00
juha
efb8df15a1 LCL: Make procedure RunDialog public in TFileNameEdit, TDirectoryEdit and CalcEdit. Helps with shortcut keys.
git-svn-id: trunk@56242 -
2017-10-29 22:28:51 +00:00
michl
9ac706fc7a LCL: TCustomEditButton: Fixed TDateEdit.SelectNext. Issue #32335
git-svn-id: trunk@55890 -
2017-09-20 20:46:27 +00:00
ondrej
c5473412de lcl: add removed properties to skipped list
git-svn-id: trunk@55715 -
2017-08-20 11:29:58 +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
juha
6dbb82d795 LCL: Disconnect OnIdle handler of FilterEdit when the control is destroyed. Issue #31893.
git-svn-id: trunk@55058 -
2017-05-23 07:46:23 +00:00
juha
4676d39ba2 LCL: Call inherited from TCustomControlFilterEdit.ButtonClick. Issue #31828.
git-svn-id: trunk@54962 -
2017-05-18 07:21:15 +00:00
ondrej
2d7967420e lcl: groupededit: fix TabStop mechanism. Issue #31811
git-svn-id: trunk@54926 -
2017-05-14 13:14:59 +00:00
ondrej
aa9e36d48e LCL: editbtn: fix regression after r54191 #0da26ddcc1 (filter wasn't applied).
git-svn-id: trunk@54204 -
2017-02-19 21:04:44 +00:00
ondrej
b5e203e374 LCL: editbtn: deprecate/remove UseFormActivate
git-svn-id: trunk@54192 -
2017-02-19 13:27:04 +00:00
bart
fb917eb8cd EditBtn: publish property Contsraints of TCustomControlFilterEdit. Issue #0031345.
git-svn-id: trunk@54087 -
2017-02-04 13:06:46 +00:00
bart
8ede8a7f5f EditBtn: publish property Contstraints for TFilenameEdit, TDirectoryEdit and TCalcEdit. Issue #0031327.
git-svn-id: trunk@54073 -
2017-02-02 12:09:47 +00:00
bart
a5ccd76c24 TTimeEdit: publish properties ButtonCaption, ButtonCursor and ButtonHint. Issue #0031338.
git-svn-id: trunk@54072 -
2017-02-02 12:00:34 +00:00
bart
8ce29506c5 TDateEdit: Don't change empty Text when toggling DirectInput in designer. Part of Issue #0030425.
git-svn-id: trunk@54070 -
2017-02-02 11:33:18 +00:00